Lines Matching refs:regs64
73 TEST_F(RegsTest, regs64) { in TEST_F() argument
74 RegsImplFake<uint64_t> regs64(30); in TEST_F() local
75 ASSERT_EQ(30U, regs64.total_regs()); in TEST_F()
77 uint64_t* raw = reinterpret_cast<uint64_t*>(regs64.RawData()); in TEST_F()
81 regs64.set_pc(0xf123456780102030UL); in TEST_F()
82 regs64.set_sp(0xa123456780a0b0c0UL); in TEST_F()
85 ASSERT_EQ(0xf123456780000000U + i, regs64[i]) << "Failed reading register " << i; in TEST_F()
88 ASSERT_EQ(0xf123456780102030UL, regs64.pc()); in TEST_F()
89 ASSERT_EQ(0xa123456780a0b0c0UL, regs64.sp()); in TEST_F()
91 regs64[8] = 10; in TEST_F()
92 ASSERT_EQ(10U, regs64[8]); in TEST_F()