HomeSort by relevance Sort by last modified time
    Searched refs:simulator (Results 1 - 25 of 34) sorted by null

1 2

  /external/vixl/examples/
swap4.cc 52 // 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.xreg(3))
    [all...]
check-bounds.cc 62 void run_function(Simulator *simulator, Instruction * function,
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)
    [all...]
add3-double.cc 49 // 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.
abs.cc 48 // 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.
getting-started.cc 27 #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.
swap-int32.cc 66 // 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))
    [all...]
add4-double.cc 57 // 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
    [all...]
factorial.cc 58 // 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.
crc-checksums.cc 70 // 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));
sum-array.cc 64 // 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.
factorial-rec.cc 60 // 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.
non-const-visitor.cc 48 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.
add2-vectors.cc 133 // 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));
neon-matrix-multiply.cc 100 // 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/
test-examples.cc 29 #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.xreg(26);
    [all...]
  /external/vixl/tools/
make_instruction_doc.pl 76 disassembler and simulator. The simulator may not support all floating point
77 operations to the precision required by AArch64 - please check the simulator
presubmit.py 68 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...]
  /hardware/ril/reference-ril/
Android.mk 3 # XXX using libutils for simulator build only...
  /external/valgrind/callgrind/
sim.c 101 /* Cache simulator Options */
148 } simulator; variable in typeref:struct:__anon20157
151 /*--- Cache Simulator Initialization ---*/
242 * Simulator functions:
340 * Simulator functions:
    [all...]
  /external/vixl/
Android.mk 69 src/vixl/a64/simulator-a64.cc \
80 test/test-simulator-a64.cc \
  /external/v8/test/cctest/compiler/
call-tester.h 10 #include "src/simulator.h"
171 uintptr_t CallSimulator(byte* f, Simulator::CallArgument* args) {
172 Simulator* simulator = Simulator::current(isolate_); local
173 return static_cast<uintptr_t>(simulator->CallInt64(f, args));
178 Simulator::CallArgument args[] = {Simulator::CallArgument::End()};
183 Simulator::CallArgument args[] = {Simulator::CallArgument(p1)
213 Simulator* simulator = Simulator::current(isolate_); local
    [all...]
  /external/v8/
Android.v8common.mk 231 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/
clang_darwin.mk 168 IOSSIM_DEPLOYMENT_ARGS := -mios-simulator-version-min=1.0
179 SANITIZER_IOSSIM_DEPLOYMENT_ARGS := -mios-simulator-version-min=7.0 \
  /external/v8/src/arm64/
codegen-arm64.cc 9 #include "src/arm64/simulator-arm64.h"
21 Simulator * simulator = Simulator::current(Isolate::Current()); local
22 Simulator::CallArgument args[] = {
23 Simulator::CallArgument(x),
24 Simulator::CallArgument::End()
26 return simulator->CallDouble(fast_exp_arm64_machine_code, args);
  /external/v8/tools/gcmole/
gcmole.lua 186 simulator = ''})

Completed in 235 milliseconds

1 2