Lines Matching refs:xreg
169 return xreg(0); in CallInt64()
238 saved_registers[i] = xreg(register_list.PopLowestIndex().code()); in CheckPCSComplianceAndRun()
254 CHECK_EQ(saved_registers[i], xreg(register_list.PopLowestIndex().code())); in CheckPCSComplianceAndRun()
585 xreg(0), xreg(1), xreg(2), xreg(3), in DoRuntimeCall()
586 xreg(4), xreg(5), xreg(6), xreg(7)); in DoRuntimeCall()
587 ObjectPair result = target(xreg(0), xreg(1), xreg(2), xreg(3), in DoRuntimeCall()
588 xreg(4), xreg(5), xreg(6), xreg(7)); in DoRuntimeCall()
604 TraceSim("Arguments: 0x%016" PRIx64 "\n", xreg(0)); in DoRuntimeCall()
605 target(xreg(0)); in DoRuntimeCall()
679 xreg(0), xreg(1)); in DoRuntimeCall()
680 target(xreg(0), xreg(1)); in DoRuntimeCall()
693 void* arg1 = Redirection::ReverseRedirection(xreg(1)); in DoRuntimeCall()
694 TraceSim("Arguments: 0x%016" PRIx64 ", %p\n", xreg(0), arg1); in DoRuntimeCall()
695 target(xreg(0), arg1); in DoRuntimeCall()
710 void* arg2 = Redirection::ReverseRedirection(xreg(2)); in DoRuntimeCall()
712 xreg(0), xreg(1), arg2); in DoRuntimeCall()
713 target(xreg(0), xreg(1), arg2); in DoRuntimeCall()
1336 bool take_branch = ((xreg(instr->Rt()) & (1UL << bit_pos)) == 0); in VisitTestBranch()
1353 case CBZ_x: take_branch = (xreg(rt) == 0); break; in VisitCompareBranch()
1355 case CBNZ_x: take_branch = (xreg(rt) != 0); break; in VisitCompareBranch()
1398 int64_t op2 = ShiftOperand(xreg(instr->Rm()), shift_type, shift_amount); in VisitAddSubShifted()
1421 int64_t op2 = ExtendValue(xreg(instr->Rm()), ext, left_shift); in VisitAddSubExtended()
1444 int64_t op2 = ShiftOperand(xreg(instr->Rm()), shift_type, shift_amount); in VisitLogicalShifted()
1495 ConditionalCompareHelper(instr, xreg(instr->Rm())); in VisitConditionalCompareRegister()
1558 int64_t offset = ExtendValue(xreg(instr->Rm()), ext, shift_amount); in VisitLoadStoreRegisterOffset()
1605 case STR_x: MemoryWrite<uint64_t>(address, xreg(srcdst)); break; in LoadStoreHelper()
1746 MemoryWrite<uint64_t>(address, xreg(rt)); in LoadStorePairHelper()
1747 MemoryWrite<uint64_t>(address2, xreg(rt2)); in LoadStorePairHelper()
1828 uint64_t address = xreg(addr_reg, Reg31IsStackPointer); in LoadStoreAddress()
1849 uint64_t address = xreg(addr_reg, Reg31IsStackPointer); in LoadStoreWriteBack()
1894 int64_t prev_xn_val = is_64_bits ? xreg(reg_code) in VisitMoveWideImmediate()
1915 uint64_t new_val = xreg(instr->Rm()); in VisitConditionalSelect()
1929 set_xreg(instr->Rd(), xreg(instr->Rn())); in VisitConditionalSelect()
1943 case RBIT_x: set_xreg(dst, ReverseBits(xreg(src), kXRegSizeInBits)); break; in VisitDataProcessing1Source()
1945 case REV16_x: set_xreg(dst, ReverseBytes(xreg(src), Reverse16)); break; in VisitDataProcessing1Source()
1947 case REV32_x: set_xreg(dst, ReverseBytes(xreg(src), Reverse32)); break; in VisitDataProcessing1Source()
1948 case REV_x: set_xreg(dst, ReverseBytes(xreg(src), Reverse64)); break; in VisitDataProcessing1Source()
1951 case CLZ_x: set_xreg(dst, CountLeadingZeros(xreg(src), kXRegSizeInBits)); in VisitDataProcessing1Source()
1958 set_xreg(dst, CountLeadingSignBits(xreg(src), kXRegSizeInBits)); in VisitDataProcessing1Source()
2103 result = xreg(instr->Ra()) + (xreg(instr->Rn()) * xreg(instr->Rm())); in VisitDataProcessing3Source()
2107 result = xreg(instr->Ra()) - (xreg(instr->Rn()) * xreg(instr->Rm())); in VisitDataProcessing3Source()
2109 case SMADDL_x: result = xreg(instr->Ra()) + (rn_s32 * rm_s32); break; in VisitDataProcessing3Source()
2110 case SMSUBL_x: result = xreg(instr->Ra()) - (rn_s32 * rm_s32); break; in VisitDataProcessing3Source()
2111 case UMADDL_x: result = xreg(instr->Ra()) + (rn_u32 * rm_u32); break; in VisitDataProcessing3Source()
2112 case UMSUBL_x: result = xreg(instr->Ra()) - (rn_u32 * rm_u32); break; in VisitDataProcessing3Source()
2115 result = MultiplyHighSigned(xreg(instr->Rn()), xreg(instr->Rm())); in VisitDataProcessing3Source()
2273 case FMOV_dx: set_dreg_bits(dst, xreg(src)); break; in VisitFPIntegerConvert()
2277 case SCVTF_dx: set_dreg(dst, FixedToDouble(xreg(src), 0, round)); break; in VisitFPIntegerConvert()
2279 case UCVTF_dx: set_dreg(dst, UFixedToDouble(xreg(src), 0, round)); break; in VisitFPIntegerConvert()
2284 case SCVTF_sx: set_sreg(dst, FixedToFloat(xreg(src), 0, round)); break; in VisitFPIntegerConvert()
2286 case UCVTF_sx: set_sreg(dst, UFixedToFloat(xreg(src), 0, round)); break; in VisitFPIntegerConvert()
2310 set_dreg(dst, FixedToDouble(xreg(src), fbits, round)); in VisitFPFixedPointConvert()
2316 set_dreg(dst, UFixedToDouble(xreg(src), fbits, round)); in VisitFPFixedPointConvert()
2324 set_sreg(dst, FixedToFloat(xreg(src), fbits, round)); in VisitFPFixedPointConvert()
2330 set_sreg(dst, UFixedToFloat(xreg(src), fbits, round)); in VisitFPFixedPointConvert()
3202 nzcv().SetRawValue(xreg(instr->Rt())); in VisitSystem()
3206 fpcr().SetRawValue(xreg(instr->Rt())); in VisitSystem()
3243 *value = xreg(code, Reg31IsStackPointer); in GetValue()
3260 clr_reg_name, clr_reg_value, xreg(31, Reg31IsStackPointer), clr_normal); in PrintValue()
3304 clr_reg_name, XRegNameForCode(i), clr_reg_value, xreg(i), clr_normal); in PrintValue()
3788 part_result = fprintf(stream_, chunks[i], xreg(pcs_r++)); in DoPrintf()