diff options
author | Cyril SIX <cyril.six@kalray.eu> | 2019-03-01 16:44:07 +0100 |
---|---|---|
committer | Cyril SIX <cyril.six@kalray.eu> | 2019-03-01 16:44:07 +0100 |
commit | d8fafb0add258e47287a2d57454194db8f1dd635 (patch) | |
tree | 8b47f5fddb0b32fef035bbb4fec68d0d40f27f31 /mppa_k1c/Asm.v | |
parent | df32503f46a62b18f92363ac7f81ec0d5b36c64a (diff) | |
download | compcert-kvx-d8fafb0add258e47287a2d57454194db8f1dd635.tar.gz compcert-kvx-d8fafb0add258e47287a2d57454194db8f1dd635.zip |
Implemented float comparisons (no branching yet, and no negation)
Diffstat (limited to 'mppa_k1c/Asm.v')
-rw-r--r-- | mppa_k1c/Asm.v | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mppa_k1c/Asm.v b/mppa_k1c/Asm.v index dcce98d0..49f2d23c 100644 --- a/mppa_k1c/Asm.v +++ b/mppa_k1c/Asm.v @@ -131,6 +131,7 @@ Inductive instruction : Type := (** Arith RRR *)
| Pcompw (it: itest) (rd rs1 rs2: ireg) (**r comparison word *)
| Pcompl (it: itest) (rd rs1 rs2: ireg) (**r comparison long *)
+ | Pfcompw (ft: ftest) (rd rs1 rs2: ireg) (**r comparison float *)
| Paddw (rd rs1 rs2: ireg) (**r add word *)
| Psubw (rd rs1 rs2: ireg) (**r sub word *)
@@ -251,6 +252,7 @@ Definition basic_to_instruction (b: basic) := (* RRR *)
| PArithRRR (Asmblock.Pcompw it) rd rs1 rs2 => Pcompw it rd rs1 rs2
| PArithRRR (Asmblock.Pcompl it) rd rs1 rs2 => Pcompl it rd rs1 rs2
+ | PArithRRR (Asmblock.Pfcompw ft) rd rs1 rs2 => Pfcompw ft rd rs1 rs2
| PArithRRR Asmblock.Paddw rd rs1 rs2 => Paddw rd rs1 rs2
| PArithRRR Asmblock.Psubw rd rs1 rs2 => Psubw rd rs1 rs2
| PArithRRR Asmblock.Pmulw rd rs1 rs2 => Pmulw rd rs1 rs2
|