• Home
  • Raw
  • Download

Lines Matching refs:simulator

104     saved_xregs[0] = simulator.ReadXRegister(19);                             \
105 saved_xregs[1] = simulator.ReadXRegister(20); \
106 saved_xregs[2] = simulator.ReadXRegister(21); \
107 saved_xregs[3] = simulator.ReadXRegister(22); \
108 saved_xregs[4] = simulator.ReadXRegister(23); \
109 saved_xregs[5] = simulator.ReadXRegister(24); \
110 saved_xregs[6] = simulator.ReadXRegister(25); \
111 saved_xregs[7] = simulator.ReadXRegister(26); \
112 saved_xregs[8] = simulator.ReadXRegister(27); \
113 saved_xregs[9] = simulator.ReadXRegister(28); \
114 saved_xregs[10] = simulator.ReadXRegister(29); \
115 saved_xregs[11] = simulator.ReadXRegister(30); \
116 saved_xregs[12] = simulator.ReadXRegister(31); \
119 saved_dregs[0] = simulator.ReadDRegisterBits(8); \
120 saved_dregs[1] = simulator.ReadDRegisterBits(9); \
121 saved_dregs[2] = simulator.ReadDRegisterBits(10); \
122 saved_dregs[3] = simulator.ReadDRegisterBits(11); \
123 saved_dregs[4] = simulator.ReadDRegisterBits(12); \
124 saved_dregs[5] = simulator.ReadDRegisterBits(13); \
125 saved_dregs[6] = simulator.ReadDRegisterBits(14); \
126 saved_dregs[7] = simulator.ReadDRegisterBits(15); \
128 simulator.WriteXRegister(test_function_reg.GetCode(), \
130 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&test)); \
133 VIXL_CHECK(saved_xregs[0] == simulator.ReadXRegister(19)); \
134 VIXL_CHECK(saved_xregs[1] == simulator.ReadXRegister(20)); \
135 VIXL_CHECK(saved_xregs[2] == simulator.ReadXRegister(21)); \
136 VIXL_CHECK(saved_xregs[3] == simulator.ReadXRegister(22)); \
137 VIXL_CHECK(saved_xregs[4] == simulator.ReadXRegister(23)); \
138 VIXL_CHECK(saved_xregs[5] == simulator.ReadXRegister(24)); \
139 VIXL_CHECK(saved_xregs[6] == simulator.ReadXRegister(25)); \
140 VIXL_CHECK(saved_xregs[7] == simulator.ReadXRegister(26)); \
141 VIXL_CHECK(saved_xregs[8] == simulator.ReadXRegister(27)); \
142 VIXL_CHECK(saved_xregs[9] == simulator.ReadXRegister(28)); \
143 VIXL_CHECK(saved_xregs[10] == simulator.ReadXRegister(29)); \
144 VIXL_CHECK(saved_xregs[11] == simulator.ReadXRegister(30)); \
145 VIXL_CHECK(saved_xregs[12] == simulator.ReadXRegister(31)); \
147 VIXL_CHECK(saved_dregs[0] == simulator.ReadDRegisterBits(8)); \
148 VIXL_CHECK(saved_dregs[1] == simulator.ReadDRegisterBits(9)); \
149 VIXL_CHECK(saved_dregs[2] == simulator.ReadDRegisterBits(10)); \
150 VIXL_CHECK(saved_dregs[3] == simulator.ReadDRegisterBits(11)); \
151 VIXL_CHECK(saved_dregs[4] == simulator.ReadDRegisterBits(12)); \
152 VIXL_CHECK(saved_dregs[5] == simulator.ReadDRegisterBits(13)); \
153 VIXL_CHECK(saved_dregs[6] == simulator.ReadDRegisterBits(14)); \
154 VIXL_CHECK(saved_dregs[7] == simulator.ReadDRegisterBits(15)); \
161 Simulator simulator(&decoder); \
162 simulator.SetColouredTrace(Test::coloured_trace()); \
190 simulator.ResetState(); \
191 simulator.WriteXRegister(0, N); \
215 simulator.ResetState(); \
216 simulator.WriteXRegister(0, N); \
290 simulator.ResetState(); in TEST()
291 simulator.WriteXRegister(0, reinterpret_cast<uintptr_t>(output)); in TEST()
292 simulator.WriteXRegister(1, reinterpret_cast<uintptr_t>(mat1)); in TEST()
293 simulator.WriteXRegister(2, reinterpret_cast<uintptr_t>(mat2)); in TEST()
330 simulator.ResetState(); in TEST()
331 simulator.WriteXRegister(0, A_addr); in TEST()
332 simulator.WriteXRegister(1, B_addr); in TEST()
333 simulator.WriteXRegister(2, ARRAY_SIZE(A)); in TEST()
344 simulator.ResetState(); \
345 simulator.WriteDRegister(0, A); \
346 simulator.WriteDRegister(1, B); \
347 simulator.WriteDRegister(2, C); \
369 simulator.ResetState(); \
370 simulator.WriteXRegister(0, A); \
371 simulator.WriteDRegister(0, B); \
372 simulator.WriteXRegister(1, C); \
373 simulator.WriteDRegister(1, D); \
396 simulator.ResetState(); \
398 simulator.WriteXRegister(0, addr); \
399 simulator.WriteXRegister(1, ARRAY_SIZE(Array)); \
426 simulator.ResetState(); \
427 simulator.WriteXRegister(0, X); \
459 simulator.WriteXRegister(0, msg_addr); in TEST()
460 simulator.WriteXRegister(1, msg_size); in TEST()
479 simulator.WriteXRegister(0, a); in TEST()
480 simulator.WriteXRegister(1, b); in TEST()
481 simulator.WriteXRegister(2, c); in TEST()
482 simulator.WriteXRegister(3, d); in TEST()
501 simulator.WriteWRegister(0, x); in TEST()
502 simulator.WriteWRegister(1, y); in TEST()
511 simulator.ResetState(); \
512 simulator.WriteXRegister(0, Value); \
513 simulator.WriteXRegister(1, Low); \
514 simulator.WriteXRegister(2, High); \
541 simulator.ResetState(); \
542 simulator.WriteXRegister(0, Value); \
598 simulator.ResetState(); \
599 simulator.WriteWRegister(0, A); \
600 simulator.WriteWRegister(1, B); \
644 simulator.ResetState(); in TEST()
645 simulator.WriteXRegister(0, reinterpret_cast<uintptr_t>(inputs[i])); in TEST()