• Home
  • Raw
  • Download

Lines Matching refs:regs

99   RegsImplFake<TypeParam> regs(10);  in TYPED_TEST_P()  local
102 regs.set_pc(0x100); in TYPED_TEST_P()
103 regs.set_sp(0x2000); in TYPED_TEST_P()
104 regs[5] = 0x20; in TYPED_TEST_P()
105 regs[9] = 0x3000; in TYPED_TEST_P()
108 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
115 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
118 regs.set_pc(0x100); in TYPED_TEST_P()
119 regs.set_sp(0x2000); in TYPED_TEST_P()
120 regs[5] = 0x20; in TYPED_TEST_P()
121 regs[9] = 0x3000; in TYPED_TEST_P()
125 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
131 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
134 regs.set_pc(0x100); in TYPED_TEST_P()
135 regs.set_sp(0x2000); in TYPED_TEST_P()
136 regs[5] = 0x20; in TYPED_TEST_P()
137 regs[9] = 0x3000; in TYPED_TEST_P()
143 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
149 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
152 regs.set_pc(0x100); in TYPED_TEST_P()
153 regs.set_sp(0x2000); in TYPED_TEST_P()
154 regs[5] = 0x20; in TYPED_TEST_P()
155 regs[9] = 0x3000; in TYPED_TEST_P()
159 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
161 EXPECT_EQ(0x80000000U, regs.sp()); in TYPED_TEST_P()
162 EXPECT_EQ(0x20U, regs.pc()); in TYPED_TEST_P()
167 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
170 regs.set_pc(0x100); in TYPED_TEST_P()
171 regs.set_sp(0x2000); in TYPED_TEST_P()
172 regs[5] = 0x20; in TYPED_TEST_P()
173 regs[9] = 0x3000; in TYPED_TEST_P()
177 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
183 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
187 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
193 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
197 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
203 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
208 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
214 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
220 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
226 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
232 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
235 regs.set_pc(0x100); in TYPED_TEST_P()
236 regs.set_sp(0x2000); in TYPED_TEST_P()
237 regs[5] = 0x20; in TYPED_TEST_P()
238 regs[9] = 0x3000; in TYPED_TEST_P()
241 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
243 EXPECT_EQ(0x20U, regs.pc()); in TYPED_TEST_P()
244 EXPECT_EQ(0x3000U, regs.sp()); in TYPED_TEST_P()
249 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
252 regs.set_pc(0x100); in TYPED_TEST_P()
253 regs.set_sp(0x2000); in TYPED_TEST_P()
254 regs[5] = 0x20; in TYPED_TEST_P()
255 regs[6] = 0x4000; in TYPED_TEST_P()
256 regs[9] = 0x3000; in TYPED_TEST_P()
259 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
261 EXPECT_EQ(0x20U, regs.pc()); in TYPED_TEST_P()
262 EXPECT_EQ(0x4000U, regs.sp()); in TYPED_TEST_P()
267 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
270 regs.set_pc(0x100); in TYPED_TEST_P()
271 regs.set_sp(0x2000); in TYPED_TEST_P()
272 regs[1] = 0x100; in TYPED_TEST_P()
273 regs[3] = 0x300; in TYPED_TEST_P()
274 regs[8] = 0x10; in TYPED_TEST_P()
279 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
280 EXPECT_EQ(0x301U, regs[1]); in TYPED_TEST_P()
281 EXPECT_EQ(0x300U, regs[3]); in TYPED_TEST_P()
282 EXPECT_EQ(0x10U, regs[8]); in TYPED_TEST_P()
283 EXPECT_EQ(0x102U, regs[9]); in TYPED_TEST_P()
288 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
291 regs.set_pc(0x100); in TYPED_TEST_P()
292 regs.set_sp(0x2000); in TYPED_TEST_P()
293 regs[0] = 0x10; in TYPED_TEST_P()
294 regs[1] = 0x20; in TYPED_TEST_P()
295 regs[2] = 0x30; in TYPED_TEST_P()
296 regs[3] = 0x40; in TYPED_TEST_P()
297 regs[4] = 0x50; in TYPED_TEST_P()
298 regs[5] = 0x60; in TYPED_TEST_P()
299 regs[8] = 0x20; in TYPED_TEST_P()
307 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
308 EXPECT_EQ(0x10U, regs[0]); in TYPED_TEST_P()
309 EXPECT_EQ(0x11U, regs[1]); in TYPED_TEST_P()
310 EXPECT_EQ(0x22U, regs[2]); in TYPED_TEST_P()
311 EXPECT_EQ(0x33U, regs[3]); in TYPED_TEST_P()
312 EXPECT_EQ(0x44U, regs[4]); in TYPED_TEST_P()
313 EXPECT_EQ(0x55U, regs[5]); in TYPED_TEST_P()
314 EXPECT_EQ(0x20U, regs[8]); in TYPED_TEST_P()
319 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
322 regs.set_pc(0x100); in TYPED_TEST_P()
323 regs.set_sp(0x2000); in TYPED_TEST_P()
324 regs[0] = 0x10; in TYPED_TEST_P()
325 regs[8] = 0x20; in TYPED_TEST_P()
330 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
331 EXPECT_EQ(0x10U, regs[0]); in TYPED_TEST_P()
332 EXPECT_EQ(0x20U, regs[8]); in TYPED_TEST_P()
333 EXPECT_EQ(0x11U, regs.dex_pc()); in TYPED_TEST_P()
338 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
341 regs.set_pc(0x100); in TYPED_TEST_P()
342 regs.set_sp(0x2000); in TYPED_TEST_P()
343 regs[8] = 0x10; in TYPED_TEST_P()
347 ASSERT_FALSE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
353 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
362 regs.set_pc(0x100); in TYPED_TEST_P()
363 regs.set_sp(0x2000); in TYPED_TEST_P()
364 regs[3] = 0x234; in TYPED_TEST_P()
365 regs[5] = 0x10; in TYPED_TEST_P()
366 regs[8] = 0x2100; in TYPED_TEST_P()
372 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
374 EXPECT_EQ(0x10U, regs.pc()); in TYPED_TEST_P()
375 EXPECT_EQ(0x2100U, regs.sp()); in TYPED_TEST_P()
376 EXPECT_EQ(0x2200U, regs[1]); in TYPED_TEST_P()
377 EXPECT_EQ(0x234U, regs[3]); in TYPED_TEST_P()
379 EXPECT_EQ(0x12345678abcdef00ULL, regs[2]); in TYPED_TEST_P()
381 EXPECT_EQ(0x12345678U, regs[2]); in TYPED_TEST_P()
387 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
390 regs.set_pc(0x100); in TYPED_TEST_P()
391 regs.set_sp(0x2000); in TYPED_TEST_P()
392 regs[5] = 0x20; in TYPED_TEST_P()
393 regs[8] = 0x10; in TYPED_TEST_P()
397 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
399 EXPECT_EQ(0U, regs.pc()); in TYPED_TEST_P()
400 EXPECT_EQ(0x10U, regs.sp()); in TYPED_TEST_P()
405 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
408 regs.set_pc(0x100); in TYPED_TEST_P()
409 regs.set_sp(0x2000); in TYPED_TEST_P()
410 regs[5] = 0; in TYPED_TEST_P()
411 regs[8] = 0x10; in TYPED_TEST_P()
414 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
416 EXPECT_EQ(0U, regs.pc()); in TYPED_TEST_P()
417 EXPECT_EQ(0x10U, regs.sp()); in TYPED_TEST_P()
422 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
425 regs.set_pc(0x100); in TYPED_TEST_P()
426 regs.set_sp(0x2000); in TYPED_TEST_P()
427 regs[5] = 0x20; in TYPED_TEST_P()
428 regs[8] = 0x10; in TYPED_TEST_P()
431 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
433 EXPECT_EQ(0x20U, regs.pc()); in TYPED_TEST_P()
434 EXPECT_EQ(0x10U, regs.sp()); in TYPED_TEST_P()
439 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
442 regs.set_pc(0x100); in TYPED_TEST_P()
443 regs.set_sp(0x2000); in TYPED_TEST_P()
444 regs[5] = 0x20; in TYPED_TEST_P()
445 regs[8] = 0x10; in TYPED_TEST_P()
450 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
452 EXPECT_EQ(0x20U, regs.pc()); in TYPED_TEST_P()
453 EXPECT_EQ(0x10U, regs.sp()); in TYPED_TEST_P()
458 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
461 regs.set_pc(0x100); in TYPED_TEST_P()
462 regs.set_sp(0x2000); in TYPED_TEST_P()
463 regs[8] = 0x3000; in TYPED_TEST_P()
470 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
472 EXPECT_EQ(0x3000U, regs.sp()); in TYPED_TEST_P()
473 EXPECT_EQ(0x12345U, regs.pc()); in TYPED_TEST_P()
478 RegsImplFake<TypeParam> regs(10); in TYPED_TEST_P() local
481 regs.set_pc(0x100); in TYPED_TEST_P()
482 regs.set_sp(0x2000); in TYPED_TEST_P()
483 regs[8] = 0x3000; in TYPED_TEST_P()
488 ASSERT_TRUE(this->section_->Eval(&cie, &this->memory_, loc_regs, &regs, &finished)); in TYPED_TEST_P()
490 EXPECT_EQ(0x3000U, regs.sp()); in TYPED_TEST_P()
491 EXPECT_EQ(0x80000000U, regs.pc()); in TYPED_TEST_P()