Searched refs:lui (Results 1 - 5 of 5) sorted by relevance

/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ui/
H A Dlui.S4 # lui.S
7 # Test lui instruction.
20 TEST_CASE( 2, x1, 0x0000000000000000, lui x1, 0x00000 );
21 TEST_CASE( 3, x1, 0xfffffffffffff800, lui x1, 0xfffff;sra x1,x1,1);
22 TEST_CASE( 4, x1, 0x00000000000007ff, lui x1, 0x7ffff;sra x1,x1,20);
23 TEST_CASE( 5, x1, 0xfffffffffffff800, lui x1, 0x80000;sra x1,x1,20);
25 TEST_CASE( 6, x0, 0, lui x0, 0x80000 );
/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64uc/
H A Drvc.S53 RVC_TEST_CASE (11, s0, 0xffffffffffffffe1, c.lui s0, 0xfffe1; c.srai s0, 12)
55 RVC_TEST_CASE (12, s0, 0x000fffffffffffe1, c.lui s0, 0xfffe1; c.srli s0, 12)
57 RVC_TEST_CASE (12, s0, 0x000fffe1, c.lui s0, 0xfffe1; c.srli s0, 12)
/gem5/tests/test-progs/insttest/src/riscv/
H A Drv64i.cpp52 expect<int64_t>(4096, []{return I::lui(1);}, "lui");
54 []{return I::lui(0x80000);}, "lui, negative");
H A Drv64i.h42 lui(const uint32_t imm) function in namespace:I
45 asm volatile("lui %0,%1" : "=r" (rd) : "i" (imm));
/gem5/tests/test-progs/asmtest/src/riscv/env/
H A Dencoding.h987 DECLARE_INSN(lui, MATCH_LUI, MASK_LUI)

Completed in 10 milliseconds