/external/vixl/examples/ |
examples.h | 40 void GenerateFactorial(MacroAssembler* masm); 46 void GenerateFactorialRec(MacroAssembler* masm); 52 void GenerateNEONMatrixMultiply(MacroAssembler* masm); 58 void GenerateAdd2Vectors(MacroAssembler* masm); 65 void GenerateAdd3Double(MacroAssembler* masm); 72 void GenerateAdd4Double(MacroAssembler* masm); 79 void GenerateSumArray(MacroAssembler* masm); 85 void GenerateAbs(MacroAssembler* masm); 94 void GenerateCheckBounds(MacroAssembler* masm); 101 void GenerateCrc32(MacroAssembler* masm); [all...] |
abs.cc | 30 #define __ masm-> 32 void GenerateAbs(MacroAssembler* masm) { 50 MacroAssembler masm(assm_buf, BUF_SIZE); 56 masm.Bind(&abs); 57 GenerateAbs(&masm); 58 masm.FinalizeCode(); 63 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&abs));
|
getting-started.cc | 31 #define __ masm-> 35 void GenerateDemoFunction(MacroAssembler *masm) { 47 MacroAssembler masm(assm_buf, BUF_SIZE); 52 masm.Bind(&demo_function); 53 GenerateDemoFunction(&masm); 54 masm.FinalizeCode(); 57 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&demo_function));
|
add3-double.cc | 30 #define __ masm-> 32 void GenerateAdd3Double(MacroAssembler* masm) { 51 MacroAssembler masm(assm_buf, BUF_SIZE); 57 masm.Bind(&add3_double); 58 GenerateAdd3Double(&masm); 59 masm.FinalizeCode(); 68 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add3_double));
|
debugger.cc | 34 #define __ masm-> 38 void GenerateBreak(MacroAssembler* masm) { 56 MacroAssembler masm(assm_buf, BUF_SIZE); 62 masm.Bind(&start); 63 GenerateBreak(&masm); 64 masm.FinalizeCode(); 67 debugger.RunFrom(masm.GetLabelAddress<Instruction*>(&start));
|
factorial.cc | 30 #define __ masm-> 32 void GenerateFactorial(MacroAssembler* masm) { 60 MacroAssembler masm(assm_buf, BUF_SIZE); 66 masm.Bind(&factorial); 67 GenerateFactorial(&masm); 68 masm.FinalizeCode(); 73 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&factorial));
|
literal.cc | 30 #define __ masm. 35 MacroAssembler masm(BASE_BUF_SIZE); 39 Literal<int64_t> automatically_placed_literal(111, masm.GetLiteralPool()); 44 masm.Bind(&start); 46 CodeBufferCheckScope scope(&masm, 60 masm.FinalizeCode(); 64 size_t code_size = masm.SizeOfCodeGenerated(); 69 memcpy(code, masm.GetStartAddress<void*>(), code_size); 72 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&start));
|
add4-double.cc | 30 #define __ masm-> 32 void GenerateAdd4Double(MacroAssembler* masm) { 59 MacroAssembler masm(assm_buf, BUF_SIZE); 65 masm.Bind(&add4_double); 66 GenerateAdd4Double(&masm); 67 masm.FinalizeCode(); 78 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&add4_double));
|
check-bounds.cc | 30 #define __ masm-> 32 void GenerateCheckBounds(MacroAssembler* masm) { 79 MacroAssembler masm(assm_buf, BUF_SIZE); 85 masm.Bind(&check_bounds); 86 GenerateCheckBounds(&masm); 87 masm.FinalizeCode(); 90 Instruction * function = masm.GetLabelAddress<Instruction*>(&check_bounds);
|
crc-checksums.cc | 30 #define __ masm-> 32 void GenerateCrc32(MacroAssembler* masm) { 72 MacroAssembler masm(assm_buf, BUF_SIZE); 76 masm.Bind(&func); 77 GenerateCrc32(&masm); 78 masm.FinalizeCode(); 88 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&func));
|
factorial-rec.cc | 30 #define __ masm-> 32 void GenerateFactorialRec(MacroAssembler* masm) { 62 MacroAssembler masm(assm_buf, BUF_SIZE); 68 masm.Bind(&factorial_rec); 69 GenerateFactorialRec(&masm); 70 masm.FinalizeCode(); 75 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&factorial_rec));
|
sum-array.cc | 31 #define __ masm-> 33 void GenerateSumArray(MacroAssembler* masm) { 66 MacroAssembler masm(assm_buf, BUF_SIZE); 72 masm.Bind(&sum_array); 73 GenerateSumArray(&masm); 74 masm.FinalizeCode(); 81 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&sum_array));
|
swap-int32.cc | 30 #define __ masm-> 32 void GenerateSwapInt32(MacroAssembler* masm) { 68 MacroAssembler masm(assm_buf, BUF_SIZE); 74 masm.Bind(&swap_int32); 75 GenerateSwapInt32(&masm); 76 masm.FinalizeCode(); 87 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&swap_int32));
|
swap4.cc | 30 #define __ masm-> 32 void GenerateSwap4(MacroAssembler* masm) { 54 MacroAssembler masm(assm_buf, BUF_SIZE); 60 masm.Bind(&swap4); 61 GenerateSwap4(&masm); 62 masm.FinalizeCode(); 78 simulator.RunFrom(masm.GetLabelAddress<Instruction*>(&swap4));
|
non-const-visitor.cc | 31 #define __ masm-> 34 void GenerateNonConstVisitorTestCode(MacroAssembler* masm) { 72 MacroAssembler masm(assm_buf, BUF_SIZE); 76 masm.Bind(&code_start); 77 GenerateNonConstVisitorTestCode(&masm); 78 masm.Bind(&code_end); 79 masm.FinalizeCode(); 80 Instruction* instr_start = masm.GetLabelAddress<Instruction*>(&code_start); 81 Instruction* instr_end = masm.GetLabelAddress<Instruction*>(&code_end);
|
/external/vixl/benchmarks/ |
bench-branch-link.cc | 48 MacroAssembler masm(instructions * kInstructionSize); 49 InstructionAccurateScope scope(&masm, instructions); 51 #define __ masm. 59 masm.FinalizeCode();
|
bench-branch.cc | 53 MacroAssembler masm(buffer_size); 55 #define __ masm. 61 InstructionAccurateScope scope(&masm, buffer_instruction_count); 68 masm.Reset(); 73 InstructionAccurateScope scope(&masm, remaining); 81 masm.FinalizeCode();
|
bench-dataop.cc | 53 MacroAssembler masm(buffer_size); 55 #define __ masm. 60 InstructionAccurateScope scope(&masm, buffer_instruction_count); 65 masm.Reset(); 70 InstructionAccurateScope scope(&masm, remaining); 76 masm.FinalizeCode();
|
/external/v8/src/ |
macro-assembler.h | 84 explicit FrameScope(MacroAssembler* masm, StackFrame::Type type) 85 : masm_(masm), type_(type), old_has_frame_(masm->has_frame()) { 86 masm->set_has_frame(true); 88 masm->EnterFrame(type); 117 FrameAndConstantPoolScope(MacroAssembler* masm, StackFrame::Type type) 118 : masm_(masm), 120 old_has_frame_(masm->has_frame()), 122 masm->is_constant_pool_available()) { 123 masm->set_has_frame(true) [all...] |
builtins.h | 376 static void Generate_Adaptor(MacroAssembler* masm, 379 static void Generate_ConstructedNonConstructable(MacroAssembler* masm); 380 static void Generate_CompileLazy(MacroAssembler* masm); 381 static void Generate_InOptimizationQueue(MacroAssembler* masm); 382 static void Generate_CompileOptimized(MacroAssembler* masm); 383 static void Generate_CompileOptimizedConcurrent(MacroAssembler* masm); 384 static void Generate_JSConstructStubGeneric(MacroAssembler* masm); 385 static void Generate_JSBuiltinsConstructStub(MacroAssembler* masm); 386 static void Generate_JSConstructStubApi(MacroAssembler* masm); 387 static void Generate_JSEntryTrampoline(MacroAssembler* masm); [all...] |
/external/v8/src/debug/arm/ |
debug-arm.cc | 13 #define __ ACCESS_MASM(masm) 16 void EmitDebugBreakSlot(MacroAssembler* masm) { 23 masm->InstructionsGeneratedSince(&check_size)); 27 void DebugCodegen::GenerateSlot(MacroAssembler* masm, RelocInfo::Mode mode) { 30 Assembler::BlockConstPoolScope block_const_pool(masm); 31 masm->RecordDebugBreakSlot(mode); 32 EmitDebugBreakSlot(masm); 38 EmitDebugBreakSlot(patcher.masm()); 58 patcher.masm()->ldr(ip, MemOperand(v8::internal::pc, 0)); 59 patcher.masm()->b(&skip_constant) [all...] |
/external/v8/src/ppc/ |
code-stubs-ppc.h | 14 void ArrayNativeCode(MacroAssembler* masm, Label* call_generic_code); 23 static void GenerateCopyCharacters(MacroAssembler* masm, Register dest, 29 static void GenerateCompareFlatOneByteStrings(MacroAssembler* masm, 36 static void GenerateFlatOneByteStringEquals(MacroAssembler* masm, 42 static void GenerateOneByteCharsCompareLoop(MacroAssembler* masm, 101 static void PatchBranchIntoNop(MacroAssembler* masm, int pos) { 103 masm->instr_at_put(pos, (masm->instr_at(pos) & ~kBOfieldMask) | BT); 106 static void PatchNopIntoBranch(MacroAssembler* masm, int pos) { 108 masm->instr_at_put(pos, (masm->instr_at(pos) & ~kBOfieldMask) | BF) [all...] |
/external/v8/src/debug/ppc/ |
debug-ppc.cc | 13 #define __ ACCESS_MASM(masm) 16 void EmitDebugBreakSlot(MacroAssembler* masm) { 23 masm->InstructionsGeneratedSince(&check_size)); 27 void DebugCodegen::GenerateSlot(MacroAssembler* masm, RelocInfo::Mode mode) { 30 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm); 31 masm->RecordDebugBreakSlot(mode); 32 EmitDebugBreakSlot(masm); 38 EmitDebugBreakSlot(patcher.masm()); 60 Assembler::BlockTrampolinePoolScope block_trampoline_pool(patcher.masm()); 61 patcher.masm()->mov(v8::internal::r0 [all...] |
/external/v8/src/arm/ |
code-stubs-arm.h | 14 void ArrayNativeCode(MacroAssembler* masm, Label* call_generic_code); 23 static void GenerateCopyCharacters(MacroAssembler* masm, 32 MacroAssembler* masm, Register left, Register right, Register scratch1, 36 static void GenerateFlatOneByteStringEquals(MacroAssembler* masm, 44 MacroAssembler* masm, Register left, Register right, Register length, 81 static void PatchBranchIntoNop(MacroAssembler* masm, int pos) { 82 masm->instr_at_put(pos, (masm->instr_at(pos) & ~B27) | (B24 | B20)); 83 DCHECK(Assembler::IsTstImmediate(masm->instr_at(pos))); 86 static void PatchNopIntoBranch(MacroAssembler* masm, int pos) [all...] |
/external/v8/src/mips/ |
code-stubs-mips.h | 14 void ArrayNativeCode(MacroAssembler* masm, Label* call_generic_code); 23 static void GenerateCopyCharacters(MacroAssembler* masm, 32 MacroAssembler* masm, Register left, Register right, Register scratch1, 36 static void GenerateFlatOneByteStringEquals(MacroAssembler* masm, 44 MacroAssembler* masm, Register left, Register right, Register length, 108 static void PatchBranchIntoNop(MacroAssembler* masm, int pos) { 109 const unsigned offset = masm->instr_at(pos) & kImm16Mask; 110 masm->instr_at_put(pos, BNE | (zero_reg.code() << kRsShift) | 112 DCHECK(Assembler::IsBne(masm->instr_at(pos))); 115 static void PatchNopIntoBranch(MacroAssembler* masm, int pos) [all...] |