Searched refs:srai (Results 1 - 5 of 5) sorted by relevance
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ui/ |
H A D | srai.S | 4 # srai.S 7 # Test srai instruction. 20 TEST_IMM_OP( 2, srai, 0xffffff8000000000, 0xffffff8000000000, 0 ); 21 TEST_IMM_OP( 3, srai, 0xffffffffc0000000, 0xffffffff80000000, 1 ); 22 TEST_IMM_OP( 4, srai, 0xffffffffff000000, 0xffffffff80000000, 7 ); 23 TEST_IMM_OP( 5, srai, 0xfffffffffffe0000, 0xffffffff80000000, 14 ); 24 TEST_IMM_OP( 6, srai, 0xffffffffffffffff, 0xffffffff80000001, 31 ); 26 TEST_IMM_OP( 7, srai, 0x000000007fffffff, 0x000000007fffffff, 0 ); 27 TEST_IMM_OP( 8, srai, 0x000000003fffffff, 0x000000007fffffff, 1 ); 28 TEST_IMM_OP( 9, srai, [all...] |
/gem5/tests/test-progs/insttest/src/riscv/ |
H A D | rv64i.cpp | 167 expect<int64_t>(255, []{return I::srai(65280, 8);}, "srai, general"); 168 expect<int64_t>(0, []{return I::srai(255, 8);}, "srai, erase"); 170 []{return I::srai(numeric_limits<int64_t>::min(), 63);}, 171 "srai, negative");
|
H A D | rv64i.h | 281 srai(int64_t rs1, const uint16_t imm) function in namespace:I 284 IOP("srai", rd, rs1, imm);
|
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64uc/ |
H A D | rvc.S | 53 RVC_TEST_CASE (11, s0, 0xffffffffffffffe1, c.lui s0, 0xfffe1; c.srai s0, 12)
|
/gem5/tests/test-progs/asmtest/src/riscv/env/ |
H A D | encoding.h | 995 DECLARE_INSN(srai, MATCH_SRAI, MASK_SRAI)
|
Completed in 20 milliseconds