aboutsummaryrefslogtreecommitdiffstats
path: root/riscV/RTLpathSE_simplify.v
diff options
context:
space:
mode:
Diffstat (limited to 'riscV/RTLpathSE_simplify.v')
-rw-r--r--riscV/RTLpathSE_simplify.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscV/RTLpathSE_simplify.v b/riscV/RTLpathSE_simplify.v
index 6066c7f5..08c1a6a0 100644
--- a/riscV/RTLpathSE_simplify.v
+++ b/riscV/RTLpathSE_simplify.v
@@ -50,14 +50,14 @@ Definition load_hilo64 (hi lo: int64) :=
Definition loadimm32 (n: int) :=
match make_immed32 n with
| Imm32_single imm =>
- fSop (OEaddiwr0 imm) fSnil
+ fSop (OEimmR0 (OPimmADD imm)) fSnil
| Imm32_pair hi lo => load_hilo32 hi lo
end.
Definition loadimm64 (n: int64) :=
match make_immed64 n with
| Imm64_single imm =>
- fSop (OEaddilr0 imm) fSnil
+ fSop (OEimmR0 (OPimmADDL imm)) fSnil
| Imm64_pair hi lo => load_hilo64 hi lo
| Imm64_large imm => fSop (OEloadli imm) fSnil
end.