aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/subw.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-01-18 17:51:52 -0800
committerAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-01-18 17:51:52 -0800
commit21ce327f5d60d6805b5d9328b68f7ad2c261a859 (patch)
tree22ee7ac3dfb4d00662ff6f0d1f057481efc67772 /riscv/insns/subw.h
parent5ddec097b858aafe783eb3aff551d00e9c8c8a37 (diff)
downloadspike-21ce327f5d60d6805b5d9328b68f7ad2c261a859.zip
spike-21ce327f5d60d6805b5d9328b68f7ad2c261a859.tar.gz
spike-21ce327f5d60d6805b5d9328b68f7ad2c261a859.tar.bz2
[opcodes, sim, xcc] made *w insns illegal in RV32
now generic variants behave differently in RV32 and RV64.
Diffstat (limited to 'riscv/insns/subw.h')
-rw-r--r--riscv/insns/subw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/insns/subw.h b/riscv/insns/subw.h
index 958cc5d..28db334 100644
--- a/riscv/insns/subw.h
+++ b/riscv/insns/subw.h
@@ -1,2 +1,3 @@
+require_xpr64;
RD = sext32(RS1 - RS2);