Searched refs:simulator (Results 1 - 25 of 32) sorted by relevance

12

/external/vixl/examples/
H A Dswap4.cc52 // Create and initialize the assembler and the simulator.
56 Simulator simulator(&decoder);
65 simulator.set_xreg(0, 0x1111111111111111);
66 simulator.set_xreg(1, 0x2222222222222222);
67 simulator.set_xreg(2, 0x3333333333333333);
68 simulator.set_xreg(3, 0x4444444444444444);
75 simulator.xreg(0), simulator.xreg(1),
76 simulator.xreg(2), simulator
[all...]
H A Dcheck-bounds.cc62 void run_function(Simulator *simulator, Instruction * function, argument
64 simulator->set_xreg(0, value);
65 simulator->set_xreg(1, low);
66 simulator->set_xreg(2, high);
68 simulator->RunFrom(function);
70 simulator->xreg(0) ? "is" : "is not",
73 simulator->ResetState();
77 // Create and initialize the assembler and the simulator.
81 Simulator simulator(&decoder);
91 run_function(&simulator, functio
[all...]
H A Dadd3-double.cc49 // Create and initialize the assembler and the simulator.
53 Simulator simulator(&decoder);
65 simulator.set_dreg(0, a);
66 simulator.set_dreg(1, b);
67 simulator.set_dreg(2, c);
68 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add3_double));
69 printf("%f + %f + %f = %f\n", a, b, c, simulator.dreg(0));
74 // Without the simulator there is nothing to test.
H A Dabs.cc48 // Create and initialize the assembler and the simulator.
52 Simulator simulator(&decoder);
62 simulator.set_xreg(0, input_value);
63 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&abs));
64 printf("abs(%ld) = %ld\n", input_value, simulator.xreg(0));
69 // Without the simulator there is nothing to test.
H A Dgetting-started.cc27 #include "vixl/a64/simulator-a64.h"
49 Simulator simulator(&decoder);
56 simulator.set_xreg(0, 0x8899aabbccddeeff);
57 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&demo_function));
58 printf("x0 = %" PRIx64 "\n", simulator.xreg(0));
63 // Without the simulator there is nothing to test.
H A Dswap-int32.cc66 // Create and initialize the assembler and the simulator.
70 Simulator simulator(&decoder);
79 simulator.set_wreg(0, 0x11111111);
80 simulator.set_wreg(1, 0x22222222);
85 simulator.wreg(0), simulator.wreg(1));
87 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&swap_int32));
92 simulator.wreg(0), simulator.wreg(1));
97 // Without the simulator ther
[all...]
H A Dadd4-double.cc57 // Create and initialize the assembler and the simulator.
61 Simulator simulator(&decoder);
74 simulator.set_xreg(0, a);
75 simulator.set_dreg(0, b);
76 simulator.set_xreg(1, c);
77 simulator.set_dreg(1, d);
78 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add4_double));
79 printf("%ld + %f + %ld + %f = %f\n", a, b, c, d, simulator.dreg(0));
84 // Without the simulator there is nothing to test.
H A Dfactorial.cc58 // Create and initialize the assembler and the simulator.
62 Simulator simulator(&decoder);
72 simulator.set_xreg(0, input_val);
73 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&factorial));
74 printf("factorial(%ld) = %ld\n", input_val, simulator.xreg(0));
79 // Without the simulator there is nothing to test.
H A Dcrc-checksums.cc70 // Create and initialize the assembler and the simulator.
81 // Run example function in the simulator.
85 Simulator simulator(&decoder);
86 simulator.set_xreg(0, msg_addr);
87 simulator.set_xreg(1, msg_size);
88 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&func));
89 printf("crc32(\"%s\")=0x%x\n", msg, simulator.wreg(0));
H A Dsum-array.cc64 // Create and initialize the assembler and the simulator.
68 Simulator simulator(&decoder);
79 simulator.set_xreg(0, data_addr);
80 simulator.set_xreg(1, ARRAY_SIZE(data));
81 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&sum_array));
87 printf("%d = %d\n", data[i], simulator.wreg(0));
92 // Without the simulator there is nothing to test.
H A Dfactorial-rec.cc60 // Create and initialize the assembler and the simulator.
64 Simulator simulator(&decoder);
74 simulator.set_xreg(0, input_val);
75 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&factorial_rec));
76 printf("factorial(%ld) = %ld\n", input_val, simulator.xreg(0));
81 // Without the simulator there is nothing to test.
H A Dnon-const-visitor.cc48 Simulator simulator(&simulator_decoder);
52 simulator.set_xreg(0, a);
53 simulator.set_xreg(1, b);
54 simulator.RunFrom(start_instr);
55 int64_t res = simulator.xreg(0);
60 // Without the simulator there is nothing to test.
111 // Without the simulator there is nothing to test.
H A Dadd2-vectors.cc133 // Configure register environment in the simulator.
135 Simulator simulator(&decoder);
136 simulator.set_xreg(0, vecA_addr);
137 simulator.set_xreg(1, vecB_addr);
138 simulator.set_xreg(2, ARRAY_SIZE(vecA));
143 // Run the example function in the simulator.
144 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add2_vectors));
H A Dneon-matrix-multiply.cc100 // Create and initialize the assembler and the simulator.
104 Simulator simulator(&decoder);
137 simulator.ResetState();
138 simulator.set_xreg(0, reinterpret_cast<uintptr_t>(output));
139 simulator.set_xreg(1, reinterpret_cast<uintptr_t>(mat1));
140 simulator.set_xreg(2, reinterpret_cast<uintptr_t>(mat2));
141 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&neon_matrix_multiply));
165 // Without the simulator there is nothing to test.
/external/vixl/test/examples/
H A Dtest-examples.cc29 #include "vixl/a64/simulator-a64.h"
47 // The tests below only work with the simulator.
120 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
[all...]
/external/vixl/tools/
H A Dmake_instruction_doc.pl76 disassembler and simulator. The simulator may not support all floating point
77 operations to the precision required by AArch64 - please check the simulator
H A Dpresubmit.py68 result.add_argument('--simulator', action='store', choices=['on', 'off'],
70 help='Explicitly enable or disable the simulator.')
106 command = 'scons mode=%s std=%s simulator=%s all --clean' % \
107 (mode, std, args.simulator)
128 command = 'scons mode=%s std=%s simulator=%s all -j%u' % \
129 (mode, std, args.simulator, args.jobs)
172 def __init__(self, compiler, mode, std, simulator, debugger = False, verbose = False):
181 if simulator:
182 name += ' (%s)' % ('debugger' if debugger else 'simulator')
186 if simulator
[all...]
/external/valgrind/callgrind/
H A Dsim.c101 /* Cache simulator Options */
148 } simulator; variable in typeref:struct:__anon15853
1068 IrRes = (*simulator.I1_Read)(CLG_(bb_base) + ii->instr_offset, ii->instr_size);
1093 Ir1Res = (*simulator.I1_Read)(CLG_(bb_base) + ii1->instr_offset, ii1->instr_size);
1095 Ir2Res = (*simulator.I1_Read)(CLG_(bb_base) + ii2->instr_offset, ii2->instr_size);
1126 Ir1Res = (*simulator.I1_Read)(CLG_(bb_base) + ii1->instr_offset, ii1->instr_size);
1128 Ir2Res = (*simulator.I1_Read)(CLG_(bb_base) + ii2->instr_offset, ii2->instr_size);
1130 Ir3Res = (*simulator.I1_Read)(CLG_(bb_base) + ii3->instr_offset, ii3->instr_size);
1165 IrRes = (*simulator.I1_Read)(CLG_(bb_base) + ii->instr_offset, ii->instr_size);
1166 DrRes = (*simulator
[all...]
/external/vixl/
H A DAndroid.mk69 src/vixl/a64/simulator-a64.cc \
80 test/test-simulator-a64.cc \
/external/v8/test/cctest/compiler/
H A Dcall-tester.h10 #include "src/simulator.h"
172 Simulator* simulator = Simulator::current(isolate_); local
173 return static_cast<uintptr_t>(simulator->CallInt64(f, args));
213 Simulator* simulator = Simulator::current(isolate_); local
214 return static_cast<uintptr_t>(simulator->Call(f, 4, p1, p2, p3, p4));
/external/v8/
H A DAndroid.v8common.mk231 src/arm/simulator-arm.cc \
262 src/arm64/simulator-arm64.cc \
296 src/mips/simulator-mips.cc
321 src/mips64/simulator-mips64.cc
344 src/ia32/simulator-ia32.cc \
376 src/x64/simulator-x64.cc
/external/compiler-rt/make/platform/
H A Dclang_darwin.mk168 IOSSIM_DEPLOYMENT_ARGS := -mios-simulator-version-min=1.0
179 SANITIZER_IOSSIM_DEPLOYMENT_ARGS := -mios-simulator-version-min=7.0 \
/external/v8/src/arm64/
H A Dcodegen-arm64.cc9 #include "src/arm64/simulator-arm64.h"
21 Simulator * simulator = Simulator::current(Isolate::Current()); local
26 return simulator->CallDouble(fast_exp_arm64_machine_code, args);
/external/v8/tools/gcmole/
H A Dgcmole.lua186 simulator = ''})
/external/vixl/test/
H A Dtest-simulator-a64.cc32 #include "test-simulator-inputs-a64.h"
33 #include "test-simulator-traces-a64.h"
35 #include "vixl/a64/simulator-a64.h"
41 // These simulator tests check instruction behaviour against a trace taken from
48 // test-simulator-traces-a64.h.
60 Simulator* simulator = Test::run_debugger() ? new Debugger(&decoder) \
62 simulator->set_coloured_trace(Test::coloured_trace()); \
63 simulator->set_instruction_stats(Test::instruction_stats()); \
67 simulator->ResetState(); \
92 simulator
[all...]

Completed in 341 milliseconds

12