From c4e3da6be335f85482c1cbd85b6c507c48652bc8 Mon Sep 17 00:00:00 2001 From: Yunsup Lee Date: Thu, 16 May 2013 00:50:19 -0700 Subject: add failing multiply test --- isa/rv64ui/mul.S | 3 +++ 1 file changed, 3 insertions(+) (limited to 'isa') 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 ); -- cgit v1.1