Home
last modified time | relevance | path

Searched refs:reg_code (Results 1 – 25 of 38) sorted by relevance

12

/external/v8/src/arm/
Dassembler-arm.h125 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; } in is_valid()
126 bool is(Register reg) const { return reg_code == reg.reg_code; } in is()
129 return reg_code; in code()
133 return 1 << reg_code; in bit()
136 reg_code = code; in set_code()
141 int reg_code; member
169 bool is_valid() const { return 0 <= reg_code && reg_code < 32; } in is_valid()
170 bool is(SwVfpRegister reg) const { return reg_code == reg.reg_code; } in is()
173 return reg_code; in code()
177 return 1 << reg_code; in bit()
[all …]
Dassembler-arm.cc723 reg.reg_code = Instruction::RdValue(instr); in GetRd()
730 reg.reg_code = Instruction::RnValue(instr); in GetRn()
737 reg.reg_code = Instruction::RmValue(instr); in GetRm()
3003 int reg_code, in SplitRegCode() argument
3006 DCHECK((reg_code >= 0) && (reg_code <= 31)); in SplitRegCode()
3009 *m = reg_code & 0x1; in SplitRegCode()
3010 *vm = reg_code >> 1; in SplitRegCode()
3013 *m = (reg_code & 0x10) >> 4; in SplitRegCode()
3014 *vm = reg_code & 0x0F; in SplitRegCode()
Dmacro-assembler-arm.cc857 int MacroAssembler::SafepointRegisterStackIndex(int reg_code) { in SafepointRegisterStackIndex() argument
860 if (FLAG_enable_embedded_constant_pool && reg_code > pp.code()) { in SafepointRegisterStackIndex()
862 reg_code -= 1; in SafepointRegisterStackIndex()
864 DCHECK(reg_code >= 0 && reg_code < kNumSafepointRegisters); in SafepointRegisterStackIndex()
865 return reg_code; in SafepointRegisterStackIndex()
/external/v8/src/mips/
Dassembler-mips.h129 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; } in is_valid()
130 bool is(Register reg) const { return reg_code == reg.reg_code; } in is()
133 return reg_code; in code()
137 return 1 << reg_code; in bit()
141 int reg_code; member
178 bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegisters; } in is_valid()
179 bool is(FPURegister reg) const { return reg_code == reg.reg_code; } in is()
182 DCHECK(reg_code % 2 == 0); // Specified Double reg must be even. in low()
184 reg.reg_code = reg_code; in low()
190 DCHECK(reg_code % 2 == 0); // Specified Double reg must be even. in high()
[all …]
Dassembler-mips.cc347 rt.reg_code = (instr & kRtFieldMask) >> kRtShift; in GetRtReg()
354 rs.reg_code = (instr & kRsFieldMask) >> kRsShift; in GetRsReg()
361 rd.reg_code = (instr & kRdFieldMask) >> kRdShift; in GetRdReg()
2134 rt.reg_code = (cc & 0x0007) << 2 | 1; in movt()
2141 rt.reg_code = (cc & 0x0007) << 2 | 0; in movf()
2445 ft.reg_code = (cc & 0x0007) << 2 | 1; in movt_s()
2453 ft.reg_code = (cc & 0x0007) << 2 | 1; in movt_d()
2461 ft.reg_code = (cc & 0x0007) << 2 | 0; in movf_s()
2469 ft.reg_code = (cc & 0x0007) << 2 | 0; in movf_d()
Dmacro-assembler-mips.cc161 int MacroAssembler::SafepointRegisterStackIndex(int reg_code) { in SafepointRegisterStackIndex() argument
164 return kSafepointRegisterStackIndexMap[reg_code]; in SafepointRegisterStackIndex()
2731 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
2755 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
2782 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
2806 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
2833 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
2857 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
2886 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
2910 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
[all …]
/external/v8/src/mips64/
Dassembler-mips64.h129 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; } in is_valid()
130 bool is(Register reg) const { return reg_code == reg.reg_code; } in is()
133 return reg_code; in code()
137 return 1 << reg_code; in bit()
141 int reg_code; member
178 bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegisters; } in is_valid()
179 bool is(FPURegister reg) const { return reg_code == reg.reg_code; } in is()
183 DCHECK(reg_code % 2 == 0); // Specified Double reg must be even. in low()
185 reg.reg_code = reg_code; in low()
192 DCHECK(reg_code % 2 == 0); // Specified Double reg must be even. in high()
[all …]
Dassembler-mips64.cc329 rt.reg_code = (instr & kRtFieldMask) >> kRtShift; in GetRtReg()
336 rs.reg_code = (instr & kRsFieldMask) >> kRsShift; in GetRsReg()
343 rd.reg_code = (instr & kRdFieldMask) >> kRdShift; in GetRdReg()
2386 rt.reg_code = (cc & 0x0007) << 2 | 1; in movt()
2393 rt.reg_code = (cc & 0x0007) << 2 | 0; in movf()
2752 ft.reg_code = (cc & 0x0007) << 2 | 1; in movt_s()
2760 ft.reg_code = (cc & 0x0007) << 2 | 1; in movt_d()
2768 ft.reg_code = (cc & 0x0007) << 2 | 0; in movf_s()
2776 ft.reg_code = (cc & 0x0007) << 2 | 0; in movf_d()
Dmacro-assembler-mips64.cc177 int MacroAssembler::SafepointRegisterStackIndex(int reg_code) { in SafepointRegisterStackIndex() argument
180 return kSafepointRegisterStackIndexMap[reg_code]; in SafepointRegisterStackIndex()
2904 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
2928 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
2955 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
2979 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
3006 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
3030 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
3059 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
3083 if (rs.code() == rt.rm_.reg_code) { in BranchShortHelperR6()
[all …]
/external/v8/src/arm64/
Dsimulator-arm64.h564 void PrintRead(uintptr_t address, size_t size, unsigned reg_code);
565 void PrintReadFP(uintptr_t address, size_t size, unsigned reg_code);
566 void PrintWrite(uintptr_t address, size_t size, unsigned reg_code);
567 void PrintWriteFP(uintptr_t address, size_t size, unsigned reg_code);
570 void LogRead(uintptr_t address, size_t size, unsigned reg_code) {
571 if (log_parameters() & LOG_REGS) PrintRead(address, size, reg_code);
573 void LogReadFP(uintptr_t address, size_t size, unsigned reg_code) {
574 if (log_parameters() & LOG_FP_REGS) PrintReadFP(address, size, reg_code);
576 void LogWrite(uintptr_t address, size_t size, unsigned reg_code) {
577 if (log_parameters() & LOG_WRITE) PrintWrite(address, size, reg_code);
[all …]
Dassembler-arm64-inl.h32 return reg_code; in code()
43 DCHECK(static_cast<size_t>(reg_code) < (sizeof(RegList) * kBitsPerByte)); in Bit()
44 return IsValid() ? 1UL << reg_code : 0; in Bit()
87 ((reg_code < kNumberOfRegisters) || (reg_code == kSPRegInternalCode)); in IsValidRegister()
94 (reg_code < kNumberOfFPRegisters); in IsValidFPRegister()
100 DCHECK((reg_type != kNoRegister) || (reg_code == 0)); in IsNone()
115 return (reg_code == other.reg_code) && (reg_type == other.reg_type); in Aliases()
141 return IsRegister() && (reg_code == kZeroRegCode); in IsZero()
147 return IsRegister() && (reg_code == kSPRegInternalCode); in IsSP()
233 return Register::WRegFromCode(reg_code); in W()
[all …]
Dsimulator-arm64.cc1210 unsigned reg_code) { in PrintRead() argument
1215 clr_reg_name, XRegNameForCode(reg_code), in PrintRead()
1216 clr_reg_value, reg<uint64_t>(reg_code), clr_normal); in PrintRead()
1225 unsigned reg_code) { in PrintReadFP() argument
1230 clr_fpreg_name, VRegNameForCode(reg_code), in PrintReadFP()
1231 clr_fpreg_value, fpreg<uint64_t>(reg_code), clr_normal, in PrintReadFP()
1232 clr_fpreg_name, SRegNameForCode(reg_code), in PrintReadFP()
1233 clr_fpreg_value, fpreg<float>(reg_code), clr_normal); in PrintReadFP()
1237 clr_fpreg_name, VRegNameForCode(reg_code), in PrintReadFP()
1238 clr_fpreg_value, fpreg<uint64_t>(reg_code), clr_normal, in PrintReadFP()
[all …]
Dassembler-arm64.h130 int reg_code; member
142 reg_code = 0; in Register()
148 reg_code = r.reg_code; in Register()
155 reg_code = r.reg_code; in Register()
218 reg_code = 0; in FPRegister()
224 reg_code = r.reg_code; in FPRegister()
231 reg_code = r.reg_code; in FPRegister()
Dmacro-assembler-arm64.cc3687 int MacroAssembler::SafepointRegisterStackIndex(int reg_code) { in SafepointRegisterStackIndex() argument
3702 if ((reg_code >= 0) && (reg_code <= 15)) { in SafepointRegisterStackIndex()
3703 return reg_code; in SafepointRegisterStackIndex()
3704 } else if ((reg_code >= 18) && (reg_code <= 27)) { in SafepointRegisterStackIndex()
3706 return reg_code - 2; in SafepointRegisterStackIndex()
3707 } else if ((reg_code == 29) || (reg_code == 30)) { in SafepointRegisterStackIndex()
3709 return reg_code - 3; in SafepointRegisterStackIndex()
4624 int reg_code = RegisterBits::decode(payload32); in InlineSmiCheckInfo() local
4625 reg_ = Register::XRegFromCode(reg_code); in InlineSmiCheckInfo()
/external/v8/src/ppc/
Dassembler-ppc.h170 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; } in is_valid()
171 bool is(Register reg) const { return reg_code == reg.reg_code; } in is()
174 return reg_code; in code()
178 return 1 << reg_code; in bit()
181 reg_code = code; in set_code()
194 int reg_code; member
224 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; } in is_valid()
225 bool is(DoubleRegister reg) const { return reg_code == reg.reg_code; } in is()
228 return reg_code; in code()
232 return 1 << reg_code; in bit()
[all …]
/external/v8/src/x87/
Dassembler-x87.h126 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; } in is_valid()
127 bool is(Register reg) const { return reg_code == reg.reg_code; } in is()
130 return reg_code; in code()
134 return 1 << reg_code; in bit()
137 bool is_byte_register() const { return reg_code <= 3; } in is_byte_register()
140 int reg_code; member
169 bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegisters; } in is_valid()
173 return reg_code; in code()
176 bool is(X87Register reg) const { return reg_code == reg.reg_code; } in is()
178 int reg_code; member
Dmacro-assembler-x87.cc2057 int MacroAssembler::SafepointRegisterStackIndex(int reg_code) { in SafepointRegisterStackIndex() argument
2061 DCHECK(reg_code >= 0 && reg_code < kNumSafepointRegisters); in SafepointRegisterStackIndex()
2062 return kNumSafepointRegisters - reg_code - 1; in SafepointRegisterStackIndex()
/external/v8/src/s390/
Dassembler-s390.h149 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; } in is_valid()
150 bool is(Register reg) const { return reg_code == reg.reg_code; } in is()
153 return reg_code; in code()
157 return 1 << reg_code; in bit()
161 reg_code = code; in set_code()
174 int reg_code; member
205 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; } in is_valid()
206 bool is(DoubleRegister reg) const { return reg_code == reg.reg_code; } in is()
210 return reg_code; in code()
215 return 1 << reg_code; in bit()
[all …]
/external/v8/src/ia32/
Dassembler-ia32.h127 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; } in is_valid()
128 bool is(Register reg) const { return reg_code == reg.reg_code; } in is()
131 return reg_code; in code()
135 return 1 << reg_code; in bit()
138 bool is_byte_register() const { return reg_code <= 3; } in is_byte_register()
141 int reg_code; member
169 bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegisters; } in is_valid()
173 return reg_code; in code()
176 bool is(XMMRegister reg) const { return reg_code == reg.reg_code; } in is()
178 int reg_code; member
Dmacro-assembler-ia32.cc2119 int MacroAssembler::SafepointRegisterStackIndex(int reg_code) { in SafepointRegisterStackIndex() argument
2123 DCHECK(reg_code >= 0 && reg_code < kNumSafepointRegisters); in SafepointRegisterStackIndex()
2124 return kNumSafepointRegisters - reg_code - 1; in SafepointRegisterStackIndex()
/external/v8/src/x64/
Dassembler-x64.h123 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; } in is_valid()
124 bool is(Register reg) const { return reg_code == reg.reg_code; } in is()
127 return reg_code; in code()
131 return 1 << reg_code; in bit()
134 bool is_byte_register() const { return reg_code <= 3; } in is_byte_register()
137 int high_bit() const { return reg_code >> 3; } in high_bit()
140 int low_bits() const { return reg_code & 0x7; } in low_bits()
144 int reg_code; member
226 bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegisters; } in is_valid()
227 bool is(XMMRegister reg) const { return reg_code == reg.reg_code; } in is()
[all …]
/external/v8/src/ic/s390/
Dic-s390.cc104 reg.reg_code = instr_at_patch & 0xf; in PatchInlinedSmiCode()
/external/vixl/src/aarch64/
Dsimulator-aarch64.h1614 unsigned reg_code,
1617 unsigned reg_code,
1620 unsigned reg_code,
1624 unsigned reg_code,
1630 unsigned reg_code,
1632 if (GetTraceParameters() & LOG_REGS) PrintRead(address, reg_code, format);
1635 unsigned reg_code,
1637 if (GetTraceParameters() & LOG_WRITE) PrintWrite(address, reg_code, format);
1640 unsigned reg_code,
1644 PrintVRead(address, reg_code, format, lane);
[all …]
Dsimulator-aarch64.cc880 unsigned reg_code, in PrintRead() argument
882 registers_[reg_code].NotifyRegisterLogged(); in PrintRead()
887 PrintRegisterRawHelper(reg_code, Reg31IsZeroRegister); in PrintRead()
897 unsigned reg_code, in PrintVRead() argument
900 vregisters_[reg_code].NotifyRegisterLogged(); in PrintVRead()
903 PrintVRegisterRawHelper(reg_code); in PrintVRead()
905 PrintVRegisterFPHelper(reg_code, in PrintVRead()
919 unsigned reg_code, in PrintWrite() argument
925 PrintRegisterRawHelper(reg_code, in PrintWrite()
937 unsigned reg_code, in PrintVWrite() argument
[all …]
/external/v8/src/
Dframes.cc2211 int reg_code[kNumJSCallerSaved]; member
2220 caller_saved_code_data.reg_code[i++] = r; in SetUpJSCallerSavedCodeData()
2228 return caller_saved_code_data.reg_code[n]; in JSCallerSavedCode()

12