diff options
author | Léo Gourdin <leo.gourdin@univ-grenoble-alpes.fr> | 2021-03-30 11:25:28 +0200 |
---|---|---|
committer | Léo Gourdin <leo.gourdin@univ-grenoble-alpes.fr> | 2021-03-30 11:25:28 +0200 |
commit | 83b556a101b7ed490acf9e127c5b4b9db40e1019 (patch) | |
tree | 87752eb10d6e3842e1ae5ca141c7147d4933af5e /riscV/NeedOp.v | |
parent | 0d98d7fec937d3a9a2324f1731b041cfbf16dcbe (diff) | |
download | compcert-kvx-83b556a101b7ed490acf9e127c5b4b9db40e1019.tar.gz compcert-kvx-83b556a101b7ed490acf9e127c5b4b9db40e1019.zip |
Now a more general way to perform imm operations
Diffstat (limited to 'riscV/NeedOp.v')
-rw-r--r-- | riscV/NeedOp.v | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/riscV/NeedOp.v b/riscV/NeedOp.v index cfadea37..715951a0 100644 --- a/riscV/NeedOp.v +++ b/riscV/NeedOp.v @@ -87,6 +87,7 @@ Definition needs_of_operation (op: operation) (nv: nval): list nval := | Ointofsingle | Ointuofsingle | Osingleofint | Osingleofintu => op1 (default nv) | Olongofsingle | Olonguofsingle | Osingleoflong | Osingleoflongu => op1 (default nv) | Ocmp c => needs_of_condition c + | OEimmR0 _ => op1 (default nv) | OEseqw _ => op2 (default nv) | OEsnew _ => op2 (default nv) | OEsequw _ => op2 (default nv) @@ -98,7 +99,6 @@ Definition needs_of_operation (op: operation) (nv: nval): list nval := | OExoriw _ => op1 (bitwise nv) | OEluiw _ => op1 (default nv) | OEaddiw _ => op1 (default nv) - | OEaddiwr0 _ => op1 (default nv) | OEandiw n => op1 (andimm nv n) | OEoriw n => op1 (orimm nv n) | OEseql _ => op2 (default nv) @@ -112,7 +112,6 @@ Definition needs_of_operation (op: operation) (nv: nval): list nval := | OExoril _ => op1 (default nv) | OEluil _ => op1 (default nv) | OEaddil _ => op1 (default nv) - | OEaddilr0 _ => op1 (default nv) | OEandil _ => op1 (default nv) | OEoril _ => op1 (default nv) | OEloadli _ => op1 (default nv) |