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

1 2 3

  /external/v8/test/cctest/compiler/
call-tester.h 8 #include "src/simulator.h"
178 uintptr_t CallSimulator(byte* f, Simulator::CallArgument* args) {
179 Simulator* simulator = Simulator::current(isolate_); local
180 return static_cast<uintptr_t>(simulator->CallInt64(f, args));
185 Simulator::CallArgument args[] = {Simulator::CallArgument::End()};
190 Simulator::CallArgument args[] = {Simulator::CallArgument(p1)
229 Simulator* simulator = Simulator::current(isolate_); local
274 Simulator* simulator = Simulator::current(isolate_); local
    [all...]
  /external/v8/src/s390/
simulator-s390.cc 19 #include "src/s390/simulator-s390.h"
22 // Only build the simulator if not compiling for real s390 hardware.
34 // The S390Debugger class is used by the simulator while debugging simulated
38 explicit S390Debugger(Simulator* sim) : sim_(sim) {}
53 Simulator* sim_;
126 PrintF("Simulator hit stop %u: %s\n", code, msg);
128 PrintF("Simulator hit %s\n", msg);
441 cur = reinterpret_cast<intptr_t*>(sim_->get_register(Simulator::sp));
650 PrintF(" When hitting a stop, the Simulator will\n");
653 Simulator::kNumOfWatchedStops)
    [all...]
  /external/vixl/src/vixl/a64/
logic-a64.cc 30 #include "vixl/a64/simulator-a64.h"
34 template<> double Simulator::FPDefaultNaN<double>() {
39 template<> float Simulator::FPDefaultNaN<float>() {
77 double Simulator::FixedToDouble(int64_t src, int fbits, FPRounding round) {
87 double Simulator::UFixedToDouble(uint64_t src, int fbits, FPRounding round) {
103 float Simulator::FixedToFloat(int64_t src, int fbits, FPRounding round) {
113 float Simulator::UFixedToFloat(uint64_t src, int fbits, FPRounding round) {
129 double Simulator::FPToDouble(float value) {
169 float Simulator::FPToFloat(float16 value) {
232 float16 Simulator::FPToFloat16(float value, FPRounding round_mode)
    [all...]
simulator-a64.cc 31 #include "vixl/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.
80 // Allocate and set up the simulator stack.
102 void Simulator::ResetState() {
120 // Returning to address 0 exits the Simulator.
125 Simulator::~Simulator() {
    [all...]
  /external/v8/src/arm64/
simulator-arm64.cc 12 #include "src/arm64/simulator-arm64.h"
60 void Simulator::TraceSim(const char* format, ...) {
70 const Instruction* Simulator::kEndOfSimAddress = NULL;
98 void Simulator::Initialize(Isolate* isolate) {
105 // Get the active Simulator for the current thread.
106 Simulator* Simulator::current(Isolate* isolate) {
111 Simulator* sim = isolate_data->simulator();
114 sim = new Simulator(new Decoder<DispatchingDecoderVisitor>(), isolate)
    [all...]
  /art/runtime/simulator/
code_simulator_arm64.h 21 #include "simulator/code_simulator.h"
25 #include "vixl/a64/simulator-a64.h"
46 vixl::Simulator* simulator_;
48 // TODO: Enable CodeSimulatorArm64 for more host ISAs once vixl::Simulator supports them.
code_simulator_arm64.cc 17 #include "simulator/code_simulator_arm64.h"
22 // VIXL has not been tested on 32bit architectures, so vixl::Simulator is not always
25 // TODO: when vixl::Simulator is always available, remove the these checks.
39 simulator_ = new vixl::Simulator(decoder_);
  /external/vixl/examples/
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.
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.
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.
  /external/v8/src/profiler/
tick-sample.cc 174 Simulator *simulator = isolate->thread_local_top()->simulator_; local
175 // Check if there is active simulator.
176 if (simulator == NULL) return false;
178 if (!simulator->has_bad_pc()) {
179 state->pc = reinterpret_cast<Address>(simulator->get_pc());
181 state->sp = reinterpret_cast<Address>(simulator->get_register(Simulator::sp));
182 state->fp = reinterpret_cast<Address>(simulator->get_register(
183 Simulator::r11))
    [all...]
  /external/v8/test/cctest/
test-sampler-api.cc 10 #include "src/simulator.h"
40 // Check if there is active simulator.
48 simulator_->get_register(v8::internal::Simulator::sp));
50 simulator_->get_register(v8::internal::Simulator::r11));
53 // It's possible that the simulator is interrupted while it is updating
54 // the sp or fp register. ARM64 simulator does this in two steps:
65 simulator_->get_register(v8::internal::Simulator::sp));
67 simulator_->get_register(v8::internal::Simulator::fp));
71 simulator_->get_register(v8::internal::Simulator::sp));
73 simulator_->get_register(v8::internal::Simulator::fp))
    [all...]
test-code-stubs-arm64.cc 36 #include "src/simulator.h"
148 Simulator::CallArgument args[] = {
149 Simulator::CallArgument(from),
150 Simulator::CallArgument::End()
152 return static_cast<int32_t>(Simulator::current(CcTest::i_isolate())
  /external/v8/src/arm/
simulator-arm.cc 12 #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);
371 cur = reinterpret_cast<int32_t*>(sim_->get_register(Simulator::sp));
580 PrintF(" When hitting a stop, the Simulator will\n");
583 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.
67 // Running with a simulator.
107 class Simulator {
133 explicit Simulator(Isolate* isolate);
134 ~Simulator();
136 // The currently executing Simulator instance. Potentially there can be on
    [all...]
  /external/v8/src/mips/
simulator-mips.cc 17 #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));
809 PrintF(" When hitting a stop, the Simulator will\n");
812 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.
75 // Running with a simulator.
116 class Simulator {
154 explicit Simulator(Isolate* isolate);
155 ~Simulator();
157 // The currently executing Simulator instance. Potentially there can be on
    [all...]
  /external/v8/src/mips64/
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.
84 // Running with a simulator.
125 class Simulator {
163 explicit Simulator(Isolate* isolate);
164 ~Simulator();
166 // The currently executing Simulator instance. Potentially there can be on
    [all...]
simulator-mips64.cc 17 #include "src/mips64/simulator-mips64.h"
21 // Only build the simulator if not compiling for real MIPS hardware.
64 // The MipsDebugger class is used by the simulator while debugging simulated
68 explicit MipsDebugger(Simulator* sim) : sim_(sim) { }
82 Simulator* sim_;
162 PrintF("Simulator hit %s (%u)\n", msg, code);
386 while (!done && (sim_->get_pc() != Simulator::end_sim_pc)) {
504 cur = reinterpret_cast<int64_t*>(sim_->get_register(Simulator::sp));
746 PrintF(" When hitting a stop, the Simulator will\n");
749 PrintF(" - They can be enabled / disabled: the Simulator\n")
    [all...]
  /external/v8/src/ppc/
simulator-ppc.h 6 // Declares a Simulator for PPC instructions if we are not generating a native
7 // PPC binary. This Simulator allows us to run and debug PPC 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 ppc platform.
24 // When running without a simulator we call the entry directly.
66 // Running with a simulator.
102 class Simulator {
175 explicit Simulator(Isolate* isolate);
176 ~Simulator();
178 // The currently executing Simulator instance. Potentially there can be on
    [all...]
simulator-ppc.cc 17 #include "src/ppc/simulator-ppc.h"
22 // Only build the simulator if not compiling for real PPC hardware.
34 // The PPCDebugger class is used by the simulator while debugging simulated
38 explicit PPCDebugger(Simulator* sim) : sim_(sim) {}
48 Simulator* sim_;
126 PrintF("Simulator hit stop %u: %s\n", code, msg);
128 PrintF("Simulator hit %s\n", msg);
425 cur = reinterpret_cast<intptr_t*>(sim_->get_register(Simulator::sp));
650 PrintF(" When hitting a stop, the Simulator will\n");
653 Simulator::kNumOfWatchedStops)
    [all...]
  /external/autotest/client/deps/lansim/src/py/
simulator.py 16 "A Simulator generic error."
29 class Simulator(object):
30 """A TUN/TAP network interface simulator class.
100 seconds. The callback will be called at most once while the simulator
165 """Runs the Simulator.
197 # * the simulator was stopped from a different thread.
229 # thread want's to wake up the simulator loop.
279 class SimulatorThread(threading.Thread, Simulator):
280 """A threaded version of the Simulator.
282 This class exposses a similar interface as the Simulator class with th
    [all...]
  /external/v8/src/
vm-state-inl.h 10 #include "src/simulator.h"
63 scope_address_ = Simulator::current(isolate)->get_sp();

Completed in 831 milliseconds

1 2 3