Home
last modified time | relevance | path

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

123

/external/vixl/test/examples/
Dtest-examples.cc120 saved_xregs[0] = simulator.xreg(19); \
121 saved_xregs[1] = simulator.xreg(20); \
122 saved_xregs[2] = simulator.xreg(21); \
123 saved_xregs[3] = simulator.xreg(22); \
124 saved_xregs[4] = simulator.xreg(23); \
125 saved_xregs[5] = simulator.xreg(24); \
126 saved_xregs[6] = simulator.xreg(25); \
127 saved_xregs[7] = simulator.xreg(26); \
128 saved_xregs[8] = simulator.xreg(27); \
129 saved_xregs[9] = simulator.xreg(28); \
[all …]
/external/vixl/examples/
Dswap4.cc56 Simulator simulator(&decoder); in main() local
65 simulator.set_xreg(0, 0x1111111111111111); in main()
66 simulator.set_xreg(1, 0x2222222222222222); in main()
67 simulator.set_xreg(2, 0x3333333333333333); in main()
68 simulator.set_xreg(3, 0x4444444444444444); in main()
75 simulator.xreg(0), simulator.xreg(1), in main()
76 simulator.xreg(2), simulator.xreg(3)); in main()
78 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&swap4)); in main()
85 simulator.xreg(0), simulator.xreg(1), in main()
86 simulator.xreg(2), simulator.xreg(3)); in main()
Dcheck-bounds.cc62 void run_function(Simulator *simulator, Instruction * function, in run_function() argument
64 simulator->set_xreg(0, value); in run_function()
65 simulator->set_xreg(1, low); in run_function()
66 simulator->set_xreg(2, high); in run_function()
68 simulator->RunFrom(function); in run_function()
70 simulator->xreg(0) ? "is" : "is not", in run_function()
73 simulator->ResetState(); in run_function()
81 Simulator simulator(&decoder); in main() local
91 run_function(&simulator, function, 546, 50, 1000); in main()
92 run_function(&simulator, function, 62, 100, 200); in main()
[all …]
Dswap-int32.cc70 Simulator simulator(&decoder); in main() local
79 simulator.set_wreg(0, 0x11111111); in main()
80 simulator.set_wreg(1, 0x22222222); in main()
85 simulator.wreg(0), simulator.wreg(1)); in main()
87 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&swap_int32)); in main()
92 simulator.wreg(0), simulator.wreg(1)); in main()
Dadd4-double.cc61 Simulator simulator(&decoder); in main() local
74 simulator.set_xreg(0, a); in main()
75 simulator.set_dreg(0, b); in main()
76 simulator.set_xreg(1, c); in main()
77 simulator.set_dreg(1, d); in main()
78 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add4_double)); in main()
79 printf("%ld + %f + %ld + %f = %f\n", a, b, c, d, simulator.dreg(0)); in main()
Dadd3-double.cc53 Simulator simulator(&decoder); in main() local
65 simulator.set_dreg(0, a); in main()
66 simulator.set_dreg(1, b); in main()
67 simulator.set_dreg(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.dreg(0)); in main()
Dcrc-checksums.cc85 Simulator simulator(&decoder); in runExample() local
86 simulator.set_xreg(0, msg_addr); in runExample()
87 simulator.set_xreg(1, msg_size); in runExample()
88 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&func)); in runExample()
89 printf("crc32(\"%s\")=0x%x\n", msg, simulator.wreg(0)); in runExample()
Dsum-array.cc68 Simulator simulator(&decoder); in main() local
79 simulator.set_xreg(0, data_addr); in main()
80 simulator.set_xreg(1, ARRAY_SIZE(data)); in main()
81 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&sum_array)); in main()
87 printf("%d = %d\n", data[i], simulator.wreg(0)); in main()
Dgetting-started.cc49 Simulator simulator(&decoder); in main() local
56 simulator.set_xreg(0, 0x8899aabbccddeeff); in main()
57 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&demo_function)); in main()
58 printf("x0 = %" PRIx64 "\n", simulator.xreg(0)); in main()
Dabs.cc52 Simulator simulator(&decoder); in main() local
62 simulator.set_xreg(0, input_value); in main()
63 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&abs)); in main()
64 printf("abs(%ld) = %ld\n", input_value, simulator.xreg(0)); in main()
Dnon-const-visitor.cc48 Simulator simulator(&simulator_decoder); in RunNonConstVisitorTestGeneratedCode() local
52 simulator.set_xreg(0, a); in RunNonConstVisitorTestGeneratedCode()
53 simulator.set_xreg(1, b); in RunNonConstVisitorTestGeneratedCode()
54 simulator.RunFrom(start_instr); in RunNonConstVisitorTestGeneratedCode()
55 int64_t res = simulator.xreg(0); in RunNonConstVisitorTestGeneratedCode()
Dfactorial.cc62 Simulator simulator(&decoder); in main() local
72 simulator.set_xreg(0, input_val); in main()
73 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&factorial)); in main()
74 printf("factorial(%ld) = %ld\n", input_val, simulator.xreg(0)); in main()
Dneon-matrix-multiply.cc104 Simulator simulator(&decoder); in main() local
137 simulator.ResetState(); in main()
138 simulator.set_xreg(0, reinterpret_cast<uintptr_t>(output)); in main()
139 simulator.set_xreg(1, reinterpret_cast<uintptr_t>(mat1)); in main()
140 simulator.set_xreg(2, reinterpret_cast<uintptr_t>(mat2)); in main()
141 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&neon_matrix_multiply)); in main()
Dfactorial-rec.cc64 Simulator simulator(&decoder); in main() local
74 simulator.set_xreg(0, input_val); in main()
75 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&factorial_rec)); in main()
76 printf("factorial(%ld) = %ld\n", input_val, simulator.xreg(0)); in main()
Dadd2-vectors.cc135 Simulator simulator(&decoder); in main() local
136 simulator.set_xreg(0, vecA_addr); in main()
137 simulator.set_xreg(1, vecB_addr); in main()
138 simulator.set_xreg(2, ARRAY_SIZE(vecA)); in main()
144 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add2_vectors)); in main()
/external/vixl/doc/
Dgetting-started.md8 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 "a64/simulator-a64.h"
45 We also need to set-up the simulator. The simulator uses a Decoder object to
47 decoder and bind our simulator to this decoder.
50 Simulator simulator(&decoder);
183 Running the code in the simulator.
186 Now we are going to see how to use the simulator to run the code that we
189 Use the simulator to assign a value to the registers. Our previous code example
[all …]
/external/vixl/tools/
Dpresubmit.py107 (mode, std, args.simulator)
129 (mode, std, args.simulator, args.jobs)
172 def __init__(self, compiler, mode, std, simulator, debugger = False, verbose = False): argument
181 if simulator:
186 if simulator:
225 def __init__(self, compiler, mode, std, simulator): argument
234 if simulator:
278 if args.simulator == 'on':
/external/valgrind/callgrind/
Dsim.c148 } 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/v8/
DSConstruct156 'simulator:none': {
165 'simulator:none': {
174 'simulator:none': {
179 'simulator:arm': {
191 'simulator:none': {
216 'simulator:mips': {
350 # used by the arm simulator.
524 'simulator:none': {
530 'simulator:none': {
539 'simulator:none': {
[all …]
/external/vixl/
DREADME.md21 3. A **simulator** that can simulate any instruction emitted by the assembler.
22 The simulator allows generated code to be run on another architecture
63 The VIXL simulator supports only those instructions that the VIXL assembler can
67 The VIXL simulator was developed to run on 64-bit amd64 platforms. Whilst it
86 All exclusive-access instructions are supported, but the simulator cannot
98 The simulator tries to be strict, and implements the following restrictions that
156 <benchmark name> simulator=off`. This will produce binaries called
158 the same way as the simulator versions.
DAndroid.mk69 src/vixl/a64/simulator-a64.cc \
80 test/test-simulator-a64.cc \
DSConstruct61 src/vixl/a64/simulator-a64.cc
104 test/test-simulator-a64.cc
150 args.Add(EnumVariable('simulator', 'build for the simulator', sim_default,
207 if env['simulator'] == 'on':
/external/clang/test/Analysis/
DNewDelete-intersections.mm3 #include "Inputs/system-header-simulator-cxx.h"
4 #include "Inputs/system-header-simulator-objc.h"
/external/vixl/doc/topics/
Dextending-the-disassembler.md58 (in [src/a64/simulator-a64.cc](/src/a64/simulator-a64.cc)) to see how to extract
/external/v8/test/webkit/
Dwebkit.status48 ['simulator', {
50 }], # 'simulator'

123