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

1 2

  /external/vixl/src/a64/
simulator-a64.cc 31 #include "a64/simulator-a64.h"
35 const Instruction* Simulator::kEndOfSimAddress = NULL;
62 Simulator::Simulator(Decoder* decoder, FILE* stream) {
63 // Ensure that shift operations act as the simulator expects.
73 // Allocate and set up the simulator stack.
95 void Simulator::ResetState() {
110 // Returning to address 0 exits the Simulator.
115 Simulator::~Simulator() {
    [all...]
  /external/chromium_org/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/chromium_org/v8/src/arm64/
simulator-arm64.cc 13 #include "src/arm64/simulator-arm64.h"
59 void Simulator::TraceSim(const char* format, ...) {
69 const Instruction* Simulator::kEndOfSimAddress = NULL;
97 void Simulator::Initialize(Isolate* isolate) {
104 // Get the active Simulator for the current thread.
105 Simulator* Simulator::current(Isolate* isolate) {
110 Simulator* sim = isolate_data->simulator();
113 sim = new Simulator(new Decoder<DispatchingDecoderVisitor>(), isolate)
    [all...]
  /external/chromium_org/v8/src/arm/
cpu-arm.cc 21 #include "src/simulator.h" // for cache flushing.
32 // building an ARM emulator based target. We should notify the simulator
36 Simulator::FlushICache(Isolate::Current()->simulator_i_cache(), start, size);
simulator-arm.cc 14 #include "src/arm/simulator-arm.h"
21 // Only build the simulator if not compiling for real ARM hardware.
31 // The ArmDebugger class is used by the simulator while debugging simulated ARM
35 explicit ArmDebugger(Simulator* sim) : sim_(sim) { }
46 Simulator* sim_;
127 PrintF("Simulator hit stop %u: %s\n", code, msg);
129 PrintF("Simulator hit %s\n", msg);
367 cur = reinterpret_cast<int32_t*>(sim_->get_register(Simulator::sp));
575 PrintF(" When hitting a stop, the Simulator will\n");
578 Simulator::kNumOfWatchedStops)
    [all...]
simulator-arm.h 6 // Declares a Simulator for ARM instructions if we are not generating a native
7 // ARM binary. This Simulator allows us to run and debug ARM code generation on
10 // which will start execution in the Simulator or forwards to the real entry
19 // Running without a simulator on a native arm platform.
24 // When running without a simulator we call the entry directly.
61 // Running with a simulator.
101 class Simulator {
127 explicit Simulator(Isolate* isolate);
128 ~Simulator();
130 // The currently executing Simulator instance. Potentially there can be on
    [all...]
  /external/chromium_org/v8/src/mips/
cpu-mips.cc 21 #include "src/simulator.h" // For cache flushing.
49 // building a mips emulator based target. We should notify the simulator
53 Simulator::FlushICache(Isolate::Current()->simulator_i_cache(), start, size);
simulator-mips.cc 18 #include "src/mips/simulator-mips.h"
22 // Only build the simulator if not compiling for real MIPS hardware.
49 // The MipsDebugger class is used by the simulator while debugging simulated
53 explicit MipsDebugger(Simulator* sim) : sim_(sim) { }
67 Simulator* sim_;
148 PrintF("Simulator hit %s (%u)\n", msg, code);
416 while (!done && (sim_->get_pc() != Simulator::end_sim_pc)) {
554 cur = reinterpret_cast<int32_t*>(sim_->get_register(Simulator::sp));
808 PrintF(" When hitting a stop, the Simulator will\n");
811 PrintF(" - They can be enabled / disabled: the Simulator\n")
    [all...]
simulator-mips.h 6 // Declares a Simulator for MIPS instructions if we are not generating a native
7 // MIPS binary. This Simulator allows us to run and debug MIPS code generation
10 // which will start execution in the Simulator or forwards to the real entry
20 // Running without a simulator on a native mips platform.
25 // When running without a simulator we call the entry directly.
71 // Running with a simulator.
112 class Simulator {
150 explicit Simulator(Isolate* isolate);
151 ~Simulator();
153 // The currently executing Simulator instance. Potentially there can be on
    [all...]
  /external/chromium_org/v8/src/mips64/
cpu-mips64.cc 21 #include "src/simulator.h" // For cache flushing.
49 // building a mips emulator based target. We should notify the simulator
53 Simulator::FlushICache(Isolate::Current()->simulator_i_cache(), start, size);
simulator-mips64.h 6 // Declares a Simulator for MIPS instructions if we are not generating a native
7 // MIPS binary. This Simulator allows us to run and debug MIPS code generation
10 // which will start execution in the Simulator or forwards to the real entry
20 // Running without a simulator on a native mips platform.
25 // When running without a simulator we call the entry directly.
100 // Running with a simulator.
141 class Simulator {
179 explicit Simulator(Isolate* isolate);
180 ~Simulator();
182 // The currently executing Simulator instance. Potentially there can be on
    [all...]
simulator-mips64.cc 18 #include "src/mips64/simulator-mips64.h"
21 // Only build the simulator if not compiling for real MIPS hardware.
67 // The MipsDebugger class is used by the simulator while debugging simulated
71 explicit MipsDebugger(Simulator* sim) : sim_(sim) { }
85 Simulator* sim_;
165 PrintF("Simulator hit %s (%u)\n", msg, code);
380 while (!done && (sim_->get_pc() != Simulator::end_sim_pc)) {
497 cur = reinterpret_cast<int64_t*>(sim_->get_register(Simulator::sp));
738 PrintF(" When hitting a stop, the Simulator will\n");
741 PrintF(" - They can be enabled / disabled: the Simulator\n")
    [all...]
  /external/vixl/examples/
abs.cc 47 // Create and initialize the assembler and the simulator.
51 Simulator simulator(&decoder);
61 simulator.set_xreg(0, input_value);
62 simulator.RunFrom(abs.target());
63 printf("abs(%ld) = %ld\n", input_value, simulator.xreg(0));
getting-started.cc 27 #include "a64/simulator-a64.h"
48 Simulator simulator(&decoder);
55 simulator.set_xreg(0, 0x8899aabbccddeeff);
56 simulator.RunFrom(demo_function.target());
57 printf("x0 = %" PRIx64 "\n", simulator.xreg(0));
check-bounds.cc 61 void run_function(Simulator *simulator, Label *function,
63 simulator->set_xreg(0, value);
64 simulator->set_xreg(1, low);
65 simulator->set_xreg(2, high);
67 simulator->RunFrom(function->target());
69 simulator->xreg(0) ? "is" : "is not",
72 simulator->ResetState();
76 // Create and initialize the assembler and the simulator.
80 Simulator simulator(&decoder)
    [all...]
add3-double.cc 48 // Create and initialize the assembler and the simulator.
52 Simulator simulator(&decoder);
64 simulator.set_dreg(0, a);
65 simulator.set_dreg(1, b);
66 simulator.set_dreg(2, c);
67 simulator.RunFrom(add3_double.target());
68 printf("%f + %f + %f = %f\n", a, b, c, simulator.dreg(0));
factorial.cc 57 // Create and initialize the assembler and the simulator.
61 Simulator simulator(&decoder);
71 simulator.set_xreg(0, input_val);
72 simulator.RunFrom(factorial.target());
73 printf("factorial(%ld) = %ld\n", input_val, simulator.xreg(0));
add4-double.cc 56 // Create and initialize the assembler and the simulator.
60 Simulator simulator(&decoder);
73 simulator.set_xreg(0, a);
74 simulator.set_dreg(0, b);
75 simulator.set_xreg(1, c);
76 simulator.set_dreg(1, d);
77 simulator.RunFrom(add4_double.target());
78 printf("%ld + %f + %ld + %f = %f\n", a, b, c, d, simulator.dreg(0));
factorial-rec.cc 59 // Create and initialize the assembler and the simulator.
63 Simulator simulator(&decoder);
73 simulator.set_xreg(0, input_val);
74 simulator.RunFrom(factorial_rec.target());
75 printf("factorial(%ld) = %ld\n", input_val, simulator.xreg(0));
sum-array.cc 63 // Create and initialize the assembler and the simulator.
67 Simulator simulator(&decoder);
78 simulator.set_xreg(0, data_addr);
79 simulator.set_xreg(1, ARRAY_SIZE(data));
80 simulator.RunFrom(sum_array.target());
86 printf("%d = %d\n", data[i], simulator.wreg(0));
swap-int32.cc 65 // Create and initialize the assembler and the simulator.
69 Simulator simulator(&decoder);
78 simulator.set_wreg(0, 0x11111111);
79 simulator.set_wreg(1, 0x22222222);
84 simulator.wreg(0), simulator.wreg(1));
86 simulator.RunFrom(swap_int32.target());
91 simulator.wreg(0), simulator.wreg(1))
    [all...]
swap4.cc 51 // Create and initialize the assembler and the simulator.
55 Simulator simulator(&decoder);
64 simulator.set_xreg(0, 0x1111111111111111);
65 simulator.set_xreg(1, 0x2222222222222222);
66 simulator.set_xreg(2, 0x3333333333333333);
67 simulator.set_xreg(3, 0x4444444444444444);
74 simulator.xreg(0), simulator.xreg(1),
75 simulator.xreg(2), simulator.xreg(3))
    [all...]
  /external/chromium_org/gpu/tools/compositor_model_bench/
compositor_model_bench.cc 54 class Simulator;
55 void _process_events(Simulator* sim);
56 void _update_loop(Simulator* sim);
58 class Simulator {
60 Simulator(int seconds_per_test, const base::FilePath& output_path)
72 ~Simulator() {
123 base::Bind(&Simulator::ProcessEvents,
269 base::Bind(&Simulator::UpdateLoop, weak_factory_.GetWeakPtr()));
347 base::WeakPtrFactory<Simulator> weak_factory_;
379 Simulator sim(seconds_per_test, cl->GetSwitchValuePath("out"))
    [all...]
  /external/chromium_org/v8/test/cctest/
test-code-stubs-arm64.cc 36 #include "src/simulator.h"
141 Simulator::CallArgument args[] = {
142 Simulator::CallArgument(from),
143 Simulator::CallArgument::End()
145 return Simulator::current(Isolate::Current())->CallInt64(
  /external/chromium_org/v8/src/
vm-state-inl.h 10 #include "src/simulator.h"
63 scope_address_ = Simulator::current(isolate)->get_sp();

Completed in 519 milliseconds

1 2