Searched refs:sraiw (Results 1 - 4 of 4) sorted by relevance

/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ui/
H A Dsraiw.S4 # sraiw.S
7 # Test sraiw instruction.
20 TEST_IMM_OP( 2, sraiw, 0xffffffff80000000, 0xffffffff80000000, 0 );
21 TEST_IMM_OP( 3, sraiw, 0xffffffffc0000000, 0xffffffff80000000, 1 );
22 TEST_IMM_OP( 4, sraiw, 0xffffffffff000000, 0xffffffff80000000, 7 );
23 TEST_IMM_OP( 5, sraiw, 0xfffffffffffe0000, 0xffffffff80000000, 14 );
24 TEST_IMM_OP( 6, sraiw, 0xffffffffffffffff, 0xffffffff80000001, 31 );
26 TEST_IMM_OP( 7, sraiw, 0x000000007fffffff, 0x000000007fffffff, 0 );
27 TEST_IMM_OP( 8, sraiw, 0x000000003fffffff, 0x000000007fffffff, 1 );
28 TEST_IMM_OP( 9, sraiw,
[all...]
/gem5/tests/test-progs/insttest/src/riscv/
H A Drv64i.cpp384 expect<int64_t>(255, []{return I::sraiw(65280, 8);}, "sraiw, general");
385 expect<int64_t>(0, []{return I::sraiw(255, 8);}, "sraiw, erase");
387 []{return I::sraiw(numeric_limits<int32_t>::min(), 31);},
388 "sraiw, negative");
389 expect<int64_t>(-1, []{return I::sraiw(0x0000000180000000LL, 31);},
390 "sraiw, truncate");
H A Drv64i.h393 sraiw(int64_t rs1, const uint16_t imm) function in namespace:I
396 IOP("sraiw", rd, rs1, imm);
/gem5/tests/test-progs/asmtest/src/riscv/env/
H A Dencoding.h1011 DECLARE_INSN(sraiw, MATCH_SRAIW, MASK_SRAIW)

Completed in 30 milliseconds