Added more +/- NaN/inf tests for fcvt.{w/l/wu/lu}.{s/d}
[riscv-tests.git] / isa / rv64si / coreid.S
1 # See LICENSE for license details.
2
3 #*****************************************************************************
4 # coreid.S
5 #-----------------------------------------------------------------------------
6 #
7 # Test coreid.
8 #
9
10 #include "riscv_test.h"
11 #include "test_macros.h"
12
13 RVTEST_RV64S
14 RVTEST_CODE_BEGIN
15
16 #-------------------------------------------------------------
17 # Basic tests
18 #-------------------------------------------------------------
19
20 TEST_CASE( 2, x1, 0x0, li x1, 1; csrr x1, hartid );
21
22 TEST_PASSFAIL
23
24 RVTEST_CODE_END
25
26 .data
27 RVTEST_DATA_BEGIN
28
29 TEST_DATA
30
31 RVTEST_DATA_END