Home
last modified time | relevance | path

Searched refs:simulator (Results 1 – 25 of 118) sorted by relevance

12345

/external/vixl/test/aarch64/examples/
Dtest-examples.cc104 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); \
[all …]
/external/vixl/examples/aarch64/
Dswap4.cc53 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()
Dcheck-bounds.cc61 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 …]
Dswap-int32.cc67 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()
Dadd4-double.cc58 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()
Dadd3-double.cc50 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()
Dliteral.cc36 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()
Dsum-array.cc65 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()
Dcrc-checksums.cc82 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()
Dsimulated-runtime-calls.cc103 Simulator simulator(&decoder); in main() local
107 simulator.WriteWRegister(0, input_a); in main()
108 simulator.WriteWRegister(1, input_b); in main()
109 simulator.RunFrom(start); in main()
110 printf("The final result is %d\n", simulator.ReadWRegister(0)); in main()
Dgetting-started.cc47 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()
Dabs.cc49 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()
Dnon-const-visitor.cc47 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()
Dneon-matrix-multiply.cc101 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()
Dfactorial.cc59 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()
Dfactorial-rec.cc61 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()
Dadd2-vectors.cc132 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/
Dtick-sample.cc92 Simulator* simulator = isolate->thread_local_top()->simulator_; in FillRegisters() local
94 if (simulator == nullptr) return false; in FillRegisters()
96 if (!simulator->has_bad_pc()) { in FillRegisters()
97 state->pc = reinterpret_cast<void*>(simulator->get_pc()); in FillRegisters()
99 state->sp = reinterpret_cast<void*>(simulator->get_register(Simulator::sp)); in FillRegisters()
100 state->fp = reinterpret_cast<void*>(simulator->get_register(Simulator::r11)); in FillRegisters()
102 state->pc = reinterpret_cast<void*>(simulator->pc()); in FillRegisters()
103 state->sp = reinterpret_cast<void*>(simulator->sp()); in FillRegisters()
104 state->fp = reinterpret_cast<void*>(simulator->fp()); in FillRegisters()
106 if (!simulator->has_bad_pc()) { in FillRegisters()
[all …]
/external/pdfium/testing/
Dfake_file_access.cpp19 explicit FileAccessWrapper(FakeFileAccess* simulator) in FileAccessWrapper() argument
20 : simulator_(simulator) { in FileAccessWrapper()
40 explicit FileAvailImpl(FakeFileAccess* simulator) : simulator_(simulator) { in FileAvailImpl() argument
58 explicit DownloadHintsImpl(FakeFileAccess* simulator) in DownloadHintsImpl() argument
59 : simulator_(simulator) { in DownloadHintsImpl()
/external/libbackup/src/com/google/android/libraries/backup/shadow/
DBackupAgentHelperShadow.java137 final BackupHelperSimulator simulator; in addHelper() local
139 simulator = SharedPreferencesBackupHelperSimulator.fromHelper( in addHelper()
142 simulator = FileBackupHelperSimulator.fromHelper(keyPrefix, (FileBackupHelper) helper); in addHelper()
147 helperSimulators.put(keyPrefix, simulator); in addHelper()
157 BackupHelperSimulator simulator = simulatorEntry.getValue(); in onBackup() local
158 backupDataMapBuilder.put(keyPrefix, simulator.backup(realHelper)); in onBackup()
177 BackupHelperSimulator simulator = simulatorEntry.getValue(); in onRestore() local
178 simulator.restore(realHelper, dataToRestore); in onRestore()
/external/vixl/doc/aarch64/
Dgetting-started-aarch64.md8 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/v8/src/arm/
Dsimulator-arm.cc709 Simulator* sim = isolate_data->simulator(); in current()
3945 void Widen(Simulator* simulator, int Vd, int Vm) { in Widen() argument
3949 simulator->get_neon_register<T, kDoubleSize>(Vm, src); in Widen()
3953 simulator->set_neon_register(Vd, dst); in Widen()
3957 void Abs(Simulator* simulator, int Vd, int Vm) { in Abs() argument
3960 simulator->get_neon_register<T, SIZE>(Vm, src); in Abs()
3964 simulator->set_neon_register<T, SIZE>(Vd, src); in Abs()
3968 void Neg(Simulator* simulator, int Vd, int Vm) { in Neg() argument
3971 simulator->get_neon_register<T, SIZE>(Vm, src); in Neg()
3975 simulator->set_neon_register<T, SIZE>(Vd, src); in Neg()
[all …]
/external/autotest/client/deps/lansim/
Dcontrol6 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/epid-sdk/
DCHANGELOG.md18 the IBM TPM simulator due to a defect in version 532 of the
19 simulator.
64 the IBM TPM simulator due to a defect in version 532 of the
65 simulator.
111 SDK with the IBM TPM simulator due to a defect in version
112 532 of the simulator.
/external/arm-neon-tests/
DREADME6 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.

12345