diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-05-01 22:20:35 +0200 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2019-05-01 22:20:35 +0200 |
commit | 57ddece94f4c4b44e8e3127c6f5f72aaa5962250 (patch) | |
tree | 6592b105566e8b294bf409dc6d08cee4b5c5ce00 /mppa_k1c/Asmvliw.v | |
parent | cbe3f094b32077ce8d8569556d4ebc6341b09dd9 (diff) | |
download | compcert-kvx-57ddece94f4c4b44e8e3127c6f5f72aaa5962250.tar.gz compcert-kvx-57ddece94f4c4b44e8e3127c6f5f72aaa5962250.zip |
does not yet work, arity mismatch
Diffstat (limited to 'mppa_k1c/Asmvliw.v')
-rw-r--r-- | mppa_k1c/Asmvliw.v | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/mppa_k1c/Asmvliw.v b/mppa_k1c/Asmvliw.v index 629d1449..e460727c 100644 --- a/mppa_k1c/Asmvliw.v +++ b/mppa_k1c/Asmvliw.v @@ -35,6 +35,7 @@ Require Stacklayout. Require Import Conventions. Require Import Errors. Require Import Sorting.Permutation. +Require Import Chunks. (** * Abstract syntax *) @@ -1119,21 +1120,6 @@ Definition parexec_load_reg (chunk: memory_chunk) (rsr rsw: regset) (mr mw: mem) | Some v => Next (rsw#d <- v) mw end. -Definition zscale_of_chunk (chunk: memory_chunk) := - match chunk with - | Mint8signed => 0 - | Mint8unsigned => 0 - | Mint16signed => 1 - | Mint16unsigned => 1 - | Mint32 => 2 - | Mint64 => 3 - | Mfloat32 => 2 - | Mfloat64 => 3 - | Many32 => 2 - | Many64 => 3 - end. -Definition scale_of_chunk chunk := Vint (Int.repr (zscale_of_chunk chunk)). - Definition parexec_load_regxs (chunk: memory_chunk) (rsr rsw: regset) (mr mw: mem) (d a ro: ireg) := match Mem.loadv chunk mr (Val.addl (rsr a) (Val.shll (rsr ro) (scale_of_chunk chunk))) with | None => Stuck |