Home
last modified time | relevance | path

Searched refs:__ (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/external/v8/test/cctest/
Dtest-disasm-x87.cc43 #define __ assm. macro
59 __ adc(eax, 12345678); in TEST()
60 __ add(eax, Immediate(12345678)); in TEST()
61 __ or_(eax, 12345678); in TEST()
62 __ sub(eax, Immediate(12345678)); in TEST()
63 __ xor_(eax, 12345678); in TEST()
64 __ and_(eax, 12345678); in TEST()
66 __ cmp(eax, foo); in TEST()
69 __ mov(ebx, Operand(esp, ecx, times_2, 0)); // [esp+ecx*4] in TEST()
72 __ add(edx, ebx); in TEST()
[all …]
Dtest-disasm-ia32.cc43 #define __ assm. macro
59 __ adc(eax, 12345678); in TEST()
60 __ add(eax, Immediate(12345678)); in TEST()
61 __ or_(eax, 12345678); in TEST()
62 __ sub(eax, Immediate(12345678)); in TEST()
63 __ xor_(eax, 12345678); in TEST()
64 __ and_(eax, 12345678); in TEST()
66 __ cmp(eax, foo); in TEST()
69 __ mov(ebx, Operand(esp, ecx, times_2, 0)); // [esp+ecx*4] in TEST()
72 __ add(edx, ebx); in TEST()
[all …]
Dtest-disasm-x64.cc42 #define __ assm. macro
58 __ addq(rax, Immediate(12345678)); in TEST()
59 __ orq(rax, Immediate(12345678)); in TEST()
60 __ subq(rax, Immediate(12345678)); in TEST()
61 __ xorq(rax, Immediate(12345678)); in TEST()
62 __ andq(rax, Immediate(12345678)); in TEST()
65 __ movq(rbx, Operand(rsp, rcx, times_2, 0)); // [rsp+rcx*4] in TEST()
68 __ addq(rdx, rbx); in TEST()
69 __ addq(rdx, Operand(rbx, 0)); in TEST()
70 __ addq(rdx, Operand(rbx, 16)); in TEST()
[all …]
Dtest-assembler-x64.cc67 #define __ assm. macro
80 __ movq(rax, arg2); in TEST()
81 __ nop(); in TEST()
82 __ ret(0); in TEST()
104 __ pushq(rbp); in TEST()
105 __ movq(rbp, rsp); in TEST()
106 __ pushq(arg2); // Value at (rbp - 8) in TEST()
107 __ pushq(arg2); // Value at (rbp - 16) in TEST()
108 __ pushq(arg1); // Value at (rbp - 24) in TEST()
109 __ popq(rax); in TEST()
[all …]
Dtest-assembler-ia32.cc48 #define __ assm. macro
58 __ mov(eax, Operand(esp, 4)); in TEST()
59 __ add(eax, Operand(esp, 8)); in TEST()
60 __ ret(0); in TEST()
86 __ mov(edx, Operand(esp, 4)); in TEST()
87 __ xor_(eax, eax); // clear eax in TEST()
88 __ jmp(&C); in TEST()
90 __ bind(&L); in TEST()
91 __ add(eax, edx); in TEST()
92 __ sub(edx, Immediate(1)); in TEST()
[all …]
Dtest-macro-assembler-x64.cc95 #define __ masm-> macro
100 __ pushq(i::kRootRegister); in EntryCode()
101 __ InitializeRootRegister(); in EntryCode()
106 __ popq(i::kRootRegister); in ExitCode()
137 __ movl(rax, Immediate(id)); in TestMoveSmi()
138 __ Move(rcx, value); in TestMoveSmi()
139 __ Set(rdx, reinterpret_cast<intptr_t>(value)); in TestMoveSmi()
140 __ cmpq(rcx, rdx); in TestMoveSmi()
141 __ j(not_equal, exit); in TestMoveSmi()
173 __ xorq(rax, rax); // Success. in TEST()
[all …]
/external/v8/src/x87/
Dbuiltins-x87.cc17 #define __ ACCESS_MASM(masm) macro
33 __ AssertFunction(edi); in Generate_Adaptor()
39 __ mov(esi, FieldOperand(edi, JSFunction::kContextOffset)); in Generate_Adaptor()
44 __ PopReturnAddressTo(ecx); in Generate_Adaptor()
47 __ Push(edi); in Generate_Adaptor()
51 __ Push(edx); in Generate_Adaptor()
53 __ PushReturnAddressFrom(ecx); in Generate_Adaptor()
58 __ add(eax, Immediate(num_extra_args + 1)); in Generate_Adaptor()
60 __ JumpToExternalReference(ExternalReference(id, masm->isolate())); in Generate_Adaptor()
73 __ push(edi); in CallRuntimePassFunction()
[all …]
Dcode-stubs-x87.cc100 #define __ ACCESS_MASM(masm) macro
117 __ push(descriptor.GetRegisterParameter(i)); in GenerateLightweightMiss()
119 __ CallExternalReference(miss, param_count); in GenerateLightweightMiss()
122 __ ret(0); in GenerateLightweightMiss()
130 __ pushad(); in Generate()
133 __ sub(esp, Immediate(108)); in Generate()
134 __ fnsave(Operand(esp, 0)); in Generate()
139 __ PrepareCallCFunction(argument_count, ecx); in Generate()
140 __ mov(Operand(esp, 0 * kPointerSize), in Generate()
142 __ CallCFunction( in Generate()
[all …]
/external/v8/src/ia32/
Dbuiltins-ia32.cc17 #define __ ACCESS_MASM(masm) macro
33 __ AssertFunction(edi); in Generate_Adaptor()
39 __ mov(esi, FieldOperand(edi, JSFunction::kContextOffset)); in Generate_Adaptor()
44 __ PopReturnAddressTo(ecx); in Generate_Adaptor()
47 __ Push(edi); in Generate_Adaptor()
51 __ Push(edx); in Generate_Adaptor()
53 __ PushReturnAddressFrom(ecx); in Generate_Adaptor()
58 __ add(eax, Immediate(num_extra_args + 1)); in Generate_Adaptor()
60 __ JumpToExternalReference(ExternalReference(id, masm->isolate())); in Generate_Adaptor()
73 __ push(edi); in CallRuntimePassFunction()
[all …]
Dcode-stubs-ia32.cc100 #define __ ACCESS_MASM(masm) macro
117 __ push(descriptor.GetRegisterParameter(i)); in GenerateLightweightMiss()
119 __ CallExternalReference(miss, param_count); in GenerateLightweightMiss()
122 __ ret(0); in GenerateLightweightMiss()
130 __ pushad(); in Generate()
132 __ sub(esp, Immediate(kDoubleSize * XMMRegister::kMaxNumRegisters)); in Generate()
135 __ movsd(Operand(esp, i * kDoubleSize), reg); in Generate()
141 __ PrepareCallCFunction(argument_count, ecx); in Generate()
142 __ mov(Operand(esp, 0 * kPointerSize), in Generate()
144 __ CallCFunction( in Generate()
[all …]
Dcodegen-ia32.cc34 #define __ masm. macro
51 __ movsd(input, Operand(esp, 1 * kPointerSize)); in CreateExpFunction()
52 __ push(eax); in CreateExpFunction()
53 __ push(ebx); in CreateExpFunction()
57 __ pop(ebx); in CreateExpFunction()
58 __ pop(eax); in CreateExpFunction()
59 __ movsd(Operand(esp, 1 * kPointerSize), result); in CreateExpFunction()
60 __ fld_d(Operand(esp, 1 * kPointerSize)); in CreateExpFunction()
61 __ Ret(); in CreateExpFunction()
86 __ movsd(xmm0, Operand(esp, 1 * kPointerSize)); in CreateSqrtFunction()
[all …]
/external/v8/src/x64/
Dbuiltins-x64.cc16 #define __ ACCESS_MASM(masm) macro
32 __ AssertFunction(rdi); in Generate_Adaptor()
38 __ movp(rsi, FieldOperand(rdi, JSFunction::kContextOffset)); in Generate_Adaptor()
43 __ PopReturnAddressTo(kScratchRegister); in Generate_Adaptor()
46 __ Push(rdi); in Generate_Adaptor()
50 __ Push(rdx); in Generate_Adaptor()
52 __ PushReturnAddressFrom(kScratchRegister); in Generate_Adaptor()
57 __ addp(rax, Immediate(num_extra_args + 1)); in Generate_Adaptor()
59 __ JumpToExternalReference(ExternalReference(id, masm->isolate())); in Generate_Adaptor()
72 __ Push(rdi); in CallRuntimePassFunction()
[all …]
Dcode-stubs-x64.cc91 #define __ ACCESS_MASM(masm) macro
108 __ Push(descriptor.GetRegisterParameter(i)); in GenerateLightweightMiss()
110 __ CallExternalReference(miss, param_count); in GenerateLightweightMiss()
113 __ Ret(); in GenerateLightweightMiss()
118 __ PushCallerSaved(save_doubles() ? kSaveFPRegs : kDontSaveFPRegs); in Generate()
120 __ PrepareCallCFunction(argument_count); in Generate()
121 __ LoadAddress(arg_reg_1, in Generate()
125 __ CallCFunction( in Generate()
128 __ PopCallerSaved(save_doubles() ? kSaveFPRegs : kDontSaveFPRegs); in Generate()
129 __ ret(0); in Generate()
[all …]
/external/v8/src/ppc/
Dbuiltins-ppc.cc17 #define __ ACCESS_MASM(masm) macro
31 __ AssertFunction(r4); in Generate_Adaptor()
37 __ LoadP(cp, FieldMemOperand(r4, JSFunction::kContextOffset)); in Generate_Adaptor()
43 __ Push(r4); in Generate_Adaptor()
47 __ Push(r6); in Generate_Adaptor()
51 __ Push(r4, r6); in Generate_Adaptor()
60 __ addi(r3, r3, Operand(num_extra_args + 1)); in Generate_Adaptor()
62 __ JumpToExternalReference(ExternalReference(id, masm->isolate())); in Generate_Adaptor()
70 __ LoadNativeContextSlot(Context::INTERNAL_ARRAY_FUNCTION_INDEX, result); in GenerateLoadInternalArrayFunction()
77 __ LoadNativeContextSlot(Context::ARRAY_FUNCTION_INDEX, result); in GenerateLoadArrayFunction()
[all …]
Dcode-stubs-ppc.cc92 #define __ ACCESS_MASM(masm) macro
118 __ push(descriptor.GetRegisterParameter(i)); in GenerateLightweightMiss()
120 __ CallExternalReference(miss, param_count); in GenerateLightweightMiss()
123 __ Ret(); in GenerateLightweightMiss()
143 __ push(scratch); in Generate()
149 __ lfd(double_scratch, MemOperand(input_reg, double_offset)); in Generate()
152 __ ConvertDoubleToInt64(double_scratch, in Generate()
160 __ TestIfInt32(result_reg, r0); in Generate()
162 __ TestIfInt32(scratch, result_reg, r0); in Generate()
164 __ beq(&fastpath_done); in Generate()
[all …]
/external/v8/src/mips/
Dbuiltins-mips.cc18 #define __ ACCESS_MASM(masm) macro
33 __ AssertFunction(a1); in Generate_Adaptor()
39 __ lw(cp, FieldMemOperand(a1, JSFunction::kContextOffset)); in Generate_Adaptor()
45 __ Push(a1); in Generate_Adaptor()
49 __ Push(a3); in Generate_Adaptor()
53 __ Push(a1, a3); in Generate_Adaptor()
62 __ Addu(a0, a0, num_extra_args + 1); in Generate_Adaptor()
64 __ JumpToExternalReference(ExternalReference(id, masm->isolate())); in Generate_Adaptor()
72 __ LoadNativeContextSlot(Context::INTERNAL_ARRAY_FUNCTION_INDEX, result); in GenerateLoadInternalArrayFunction()
79 __ LoadNativeContextSlot(Context::ARRAY_FUNCTION_INDEX, result); in GenerateLoadArrayFunction()
[all …]
Dcode-stubs-mips.cc92 #define __ ACCESS_MASM(masm) macro
121 __ Subu(sp, sp, Operand(param_count * kPointerSize)); in GenerateLightweightMiss()
124 __ sw(descriptor.GetRegisterParameter(i), in GenerateLightweightMiss()
127 __ CallExternalReference(miss, param_count); in GenerateLightweightMiss()
130 __ Ret(); in GenerateLightweightMiss()
151 __ Push(scratch, scratch2, scratch3); in Generate()
155 __ ldc1(double_scratch, MemOperand(input_reg, double_offset)); in Generate()
158 __ cfc1(scratch2, FCSR); in Generate()
159 __ ctc1(zero_reg, FCSR); in Generate()
162 __ Trunc_w_d(double_scratch, double_scratch); in Generate()
[all …]
/external/v8/src/mips64/
Dbuiltins-mips64.cc17 #define __ ACCESS_MASM(masm) macro
32 __ AssertFunction(a1); in Generate_Adaptor()
38 __ ld(cp, FieldMemOperand(a1, JSFunction::kContextOffset)); in Generate_Adaptor()
44 __ Push(a1); in Generate_Adaptor()
48 __ Push(a3); in Generate_Adaptor()
52 __ Push(a1, a3); in Generate_Adaptor()
61 __ Daddu(a0, a0, num_extra_args + 1); in Generate_Adaptor()
63 __ JumpToExternalReference(ExternalReference(id, masm->isolate())); in Generate_Adaptor()
71 __ LoadNativeContextSlot(Context::INTERNAL_ARRAY_FUNCTION_INDEX, result); in GenerateLoadInternalArrayFunction()
78 __ LoadNativeContextSlot(Context::ARRAY_FUNCTION_INDEX, result); in GenerateLoadArrayFunction()
[all …]
Dcode-stubs-mips64.cc91 #define __ ACCESS_MASM(masm) macro
120 __ Dsubu(sp, sp, Operand(param_count * kPointerSize)); in GenerateLightweightMiss()
123 __ sd(descriptor.GetRegisterParameter(i), in GenerateLightweightMiss()
126 __ CallExternalReference(miss, param_count); in GenerateLightweightMiss()
129 __ Ret(); in GenerateLightweightMiss()
150 __ Push(scratch, scratch2, scratch3); in Generate()
153 __ ldc1(double_scratch, MemOperand(input_reg, double_offset)); in Generate()
156 __ cfc1(scratch2, FCSR); in Generate()
157 __ ctc1(zero_reg, FCSR); in Generate()
160 __ Trunc_w_d(double_scratch, double_scratch); in Generate()
[all …]
/external/v8/src/arm/
Dbuiltins-arm.cc17 #define __ ACCESS_MASM(masm) macro
32 __ AssertFunction(r1); in Generate_Adaptor()
38 __ ldr(cp, FieldMemOperand(r1, JSFunction::kContextOffset)); in Generate_Adaptor()
44 __ Push(r1); in Generate_Adaptor()
48 __ Push(r3); in Generate_Adaptor()
52 __ Push(r1, r3); in Generate_Adaptor()
61 __ add(r0, r0, Operand(num_extra_args + 1)); in Generate_Adaptor()
63 __ JumpToExternalReference(ExternalReference(id, masm->isolate())); in Generate_Adaptor()
71 __ LoadNativeContextSlot(Context::INTERNAL_ARRAY_FUNCTION_INDEX, result); in GenerateLoadInternalArrayFunction()
78 __ LoadNativeContextSlot(Context::ARRAY_FUNCTION_INDEX, result); in GenerateLoadArrayFunction()
[all …]
/external/v8/src/arm64/
Dbuiltins-arm64.cc18 #define __ ACCESS_MASM(masm) macro
24 __ LoadNativeContextSlot(Context::ARRAY_FUNCTION_INDEX, result); in GenerateLoadArrayFunction()
32 __ LoadNativeContextSlot(Context::INTERNAL_ARRAY_FUNCTION_INDEX, result); in GenerateLoadInternalArrayFunction()
48 __ AssertFunction(x1); in Generate_Adaptor()
54 __ Ldr(cp, FieldMemOperand(x1, JSFunction::kContextOffset)); in Generate_Adaptor()
60 __ Push(x1); in Generate_Adaptor()
64 __ Push(x3); in Generate_Adaptor()
68 __ Push(x1, x3); in Generate_Adaptor()
77 __ Add(x0, x0, num_extra_args + 1); in Generate_Adaptor()
79 __ JumpToExternalReference(ExternalReference(id, masm->isolate())); in Generate_Adaptor()
[all …]
Dcode-stubs-arm64.cc97 #define __ ACCESS_MASM(masm) macro
120 __ CallExternalReference(miss, param_count); in GenerateLightweightMiss()
123 __ Ret(); in GenerateLightweightMiss()
143 __ Push(scratch1, scratch2); in Generate()
148 __ Push(double_scratch); in Generate()
150 __ Ldr(double_scratch, MemOperand(input, double_offset)); in Generate()
153 __ TryConvertDoubleToInt64(result, double_scratch, &done); in Generate()
154 __ Fmov(result, double_scratch); in Generate()
156 __ Ldr(result, MemOperand(input, double_offset)); in Generate()
163 __ Ubfx(exponent, result, HeapNumber::kMantissaBits, in Generate()
[all …]
/external/v8/src/regexp/x87/
Dregexp-macro-assembler-x87.cc78 #define __ ACCESS_MASM(masm_) macro
95 __ jmp(&entry_label_); // We'll write the entry code later. in RegExpMacroAssemblerX87()
96 __ bind(&start_label_); // And then continue from here. in RegExpMacroAssemblerX87()
120 __ add(edi, Immediate(by * char_size())); in AdvanceCurrentPosition()
129 __ add(register_location(reg), Immediate(by)); in AdvanceRegister()
138 __ add(ebx, Immediate(masm_->CodeObject())); in Backtrack()
139 __ jmp(ebx); in Backtrack()
144 __ bind(label); in Bind()
149 __ cmp(current_character(), c); in CheckCharacter()
155 __ cmp(current_character(), limit); in CheckCharacterGT()
[all …]
/external/v8/src/regexp/ia32/
Dregexp-macro-assembler-ia32.cc78 #define __ ACCESS_MASM(masm_) macro
95 __ jmp(&entry_label_); // We'll write the entry code later. in RegExpMacroAssemblerIA32()
96 __ bind(&start_label_); // And then continue from here. in RegExpMacroAssemblerIA32()
120 __ add(edi, Immediate(by * char_size())); in AdvanceCurrentPosition()
129 __ add(register_location(reg), Immediate(by)); in AdvanceRegister()
138 __ add(ebx, Immediate(masm_->CodeObject())); in Backtrack()
139 __ jmp(ebx); in Backtrack()
144 __ bind(label); in Bind()
149 __ cmp(current_character(), c); in CheckCharacter()
155 __ cmp(current_character(), limit); in CheckCharacterGT()
[all …]
/external/vixl/test/
Dtest-assembler-a64.cc92 #define __ masm. macro
126 __ PushCalleeSavedRegisters(); \
128 __ Trace(LOG_STATE, TRACE_ENABLE); \
131 __ Trace(LOG_WRITE, TRACE_ENABLE); \
134 __ Trace(LOG_DISASM, TRACE_ENABLE); \
137 __ EnableInstrumentation(); \
142 __ DisableInstrumentation(); \
144 __ Trace(LOG_ALL, TRACE_DISABLE); \
146 __ PopCalleeSavedRegisters(); \
147 __ Ret(); \
[all …]

12345678910>>...17