aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/rem.h
diff options
context:
space:
mode:
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));