/external/vixl/test/aarch64/examples/ |
D | test-examples.cc | 114 saved_xregs[0] = simulator.ReadXRegister(19); \ 115 saved_xregs[1] = simulator.ReadXRegister(20); \ 116 saved_xregs[2] = simulator.ReadXRegister(21); \ 117 saved_xregs[3] = simulator.ReadXRegister(22); \ 118 saved_xregs[4] = simulator.ReadXRegister(23); \ 119 saved_xregs[5] = simulator.ReadXRegister(24); \ 120 saved_xregs[6] = simulator.ReadXRegister(25); \ 121 saved_xregs[7] = simulator.ReadXRegister(26); \ 122 saved_xregs[8] = simulator.ReadXRegister(27); \ 123 saved_xregs[9] = simulator.ReadXRegister(28); \ [all …]
|
/external/vixl/examples/aarch64/ |
D | swap4.cc | 53 Simulator simulator(&decoder); in main() local 62 simulator.WriteXRegister(0, 0x1111111111111111); in main() 63 simulator.WriteXRegister(1, 0x2222222222222222); in main() 64 simulator.WriteXRegister(2, 0x3333333333333333); in main() 65 simulator.WriteXRegister(3, 0x4444444444444444); in main() 73 simulator.ReadXRegister(0), simulator.ReadXRegister(1), in main() 74 simulator.ReadXRegister(2), simulator.ReadXRegister(3)); in main() 77 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&swap4)); in main() 85 simulator.ReadXRegister(0), simulator.ReadXRegister(1), in main() 86 simulator.ReadXRegister(2), simulator.ReadXRegister(3)); in main()
|
D | check-bounds.cc | 61 void run_function(Simulator* simulator, in run_function() argument 66 simulator->WriteXRegister(0, value); in run_function() 67 simulator->WriteXRegister(1, low); in run_function() 68 simulator->WriteXRegister(2, high); in run_function() 70 simulator->RunFrom(function); in run_function() 73 simulator->ReadXRegister(0) ? "is" : "is not", in run_function() 77 simulator->ResetState(); in run_function() 83 Simulator simulator(&decoder); in main() local 93 run_function(&simulator, function, 546, 50, 1000); in main() 94 run_function(&simulator, function, 62, 100, 200); in main() [all …]
|
D | swap-int32.cc | 67 Simulator simulator(&decoder); in main() local 76 simulator.WriteWRegister(0, 0x11111111); in main() 77 simulator.WriteWRegister(1, 0x22222222); in main() 83 simulator.ReadWRegister(0), simulator.ReadWRegister(1)); in main() 86 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&swap_int32)); in main() 92 simulator.ReadWRegister(0), simulator.ReadWRegister(1)); in main()
|
D | add4-double.cc | 58 Simulator simulator(&decoder); in main() local 71 simulator.WriteXRegister(0, a); in main() 72 simulator.WriteDRegister(0, b); in main() 73 simulator.WriteXRegister(1, c); in main() 74 simulator.WriteDRegister(1, d); in main() 75 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add4_double)); in main() 78 a, b, c, d, simulator.ReadDRegister(0)); in main()
|
D | add3-double.cc | 50 Simulator simulator(&decoder); in main() local 62 simulator.WriteDRegister(0, a); in main() 63 simulator.WriteDRegister(1, b); in main() 64 simulator.WriteDRegister(2, c); in main() 65 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add3_double)); in main() 66 printf("%f + %f + %f = %f\n", a, b, c, simulator.ReadDRegister(0)); in main()
|
D | literal.cc | 36 Simulator simulator(&decoder); in LiteralExample() local 70 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&start)); in LiteralExample() 71 printf("111 + 222 = %" PRId64 "\n", simulator.ReadXRegister(0)); in LiteralExample() 78 simulator.RunFrom(reinterpret_cast<Instruction*>(code)); in LiteralExample() 82 simulator.ReadXRegister(0)); in LiteralExample() 84 return simulator.ReadXRegister(0); in LiteralExample()
|
D | sum-array.cc | 65 Simulator simulator(&decoder); in main() local 76 simulator.WriteXRegister(0, data_addr); in main() 77 simulator.WriteXRegister(1, ARRAY_SIZE(data)); in main() 78 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&sum_array)); in main() 84 printf("%d = %d\n", data[i], simulator.ReadWRegister(0)); in main()
|
D | crc-checksums.cc | 82 Simulator simulator(&decoder); in runExample() local 83 simulator.WriteXRegister(0, msg_addr); in runExample() 84 simulator.WriteXRegister(1, msg_size); in runExample() 85 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&func)); in runExample() 86 printf("crc32(\"%s\")=0x%x\n", msg, simulator.ReadWRegister(0)); in runExample()
|
D | simulated-runtime-calls.cc | 99 Simulator simulator(&decoder); in main() local 103 simulator.WriteWRegister(0, input_a); in main() 104 simulator.WriteWRegister(1, input_b); in main() 105 simulator.RunFrom(start); in main() 106 printf("The final result is %d\n", simulator.ReadWRegister(0)); in main()
|
D | getting-started.cc | 47 Simulator simulator(&decoder); in main() local 54 simulator.WriteXRegister(0, 0x8899aabbccddeeff); in main() 55 simulator.RunFrom(masm.GetLabelAddress<Instruction *>(&demo_function)); in main() 56 printf("x0 = %" PRIx64 "\n", simulator.ReadXRegister(0)); in main()
|
D | abs.cc | 49 Simulator simulator(&decoder); in main() local 59 simulator.WriteXRegister(0, input_value); in main() 60 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&abs)); in main() 63 simulator.ReadXRegister(0)); in main()
|
D | non-const-visitor.cc | 47 Simulator simulator(&simulator_decoder); in RunNonConstVisitorTestGeneratedCode() local 51 simulator.WriteXRegister(0, a); in RunNonConstVisitorTestGeneratedCode() 52 simulator.WriteXRegister(1, b); in RunNonConstVisitorTestGeneratedCode() 53 simulator.RunFrom(start_instr); in RunNonConstVisitorTestGeneratedCode() 54 int64_t res = simulator.ReadXRegister(0); in RunNonConstVisitorTestGeneratedCode()
|
D | neon-matrix-multiply.cc | 101 Simulator simulator(&decoder); in main() local 158 simulator.ResetState(); in main() 159 simulator.WriteXRegister(0, reinterpret_cast<uintptr_t>(output)); in main() 160 simulator.WriteXRegister(1, reinterpret_cast<uintptr_t>(mat1)); in main() 161 simulator.WriteXRegister(2, reinterpret_cast<uintptr_t>(mat2)); in main() 162 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&neon_matrix_multiply)); in main()
|
D | factorial.cc | 59 Simulator simulator(&decoder); in main() local 69 simulator.WriteXRegister(0, input_val); in main() 70 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&factorial)); in main() 73 simulator.ReadXRegister(0)); in main()
|
D | factorial-rec.cc | 61 Simulator simulator(&decoder); in main() local 71 simulator.WriteXRegister(0, input_val); in main() 72 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&factorial_rec)); in main() 75 simulator.ReadXRegister(0)); in main()
|
D | add2-vectors.cc | 132 Simulator simulator(&decoder); in main() local 133 simulator.WriteXRegister(0, vecA_addr); in main() 134 simulator.WriteXRegister(1, vecB_addr); in main() 135 simulator.WriteXRegister(2, ARRAY_SIZE(vecA)); in main() 141 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add2_vectors)); in main()
|
/external/v8/src/profiler/ |
D | tick-sample.cc | 93 Simulator* simulator = isolate->thread_local_top()->simulator_; in FillRegisters() local 95 if (simulator == NULL) return false; in FillRegisters() 97 if (!simulator->has_bad_pc()) { in FillRegisters() 98 state->pc = reinterpret_cast<Address>(simulator->get_pc()); in FillRegisters() 100 state->sp = reinterpret_cast<Address>(simulator->get_register(Simulator::sp)); in FillRegisters() 102 reinterpret_cast<Address>(simulator->get_register(Simulator::r11)); in FillRegisters() 104 state->pc = reinterpret_cast<Address>(simulator->pc()); in FillRegisters() 105 state->sp = reinterpret_cast<Address>(simulator->sp()); in FillRegisters() 106 state->fp = reinterpret_cast<Address>(simulator->fp()); in FillRegisters() 108 if (!simulator->has_bad_pc()) { in FillRegisters() [all …]
|
/external/vixl/doc/aarch64/ |
D | getting-started-aarch64.md | 8 generated code in the VIXL simulator. 14 Creating the macro assembler and the simulator. 18 the simulator are included. You should have the following lines at the beginning 21 #include "aarch64/simulator-aarch64.h" 38 We also need to set up the simulator. The simulator uses a Decoder object to 40 decoder and bind our simulator to this decoder. 43 Simulator simulator(&decoder); 176 Running the code in the simulator. 179 Now we are going to see how to use the simulator to run the code that we 182 Use the simulator to assign a value to the registers. Our previous code example [all …]
|
/external/valgrind/callgrind/ |
D | sim.c | 148 } simulator; variable 1068 IrRes = (*simulator.I1_Read)(CLG_(bb_base) + ii->instr_offset, ii->instr_size); in log_1I0D() 1093 Ir1Res = (*simulator.I1_Read)(CLG_(bb_base) + ii1->instr_offset, ii1->instr_size); in log_2I0D() 1095 Ir2Res = (*simulator.I1_Read)(CLG_(bb_base) + ii2->instr_offset, ii2->instr_size); in log_2I0D() 1126 Ir1Res = (*simulator.I1_Read)(CLG_(bb_base) + ii1->instr_offset, ii1->instr_size); in log_3I0D() 1128 Ir2Res = (*simulator.I1_Read)(CLG_(bb_base) + ii2->instr_offset, ii2->instr_size); in log_3I0D() 1130 Ir3Res = (*simulator.I1_Read)(CLG_(bb_base) + ii3->instr_offset, ii3->instr_size); in log_3I0D() 1165 IrRes = (*simulator.I1_Read)(CLG_(bb_base) + ii->instr_offset, ii->instr_size); in log_1I1Dr() 1166 DrRes = (*simulator.D1_Read)(data_addr, data_size); in log_1I1Dr() 1201 DrRes = (*simulator.D1_Read)(data_addr, data_size); in log_0I1Dr() [all …]
|
/external/autotest/client/deps/lansim/ |
D | control | 6 lansim is a LAN simulator that runs over a TAP network interface and 23 This simulator is useful on situations where you can't fake a network 26 with multicast you can write those services using this simulator but 49 A very simple example of the usage of this simulator is the 55 simu = simulator.SimulatorThread(tap)
|
/external/arm-neon-tests/ |
D | README | 6 executing it on an actual target or a simulator. 8 It can be used to validate the simulator against an actual HW target, 13 on an ARM simulator and with QEMU.
|
/external/vixl/ |
D | README.md | 22 3. A **simulator** that can simulate any instruction emitted by the A64 23 assembler. The simulator allows generated code to be run on another 73 The VIXL simulator supports only those instructions that the VIXL assembler can 77 The VIXL simulator was developed to run on 64-bit amd64 platforms. Whilst it 101 All exclusive-access instructions are supported, but the simulator cannot 113 The simulator tries to be strict, and implements the following restrictions that
|
/external/autotest/client/deps/lansim/src/py/ |
D | simulator_unittest.py | 13 from lansim import simulator 90 self._sim = simulator.Simulator(self._tap) 150 self._sim = simulator.SimulatorThread(self._tap, timeout=20)
|
/external/autotest/client/site_tests/p2p_ShareFiles/ |
D | p2p_ShareFiles.py | 53 from lansim import simulator, host 62 self._sim = simulator.Simulator(self._p2p.tap)
|