Searched refs:sraw (Results 1 - 4 of 4) sorted by relevance
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ui/ |
H A D | sraw.S | 4 # sraw.S 7 # Test sraw instruction. 20 TEST_RR_OP( 2, sraw, 0xffffffff80000000, 0xffffffff80000000, 0 ); 21 TEST_RR_OP( 3, sraw, 0xffffffffc0000000, 0xffffffff80000000, 1 ); 22 TEST_RR_OP( 4, sraw, 0xffffffffff000000, 0xffffffff80000000, 7 ); 23 TEST_RR_OP( 5, sraw, 0xfffffffffffe0000, 0xffffffff80000000, 14 ); 24 TEST_RR_OP( 6, sraw, 0xffffffffffffffff, 0xffffffff80000001, 31 ); 26 TEST_RR_OP( 7, sraw, 0x000000007fffffff, 0x000000007fffffff, 0 ); 27 TEST_RR_OP( 8, sraw, 0x000000003fffffff, 0x000000007fffffff, 1 ); 28 TEST_RR_OP( 9, sraw, [all...] |
/gem5/tests/test-progs/insttest/src/riscv/ |
H A D | rv64i.cpp | 424 expect<int64_t>(255, []{return I::sraw(65280, 8);}, "sraw, general"); 425 expect<int64_t>(0, []{return I::sraw(255, 8);}, "sraw, erase"); 427 []{return I::sraw(numeric_limits<int32_t>::min(), 31);}, 428 "sraw, negative"); 429 expect<int64_t>(1, []{return I::sraw(0xFFFFFFFF40000000LL, 30);}, 430 "sraw, truncate");
|
H A D | rv64i.h | 433 sraw(int64_t rs1, int64_t rs2) function in namespace:I 436 ROP("sraw", rd, rs1, rs2);
|
/gem5/tests/test-progs/asmtest/src/riscv/env/ |
H A D | encoding.h | 1016 DECLARE_INSN(sraw, MATCH_SRAW, MASK_SRAW)
|
Completed in 16 milliseconds