From: Yunsup Lee Date: Thu, 16 May 2013 07:50:19 +0000 (-0700) Subject: add failing multiply test X-Git-Url: https://git.libre-soc.org/?p=riscv-tests.git;a=commitdiff_plain;h=c4e3da6be335f85482c1cbd85b6c507c48652bc8 add failing multiply test --- 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 );