Add CSRRx/CSRRxI test
[riscv-tests.git] / isa / rv64si / coreid.S
index ed33f117cf49c86bcc62e6b39b094e9d9a79284a..cb2367efe7b8439124504e4d99c2ae83da893b48 100644 (file)
@@ -15,7 +15,7 @@ RVTEST_CODE_BEGIN
   # Basic tests
   #-------------------------------------------------------------
 
-  TEST_CASE( 2, x1, 0x0, csrr x1, hartid );
+  TEST_CASE( 2, x1, 0x0, li x1, 1; csrr x1, hartid );
 
   TEST_PASSFAIL