diff options
author | Léo Gourdin <leo.gourdin@univ-grenoble-alpes.fr> | 2021-02-10 12:19:17 +0100 |
---|---|---|
committer | Léo Gourdin <leo.gourdin@univ-grenoble-alpes.fr> | 2021-02-10 12:19:17 +0100 |
commit | c40646559461154e5190a4c887f9992f35eedb9f (patch) | |
tree | 649dd8137c768fa456f98b961174ddd3ea630c01 /riscV/Asmgen.v | |
parent | 84cb4939653e5355c2039ed62a140aa392e21162 (diff) | |
download | compcert-kvx-c40646559461154e5190a4c887f9992f35eedb9f.tar.gz compcert-kvx-c40646559461154e5190a4c887f9992f35eedb9f.zip |
[Admitted checker] Adding cbranch expansions (without scratch) to the checker
Diffstat (limited to 'riscV/Asmgen.v')
-rw-r--r-- | riscV/Asmgen.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscV/Asmgen.v b/riscV/Asmgen.v index 7f63bfee..d826f139 100644 --- a/riscV/Asmgen.v +++ b/riscV/Asmgen.v @@ -222,7 +222,7 @@ Definition apply_bin_r0_r0r0 (optR0: option bool) (sem: ireg0 -> ireg0 -> instru Definition transl_cbranch (cond: condition) (args: list mreg) (lbl: label) (k: code) := match cond, args with -| Ccomp c, a1 :: a2 :: nil => + | Ccomp c, a1 :: a2 :: nil => do r1 <- ireg_of a1; do r2 <- ireg_of a2; OK (transl_cbranch_int32s c r1 r2 lbl :: k) | Ccompu c, a1 :: a2 :: nil => |