aboutsummaryrefslogtreecommitdiff
path: root/isa
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2013-05-16 00:50:19 -0700
committerYunsup Lee <yunsup@cs.berkeley.edu>2013-05-16 00:50:19 -0700
commitc4e3da6be335f85482c1cbd85b6c507c48652bc8 (patch)
tree678bcd03ac13b7efad6649c3cd6a7efb04f5cf31 /isa
parentacfd33c09183a71b4a84a038bd4aa0e401202aaa (diff)
downloadriscv-tests-c4e3da6be335f85482c1cbd85b6c507c48652bc8.zip
riscv-tests-c4e3da6be335f85482c1cbd85b6c507c48652bc8.tar.gz
riscv-tests-c4e3da6be335f85482c1cbd85b6c507c48652bc8.tar.bz2
add failing multiply test
Diffstat (limited to 'isa')
-rw-r--r--isa/rv64ui/mul.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/isa/rv64ui/mul.S b/isa/rv64ui/mul.S
index 79fd332..e224b99 100644
--- a/isa/rv64ui/mul.S
+++ b/isa/rv64ui/mul.S
@@ -15,6 +15,9 @@ RVTEST_CODE_BEGIN
# Arithmetic tests
#-------------------------------------------------------------
+ TEST_RR_OP(32, mul, 0x0000000000001200, 0x0000000000007e00, 0x6db6db6db6db6db7 );
+ TEST_RR_OP(33, mul, 0x0000000000001240, 0x0000000000007fc0, 0x6db6db6db6db6db7 );
+
TEST_RR_OP( 2, mul, 0x00000000, 0x00000000, 0x00000000 );
TEST_RR_OP( 3, mul, 0x00000001, 0x00000001, 0x00000001 );
TEST_RR_OP( 4, mul, 0x00000015, 0x00000003, 0x00000007 );