Home
last modified time | relevance | path

Searched refs:result_reg (Results 1 – 16 of 16) sorted by relevance

/external/v8/src/compiler/s390/
Dcode-generator-s390.cc648 DoubleRegister result_reg = i.OutputDoubleRegister(); \
664 __ ldr(result_reg, left_reg); \
665 __ adbr(result_reg, right_reg); \
674 if (right_reg != result_reg) { \
675 __ ldr(result_reg, right_reg); \
680 if (left_reg != result_reg) { \
681 __ ldr(result_reg, left_reg); \
690 DoubleRegister result_reg = i.OutputDoubleRegister(); \
707 __ ldr(result_reg, left_reg); \
709 __ adbr(result_reg, right_reg); \
[all …]
/external/v8/src/builtins/ppc/
Dbuiltins-ppc.cc2533 Register result_reg = r3; in Generate_DoubleToI() local
2538 Register scratch = GetRegisterThatIsNotOneOf(result_reg); in Generate_DoubleToI()
2539 Register scratch_low = GetRegisterThatIsNotOneOf(result_reg, scratch); in Generate_DoubleToI()
2541 GetRegisterThatIsNotOneOf(result_reg, scratch, scratch_low); in Generate_DoubleToI()
2544 __ Push(result_reg, scratch); in Generate_DoubleToI()
2556 result_reg, d0); in Generate_DoubleToI()
2560 __ TestIfInt32(result_reg, r0); in Generate_DoubleToI()
2562 __ TestIfInt32(scratch, result_reg, r0); in Generate_DoubleToI()
2602 __ ExtractBitMask(result_reg, scratch_high, HeapNumber::kMantissaMask); in Generate_DoubleToI()
2605 __ oris(result_reg, result_reg, in Generate_DoubleToI()
[all …]
/external/v8/src/builtins/mips/
Dbuiltins-mips.cc2478 Register result_reg = t0; in Generate_DoubleToI() local
2480 Register scratch = GetRegisterThatIsNotOneOf(result_reg); in Generate_DoubleToI()
2481 Register scratch2 = GetRegisterThatIsNotOneOf(result_reg, scratch); in Generate_DoubleToI()
2482 Register scratch3 = GetRegisterThatIsNotOneOf(result_reg, scratch, scratch2); in Generate_DoubleToI()
2488 __ Push(result_reg); in Generate_DoubleToI()
2514 __ Move(result_reg, scratch3); in Generate_DoubleToI()
2528 __ Ext(result_reg, input_high, HeapNumber::kExponentShift, in Generate_DoubleToI()
2532 __ Subu(scratch, result_reg, HeapNumber::kExponentMask); in Generate_DoubleToI()
2533 __ Movz(result_reg, zero_reg, scratch); in Generate_DoubleToI()
2537 __ Subu(result_reg, result_reg, in Generate_DoubleToI()
[all …]
/external/v8/src/builtins/mips64/
Dbuiltins-mips64.cc2496 Register result_reg = t0; in Generate_DoubleToI() local
2498 Register scratch = GetRegisterThatIsNotOneOf(result_reg); in Generate_DoubleToI()
2499 Register scratch2 = GetRegisterThatIsNotOneOf(result_reg, scratch); in Generate_DoubleToI()
2500 Register scratch3 = GetRegisterThatIsNotOneOf(result_reg, scratch, scratch2); in Generate_DoubleToI()
2506 __ Push(result_reg); in Generate_DoubleToI()
2532 __ Move(result_reg, scratch3); in Generate_DoubleToI()
2546 __ Ext(result_reg, input_high, HeapNumber::kExponentShift, in Generate_DoubleToI()
2550 __ Subu(scratch, result_reg, HeapNumber::kExponentMask); in Generate_DoubleToI()
2551 __ Movz(result_reg, zero_reg, scratch); in Generate_DoubleToI()
2555 __ Subu(result_reg, result_reg, in Generate_DoubleToI()
[all …]
/external/v8/src/builtins/arm/
Dbuiltins-arm.cc2421 Register result_reg = r7; in Generate_DoubleToI() local
2422 Register double_low = GetRegisterThatIsNotOneOf(result_reg); in Generate_DoubleToI()
2423 Register double_high = GetRegisterThatIsNotOneOf(result_reg, double_low); in Generate_DoubleToI()
2427 __ Push(result_reg, double_high, double_low); in Generate_DoubleToI()
2440 __ TryInlineTruncateDoubleToI(result_reg, double_scratch, &done); in Generate_DoubleToI()
2455 __ mov(result_reg, Operand::Zero(), LeaveCC, ge); in Generate_DoubleToI()
2476 __ mov(result_reg, Operand(double_low, LSL, scratch), LeaveCC, ls); in Generate_DoubleToI()
2486 __ Ubfx(result_reg, double_high, 0, HeapNumber::kMantissaBitsInTopWord); in Generate_DoubleToI()
2488 __ orr(result_reg, result_reg, in Generate_DoubleToI()
2490 __ orr(result_reg, double_low, Operand(result_reg, LSL, scratch)); in Generate_DoubleToI()
[all …]
/external/v8/src/builtins/s390/
Dbuiltins-s390.cc2527 Register result_reg = r2; in Generate_DoubleToI() local
2532 Register scratch = GetRegisterThatIsNotOneOf(result_reg); in Generate_DoubleToI()
2533 Register scratch_low = GetRegisterThatIsNotOneOf(result_reg, scratch); in Generate_DoubleToI()
2535 GetRegisterThatIsNotOneOf(result_reg, scratch, scratch_low); in Generate_DoubleToI()
2538 __ Push(result_reg, scratch); in Generate_DoubleToI()
2546 __ ConvertDoubleToInt64(result_reg, double_scratch); in Generate_DoubleToI()
2549 __ TestIfInt32(result_reg); in Generate_DoubleToI()
2590 __ ExtractBitMask(result_reg, scratch_high, HeapNumber::kMantissaMask); in Generate_DoubleToI()
2595 __ OrP(result_reg, result_reg, r0); in Generate_DoubleToI()
2596 __ ShiftLeft(r0, result_reg, scratch); in Generate_DoubleToI()
[all …]
/external/v8/src/builtins/ia32/
Dbuiltins-ia32.cc2602 Register result_reg = eax; in Generate_DoubleToI() local
2621 __ lea(result_reg, MemOperand(ecx, -HeapNumber::kExponentBias)); in Generate_DoubleToI()
2622 __ cmp(result_reg, Immediate(HeapNumber::kMantissaBits)); in Generate_DoubleToI()
2631 __ xor_(result_reg, result_reg); in Generate_DoubleToI()
2644 __ mov(result_reg, Operand(esp, 0)); // Load low word of answer as result in Generate_DoubleToI()
2651 __ mov(result_reg, exponent_operand); in Generate_DoubleToI()
2652 __ and_(result_reg, in Generate_DoubleToI()
2654 __ add(result_reg, in Generate_DoubleToI()
2656 __ shrd_cl(scratch1, result_reg); in Generate_DoubleToI()
2657 __ shr_cl(result_reg); in Generate_DoubleToI()
[all …]
/external/v8/src/compiler/ppc/
Dcode-generator-ppc.cc463 DoubleRegister result_reg = i.OutputDoubleRegister(); \
476 __ fadd(result_reg, left_reg, right_reg); \
484 if (right_reg != result_reg) { \
485 __ fmr(result_reg, right_reg); \
490 if (left_reg != result_reg) { \
491 __ fmr(result_reg, left_reg); \
500 DoubleRegister result_reg = i.OutputDoubleRegister(); \
518 __ fadd(result_reg, left_reg, right_reg); \
520 __ fsub(result_reg, left_reg, right_reg); \
522 __ fneg(result_reg, result_reg); \
[all …]
/external/v8/src/builtins/x64/
Dbuiltins-x64.cc2577 Register result_reg = rax; in Generate_DoubleToI() local
2592 __ leal(result_reg, MemOperand(rcx, -HeapNumber::kExponentBias)); in Generate_DoubleToI()
2593 __ cmpl(result_reg, Immediate(HeapNumber::kMantissaBits)); in Generate_DoubleToI()
2599 __ xorl(result_reg, result_reg); in Generate_DoubleToI()
2606 __ Cvttsd2siq(result_reg, kScratchDoubleReg); in Generate_DoubleToI()
2611 __ movl(result_reg, scratch1); in Generate_DoubleToI()
2612 __ negl(result_reg); in Generate_DoubleToI()
2614 __ cmovl(greater, result_reg, scratch1); in Generate_DoubleToI()
2618 __ movl(return_operand, result_reg); in Generate_DoubleToI()
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc242 void MacroAssembler::DoubleToI(Register result_reg, XMMRegister input_reg, in DoubleToI() argument
246 cvttsd2si(result_reg, Operand(input_reg)); in DoubleToI()
247 Cvtsi2sd(scratch, Operand(result_reg)); in DoubleToI()
Dmacro-assembler-ia32.h598 void DoubleToI(Register result_reg, XMMRegister input_reg,
/external/v8/src/x64/
Dmacro-assembler-x64.cc1914 void MacroAssembler::DoubleToI(Register result_reg, XMMRegister input_reg, in DoubleToI() argument
1917 Cvttsd2si(result_reg, input_reg); in DoubleToI()
1918 Cvtlsi2sd(kScratchDoubleReg, result_reg); in DoubleToI()
Dmacro-assembler-x64.h752 void DoubleToI(Register result_reg, XMMRegister input_reg,
/external/v8/src/
Ddeoptimizer.cc1292 Register result_reg = kReturnRegister0; in DoComputeConstructStubFrame() local
1293 intptr_t result = input_->GetRegister(result_reg.code()); in DoComputeConstructStubFrame()
1702 Register result_reg = kReturnRegister0; in DoComputeBuiltinContinuation() local
1703 frame_writer.PushRawValue(input_->GetRegister(result_reg.code()), in DoComputeBuiltinContinuation()
/external/vixl/test/aarch32/
Dtest-assembler-aarch32.cc1896 Register result_reg; member
1963 (masm.*test_case.instruction)(test_case.result_reg, &literal); in GenerateLdrLiteralTriggerPoolEmission()
1972 ASSERT_EQUAL_32(test_case.test_value, test_case.result_reg); in GenerateLdrLiteralTriggerPoolEmission()
2005 (masm.*test_case.instruction)(test_case.result_reg, &literal); in GenerateLdrLiteralRangeTest()
2025 ASSERT_EQUAL_32(test_case.test_value, test_case.result_reg); in GenerateLdrLiteralRangeTest()
/external/vixl/test/aarch64/
Dtest-assembler-aarch64.cc8874 Register result_reg(2, reg_size); in AdcsSbcsHelper() local
8884 (masm.*op)(result_reg, left_reg, right_reg); in AdcsSbcsHelper()
8891 ASSERT_EQUAL_64(expected, result_reg.X()); in AdcsSbcsHelper()