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

12

/external/v8/src/arm/
H A Dassembler-arm.h121 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; }
122 bool is(Register reg) const { return reg_code == reg.reg_code; }
125 return reg_code;
129 return 1 << reg_code;
132 reg_code = code;
137 int reg_code;
164 bool is_valid() const { return 0 <= reg_code && reg_code < 3
[all...]
H A Dassembler-arm.cc643 reg.reg_code = Instruction::RdValue(instr);
650 reg.reg_code = Instruction::RnValue(instr);
657 reg.reg_code = Instruction::RmValue(instr);
2923 // Split five bit reg_code based on size of reg_type.
2928 int reg_code,
2931 DCHECK((reg_code >= 0) && (reg_code <= 31));
2934 *m = reg_code & 0x1;
2935 *vm = reg_code >> 1;
2938 *m = (reg_code
2927 SplitRegCode(VFPType reg_type, int reg_code, int* vm, int* m) argument
[all...]
H A Dmacro-assembler-arm.cc844 int MacroAssembler::SafepointRegisterStackIndex(int reg_code) {
847 if (FLAG_enable_embedded_constant_pool && reg_code > pp.code()) {
849 reg_code -= 1;
851 DCHECK(reg_code >= 0 && reg_code < kNumSafepointRegisters);
852 return reg_code;
/external/v8/src/mips/
H A Dassembler-mips.h128 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; }
129 bool is(Register reg) const { return reg_code == reg.reg_code; }
132 return reg_code;
136 return 1 << reg_code;
140 int reg_code;
176 bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegisters; }
177 bool is(FPURegister reg) const { return reg_code
[all...]
H A Dassembler-mips.cc345 rt.reg_code = (instr & kRtFieldMask) >> kRtShift;
352 rs.reg_code = (instr & kRsFieldMask) >> kRsShift;
359 rd.reg_code = (instr & kRdFieldMask) >> kRdShift;
2084 rt.reg_code = (cc & 0x0007) << 2 | 1;
2091 rt.reg_code = (cc & 0x0007) << 2 | 0;
2395 ft.reg_code = (cc & 0x0007) << 2 | 1;
2403 ft.reg_code = (cc & 0x0007) << 2 | 1;
2411 ft.reg_code = (cc & 0x0007) << 2 | 0;
2419 ft.reg_code = (cc & 0x0007) << 2 | 0;
H A Dmacro-assembler-mips.cc174 int MacroAssembler::SafepointRegisterStackIndex(int reg_code) { argument
177 return kSafepointRegisterStackIndexMap[reg_code];
2966 if (rs.code() == rt.rm_.reg_code) {
2990 if (rs.code() == rt.rm_.reg_code) {
3017 if (rs.code() == rt.rm_.reg_code) {
3041 if (rs.code() == rt.rm_.reg_code) {
3068 if (rs.code() == rt.rm_.reg_code) {
3092 if (rs.code() == rt.rm_.reg_code) {
3121 if (rs.code() == rt.rm_.reg_code) {
3145 if (rs.code() == rt.rm_.reg_code) {
[all...]
/external/v8/src/mips64/
H A Dassembler-mips64.h128 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; }
129 bool is(Register reg) const { return reg_code == reg.reg_code; }
132 return reg_code;
136 return 1 << reg_code;
140 int reg_code;
176 bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegisters; }
177 bool is(FPURegister reg) const { return reg_code
[all...]
H A Dassembler-mips64.cc326 rt.reg_code = (instr & kRtFieldMask) >> kRtShift;
333 rs.reg_code = (instr & kRsFieldMask) >> kRsShift;
340 rd.reg_code = (instr & kRdFieldMask) >> kRdShift;
2335 rt.reg_code = (cc & 0x0007) << 2 | 1;
2342 rt.reg_code = (cc & 0x0007) << 2 | 0;
2701 ft.reg_code = (cc & 0x0007) << 2 | 1;
2709 ft.reg_code = (cc & 0x0007) << 2 | 1;
2717 ft.reg_code = (cc & 0x0007) << 2 | 0;
2725 ft.reg_code = (cc & 0x0007) << 2 | 0;
H A Dmacro-assembler-mips64.cc177 int MacroAssembler::SafepointRegisterStackIndex(int reg_code) { argument
180 return kSafepointRegisterStackIndexMap[reg_code];
3134 if (rs.code() == rt.rm_.reg_code) {
3158 if (rs.code() == rt.rm_.reg_code) {
3185 if (rs.code() == rt.rm_.reg_code) {
3209 if (rs.code() == rt.rm_.reg_code) {
3236 if (rs.code() == rt.rm_.reg_code) {
3260 if (rs.code() == rt.rm_.reg_code) {
3289 if (rs.code() == rt.rm_.reg_code) {
3313 if (rs.code() == rt.rm_.reg_code) {
[all...]
/external/v8/src/ppc/
H A Dassembler-ppc.h169 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; }
170 bool is(Register reg) const { return reg_code == reg.reg_code; }
173 return reg_code;
177 return 1 << reg_code;
180 reg_code = code;
193 int reg_code;
222 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegister
[all...]
/external/v8/src/arm64/
H A Dsimulator-arm64.h563 void PrintRead(uintptr_t address, size_t size, unsigned reg_code);
564 void PrintReadFP(uintptr_t address, size_t size, unsigned reg_code);
565 void PrintWrite(uintptr_t address, size_t size, unsigned reg_code);
566 void PrintWriteFP(uintptr_t address, size_t size, unsigned reg_code);
569 void LogRead(uintptr_t address, size_t size, unsigned reg_code) {
570 if (log_parameters() & LOG_REGS) PrintRead(address, size, reg_code);
572 void LogReadFP(uintptr_t address, size_t size, unsigned reg_code) {
573 if (log_parameters() & LOG_FP_REGS) PrintReadFP(address, size, reg_code);
575 void LogWrite(uintptr_t address, size_t size, unsigned reg_code) {
576 if (log_parameters() & LOG_WRITE) PrintWrite(address, size, reg_code);
[all...]
H A Dassembler-arm64-inl.h46 return reg_code;
57 DCHECK(static_cast<size_t>(reg_code) < (sizeof(RegList) * kBitsPerByte));
58 return IsValid() ? 1UL << reg_code : 0;
101 ((reg_code < kNumberOfRegisters) || (reg_code == kSPRegInternalCode));
108 (reg_code < kNumberOfFPRegisters);
114 DCHECK((reg_type != kNoRegister) || (reg_code == 0));
129 return (reg_code == other.reg_code) && (reg_type == other.reg_type);
155 return IsRegister() && (reg_code
[all...]
H A Dsimulator-arm64.cc1211 unsigned reg_code) {
1216 clr_reg_name, XRegNameForCode(reg_code),
1217 clr_reg_value, reg<uint64_t>(reg_code), clr_normal);
1226 unsigned reg_code) {
1231 clr_fpreg_name, VRegNameForCode(reg_code),
1232 clr_fpreg_value, fpreg<uint64_t>(reg_code), clr_normal,
1233 clr_fpreg_name, SRegNameForCode(reg_code),
1234 clr_fpreg_value, fpreg<float>(reg_code), clr_normal);
1238 clr_fpreg_name, VRegNameForCode(reg_code),
1239 clr_fpreg_value, fpreg<uint64_t>(reg_code), clr_norma
1209 PrintRead(uintptr_t address, size_t size, unsigned reg_code) argument
1224 PrintReadFP(uintptr_t address, size_t size, unsigned reg_code) argument
1252 PrintWrite(uintptr_t address, size_t size, unsigned reg_code) argument
1287 PrintWriteFP(uintptr_t address, size_t size, unsigned reg_code) argument
1947 unsigned reg_code = instr->Rd(); local
[all...]
H A Dassembler-arm64.h126 int reg_code; member in struct:v8::internal::CPURegister
138 reg_code = 0;
144 reg_code = r.reg_code;
151 reg_code = r.reg_code;
213 reg_code = 0;
219 reg_code = r.reg_code;
226 reg_code
[all...]
H A Dmacro-assembler-arm64.cc4144 int MacroAssembler::SafepointRegisterStackIndex(int reg_code) { argument
4159 if ((reg_code >= 0) && (reg_code <= 15)) {
4160 return reg_code;
4161 } else if ((reg_code >= 18) && (reg_code <= 27)) {
4163 return reg_code - 2;
4164 } else if ((reg_code == 29) || (reg_code == 30)) {
4166 return reg_code
5137 int reg_code = RegisterBits::decode(payload32); local
[all...]
/external/v8/src/x87/
H A Dassembler-x87.h125 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; }
126 bool is(Register reg) const { return reg_code == reg.reg_code; }
129 return reg_code;
133 return 1 << reg_code;
136 bool is_byte_register() const { return reg_code <= 3; }
139 int reg_code;
167 bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegister
[all...]
/external/v8/src/s390/
H A Dassembler-s390.h148 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; }
149 bool is(Register reg) const { return reg_code == reg.reg_code; }
152 return reg_code;
156 return 1 << reg_code;
160 reg_code = code;
173 int reg_code;
203 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegister
[all...]
/external/v8/src/ia32/
H A Dassembler-ia32.h127 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; }
128 bool is(Register reg) const { return reg_code == reg.reg_code; }
131 return reg_code;
135 return 1 << reg_code;
138 bool is_byte_register() const { return reg_code <= 3; }
141 int reg_code;
168 bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegister
[all...]
H A Dmacro-assembler-ia32.cc2587 int MacroAssembler::SafepointRegisterStackIndex(int reg_code) { argument
2591 DCHECK(reg_code >= 0 && reg_code < kNumSafepointRegisters);
2592 return kNumSafepointRegisters - reg_code - 1;
/external/vixl/src/vixl/a64/
H A Dsimulator-a64.h1152 void PrintRead(uintptr_t address, unsigned reg_code,
1154 void PrintWrite(uintptr_t address, unsigned reg_code,
1156 void PrintVRead(uintptr_t address, unsigned reg_code,
1158 void PrintVWrite(uintptr_t address, unsigned reg_code,
1162 void LogRead(uintptr_t address, unsigned reg_code,
1164 if (trace_parameters() & LOG_REGS) PrintRead(address, reg_code, format);
1166 void LogWrite(uintptr_t address, unsigned reg_code,
1168 if (trace_parameters() & LOG_WRITE) PrintWrite(address, reg_code, format);
1170 void LogVRead(uintptr_t address, unsigned reg_code,
1173 PrintVRead(address, reg_code, forma
[all...]
H A Dsimulator-a64.cc729 unsigned reg_code,
731 registers_[reg_code].NotifyRegisterLogged();
736 PrintRegisterRawHelper(reg_code, Reg31IsZeroRegister);
743 unsigned reg_code,
746 vregisters_[reg_code].NotifyRegisterLogged();
749 PrintVRegisterRawHelper(reg_code);
751 PrintVRegisterFPHelper(reg_code, GetPrintRegLaneSizeInBytes(format),
760 unsigned reg_code,
766 PrintRegisterRawHelper(reg_code, Reg31IsZeroRegister,
774 unsigned reg_code,
728 PrintRead(uintptr_t address, unsigned reg_code, PrintRegisterFormat format) argument
742 PrintVRead(uintptr_t address, unsigned reg_code, PrintRegisterFormat format, unsigned lane) argument
759 PrintWrite(uintptr_t address, unsigned reg_code, PrintRegisterFormat format) argument
773 PrintVWrite(uintptr_t address, unsigned reg_code, PrintRegisterFormat format, unsigned lane) argument
1545 unsigned reg_code = instr->Rd(); local
[all...]
/external/v8/src/x64/
H A Dassembler-x64.h120 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; }
121 bool is(Register reg) const { return reg_code == reg.reg_code; }
124 return reg_code;
128 return 1 << reg_code;
131 bool is_byte_register() const { return reg_code <= 3; }
134 int high_bit() const { return reg_code >> 3; }
137 int low_bits() const { return reg_code & 0x7; }
141 int reg_code;
[all...]
H A Dmacro-assembler-x64.h1681 static int SafepointRegisterStackIndex(int reg_code) { argument
1682 return kNumSafepointRegisters - kSafepointPushRegisterIndices[reg_code] - 1;
/external/v8/src/
H A Dframes.cc1746 int reg_code[kNumJSCallerSaved]; member in struct:v8::internal::JSCallerSavedCodeData
1755 caller_saved_code_data.reg_code[i++] = r;
1763 return caller_saved_code_data.reg_code[n];
/external/v8/src/ic/s390/
H A Dic-s390.cc846 reg.reg_code = instr_at_patch & 0xf;

Completed in 379 milliseconds

12