avoid non-standard predefined macros
[riscv-tests.git] / isa / rv64ui / sll.S
index 31037d16b06637afe4e7a863366825008ead759e..257aa9d92556642c0858b88a4c78ced35dd21629 100644 (file)
@@ -42,7 +42,7 @@ RVTEST_CODE_BEGIN
   TEST_RR_OP( 19, sll, 0x0000001090909080, 0x0000000021212121, 0xffffffffffffffc7 );
   TEST_RR_OP( 20, sll, 0x0000084848484000, 0x0000000021212121, 0xffffffffffffffce );
 
-#ifdef __riscv64
+#if __riscv_xlen == 64
   TEST_RR_OP( 21, sll, 0x8000000000000000, 0x0000000021212121, 0xffffffffffffffff );
   TEST_RR_OP( 50, sll, 0x8000000000000000, 0x0000000000000001, 63 );
   TEST_RR_OP( 51, sll, 0xffffff8000000000, 0xffffffffffffffff, 39 );