aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/rem.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-06-12 20:27:10 -0700
committerAndrew Waterman <waterman@s141.Millennium.Berkeley.EDU>2011-06-12 20:27:10 -0700
commit740f981cfd55604d46598144dccac26dd53f643c (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /riscv/insns/rem.h
parentc0ebf99d6bb3ef3cf252703b50b849bcbaa2ec59 (diff)
downloadspike-740f981cfd55604d46598144dccac26dd53f643c.zip
spike-740f981cfd55604d46598144dccac26dd53f643c.tar.gz
spike-740f981cfd55604d46598144dccac26dd53f643c.tar.bz2
[sim] renamed to riscv-isa-run
Diffstat (limited to 'riscv/insns/rem.h')
-rw-r--r--riscv/insns/rem.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/riscv/insns/rem.h b/riscv/insns/rem.h
deleted file mode 100644
index ac82a56..0000000
--- a/riscv/insns/rem.h
+++ /dev/null
@@ -1,6 +0,0 @@
-if(RS2 == 0)
- RD = RS1;
-else if(sreg_t(RS1) == INT64_MIN && sreg_t(RS2) == -1)
- RD = 0;
-else
- RD = sext_xprlen(sext_xprlen(RS1) % sext_xprlen(RS2));