aboutsummaryrefslogtreecommitdiffstats
path: root/riscV/NeedOp.v
diff options
context:
space:
mode:
authorLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-04-06 23:37:22 +0200
committerLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2021-04-06 23:37:22 +0200
commitdd4767e17235adb5de922626ed1fea15f4eb9e3b (patch)
tree37843b101add33cf6ea56e055ddae2df96c6dc67 /riscV/NeedOp.v
parentdf9aab806ae8d20393b56e4175e210ed6cff1ef1 (diff)
downloadcompcert-kvx-dd4767e17235adb5de922626ed1fea15f4eb9e3b.tar.gz
compcert-kvx-dd4767e17235adb5de922626ed1fea15f4eb9e3b.zip
Important commit on expansions' mini CSE, and a draft for addptrofs
Diffstat (limited to 'riscV/NeedOp.v')
-rw-r--r--riscV/NeedOp.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/riscV/NeedOp.v b/riscV/NeedOp.v
index 715951a0..d0ca5bb2 100644
--- a/riscV/NeedOp.v
+++ b/riscV/NeedOp.v
@@ -87,7 +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)
+ | OEmoveSP => nil
| OEseqw _ => op2 (default nv)
| OEsnew _ => op2 (default nv)
| OEsequw _ => op2 (default nv)
@@ -98,7 +98,7 @@ Definition needs_of_operation (op: operation) (nv: nval): list nval :=
| OEsltiuw _ => op1 (default nv)
| OExoriw _ => op1 (bitwise nv)
| OEluiw _ => op1 (default nv)
- | OEaddiw _ => op1 (default nv)
+ | OEaddiw _ _ => op1 (default nv)
| OEandiw n => op1 (andimm nv n)
| OEoriw n => op1 (orimm nv n)
| OEseql _ => op2 (default nv)
@@ -111,7 +111,7 @@ Definition needs_of_operation (op: operation) (nv: nval): list nval :=
| OEsltiul _ => op1 (default nv)
| OExoril _ => op1 (default nv)
| OEluil _ => op1 (default nv)
- | OEaddil _ => op1 (default nv)
+ | OEaddil _ _ => op1 (default nv)
| OEandil _ => op1 (default nv)
| OEoril _ => op1 (default nv)
| OEloadli _ => op1 (default nv)