Home
last modified time | relevance | path

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

12345678

/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/llvm-project/llvm/test/Object/Inputs/
Dtapi-v4.tbd3 targets: [ i386-ios-simulator, x86_64-ios-simulator ]
5 - target: i386-ios-simulator
7 - target: x86_64-ios-simulator
12 - targets: [ i386-ios-simulator, x86_64-ios-simulator ]
15 - targets: [ i386-ios-simulator ]
18 - targets: [ x86_64-ios-simulator, i386-ios-simulator ]
22 targets: [ i386-ios-simulator, x86_64-ios-simulator ]
24 - target: i386-ios-simulator
26 - target: x86_64-ios-simulator
31 - targets: [ i386-ios-simulator, x86_64-ios-simulator ]
[all …]
/external/vixl/examples/aarch64/
Dswap4.cc56 Simulator simulator(&decoder); in main() local
65 simulator.WriteXRegister(0, 0x1111111111111111); in main()
66 simulator.WriteXRegister(1, 0x2222222222222222); in main()
67 simulator.WriteXRegister(2, 0x3333333333333333); in main()
68 simulator.WriteXRegister(3, 0x4444444444444444); in main()
76 simulator.ReadXRegister(0), simulator.ReadXRegister(1), in main()
77 simulator.ReadXRegister(2), simulator.ReadXRegister(3)); in main()
80 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&swap4)); in main()
88 simulator.ReadXRegister(0), simulator.ReadXRegister(1), in main()
89 simulator.ReadXRegister(2), simulator.ReadXRegister(3)); in main()
Dcheck-bounds.cc64 void run_function(Simulator* simulator, in run_function() argument
69 simulator->WriteXRegister(0, value); in run_function()
70 simulator->WriteXRegister(1, low); in run_function()
71 simulator->WriteXRegister(2, high); in run_function()
73 simulator->RunFrom(function); in run_function()
76 simulator->ReadXRegister(0) ? "is" : "is not", in run_function()
80 simulator->ResetState(); in run_function()
86 Simulator simulator(&decoder); in main() local
96 run_function(&simulator, function, 546, 50, 1000); in main()
97 run_function(&simulator, function, 62, 100, 200); in main()
[all …]
Dswap-int32.cc70 Simulator simulator(&decoder); in main() local
79 simulator.WriteWRegister(0, 0x11111111); in main()
80 simulator.WriteWRegister(1, 0x22222222); in main()
86 simulator.ReadWRegister(0), simulator.ReadWRegister(1)); in main()
89 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&swap_int32)); in main()
95 simulator.ReadWRegister(0), simulator.ReadWRegister(1)); in main()
Dadd4-double.cc61 Simulator simulator(&decoder); in main() local
74 simulator.WriteXRegister(0, a); in main()
75 simulator.WriteDRegister(0, b); in main()
76 simulator.WriteXRegister(1, c); in main()
77 simulator.WriteDRegister(1, d); in main()
78 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add4_double)); in main()
81 a, b, c, d, simulator.ReadDRegister(0)); in main()
Dadd3-double.cc53 Simulator simulator(&decoder); in main() local
65 simulator.WriteDRegister(0, a); in main()
66 simulator.WriteDRegister(1, b); in main()
67 simulator.WriteDRegister(2, c); in main()
68 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add3_double)); in main()
69 printf("%f + %f + %f = %f\n", a, b, c, simulator.ReadDRegister(0)); in main()
Dliteral.cc39 Simulator simulator(&decoder); in LiteralExample() local
73 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&start)); in LiteralExample()
74 printf("111 + 222 = %" PRId64 "\n", simulator.ReadXRegister(0)); in LiteralExample()
81 simulator.RunFrom(reinterpret_cast<Instruction*>(code)); in LiteralExample()
85 simulator.ReadXRegister(0)); in LiteralExample()
87 return simulator.ReadXRegister(0); in LiteralExample()
Dcrc-checksums.cc85 Simulator simulator(&decoder); in RunExample() local
86 simulator.WriteXRegister(0, msg_addr); in RunExample()
87 simulator.WriteXRegister(1, msg_size); in RunExample()
88 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&func)); in RunExample()
89 printf("crc32(\"%s\")=0x%x\n", msg, simulator.ReadWRegister(0)); in RunExample()
Dsum-array.cc68 Simulator simulator(&decoder); in main() local
79 simulator.WriteXRegister(0, data_addr); in main()
80 simulator.WriteXRegister(1, ARRAY_SIZE(data)); in main()
81 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&sum_array)); in main()
87 printf("%d = %d\n", data[i], simulator.ReadWRegister(0)); in main()
Dsve-strlen.cc89 Simulator simulator(&decoder); in main() local
103 simulator.ResetState(); in main()
104 simulator.WriteXRegister(0, reinterpret_cast<uintptr_t>(example_input)); in main()
105 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&sve_strlen)); in main()
109 simulator.ReadXRegister(0)); in main()
Dsimulated-runtime-calls.cc106 Simulator simulator(&decoder); in main() local
110 simulator.WriteWRegister(0, input_a); in main()
111 simulator.WriteWRegister(1, input_b); in main()
112 simulator.RunFrom(start); in main()
113 printf("The final result is %d\n", simulator.ReadWRegister(0)); in main()
Dgetting-started.cc50 Simulator simulator(&decoder); in main() local
57 simulator.WriteXRegister(0, 0x8899aabbccddeeff); in main()
58 simulator.RunFrom(masm.GetLabelAddress<Instruction *>(&demo_function)); in main()
59 printf("x0 = %" PRIx64 "\n", simulator.ReadXRegister(0)); in main()
Dabs.cc52 Simulator simulator(&decoder); in main() local
62 simulator.WriteXRegister(0, input_value); in main()
63 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&abs)); in main()
66 simulator.ReadXRegister(0)); in main()
Dfactorial.cc62 Simulator simulator(&decoder); in main() local
72 simulator.WriteXRegister(0, input_val); in main()
73 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&factorial)); in main()
76 simulator.ReadXRegister(0)); in main()
Dfactorial-rec.cc64 Simulator simulator(&decoder); in main() local
74 simulator.WriteXRegister(0, input_val); in main()
75 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&factorial_rec)); in main()
78 simulator.ReadXRegister(0)); in main()
Dnon-const-visitor.cc67 Simulator simulator(&simulator_decoder); in RunNonConstVisitorTestGeneratedCode() local
71 simulator.WriteXRegister(0, a); in RunNonConstVisitorTestGeneratedCode()
72 simulator.WriteXRegister(1, b); in RunNonConstVisitorTestGeneratedCode()
73 simulator.RunFrom(start_instr); in RunNonConstVisitorTestGeneratedCode()
74 int64_t res = simulator.ReadXRegister(0); in RunNonConstVisitorTestGeneratedCode()
Dneon-matrix-multiply.cc104 Simulator simulator(&decoder); in main() local
161 simulator.ResetState(); in main()
162 simulator.WriteXRegister(0, reinterpret_cast<uintptr_t>(output)); in main()
163 simulator.WriteXRegister(1, reinterpret_cast<uintptr_t>(mat1)); in main()
164 simulator.WriteXRegister(2, reinterpret_cast<uintptr_t>(mat2)); in main()
165 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&neon_matrix_multiply)); in main()
Dadd2-vectors.cc135 Simulator simulator(&decoder); in main() local
136 simulator.WriteXRegister(0, vec_a_addr); in main()
137 simulator.WriteXRegister(1, vec_b_addr); in main()
138 simulator.WriteXRegister(2, ARRAY_SIZE(vec_a)); in main()
144 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add2_vectors)); in main()
/external/libbackup/src/com/google/android/libraries/backup/shadow/
DBackupAgentHelperShadow.java136 final BackupHelperSimulator simulator; in addHelper() local
138 simulator = SharedPreferencesBackupHelperSimulator.fromHelper( in addHelper()
141 simulator = FileBackupHelperSimulator.fromHelper(keyPrefix, (FileBackupHelper) helper); in addHelper()
145 simulator = new UnsupportedBackupHelperSimulator(keyPrefix, 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/test/aarch64/
Dtest-assembler-aarch64.h96 simulator.SetCPUFeatures(CPUFeatures(__VA_ARGS__))
106 Simulator simulator(&simulator_decoder, stdout, __VA_ARGS__); \
107 simulator.SetColouredTrace(Test::coloured_trace()); \
108 simulator.SetCPUFeatures(CPUFeatures::None())
124 Simulator simulator(&simulator_decoder); \
125 simulator.SetColouredTrace(Test::coloured_trace()); \
126 simulator.SetCPUFeatures(CPUFeatures::None())
130 simulator.ResetState(); \
168 simulator.GetCPUFeatures()->With(CPUFeatures::kNEON); \
169 CPUFeatures const& seen = simulator.GetSeenFeatures(); \
[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/llvm-project/lldb/test/API/tools/lldb-server/
DTestAppleSimulatorOSType.py27 for simulator in sim_devices:
28 if isinstance(simulator,dict):
29 runtime = simulator['name']
30 devices = simulator['devices']
32 runtime = simulator
33 devices = sim_devices[simulator]
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dsimulation_unittest.py72 simulator = simulation.ApmModuleSimulator(
88 simulator.Run(
109 simulator = simulation.ApmModuleSimulator(
134 simulator.Run(
147 simulator = simulation.ApmModuleSimulator(
169 simulator.Run(
178 simulator.Run(
/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 …]

12345678