Home
last modified time | relevance | path

Searched refs:encoder (Results 1 – 4 of 4) sorted by relevance

/art/compiler/dex/quick/mips/
Dassemble_mips.cc791 const MipsEncodingMap *encoder = &EncodingMap[lir->opcode]; in AssembleInstructions() local
792 uint32_t bits = encoder->skeleton; in AssembleInstructions()
798 switch (encoder->field_loc[i].kind) { in AssembleInstructions()
802 if (encoder->field_loc[i].start == 0 && encoder->field_loc[i].end == 31) { in AssembleInstructions()
805 value = (operand << encoder->field_loc[i].start) & in AssembleInstructions()
806 ((1 << (encoder->field_loc[i].end + 1)) - 1); in AssembleInstructions()
812 bits |= (value << encoder->field_loc[i].start); in AssembleInstructions()
813 bits |= (value << encoder->field_loc[i].end); in AssembleInstructions()
821 value = (RegStorage::RegNum(operand) << encoder->field_loc[i].start) & in AssembleInstructions()
822 ((1 << (encoder->field_loc[i].end + 1)) - 1); in AssembleInstructions()
[all …]
/art/compiler/dex/quick/arm64/
Dassemble_arm64.cc700 const A64EncodingMap *encoder = &EncodingMap[opcode]; in EncodeLIRs() local
703 uint32_t bits = opcode_is_wide ? encoder->xskeleton : encoder->wskeleton; in EncodeLIRs()
704 DCHECK(!opcode_is_wide || IS_WIDE(encoder->opcode)); in EncodeLIRs()
707 A64EncodingKind kind = encoder->field_loc[i].kind; in EncodeLIRs()
752 LOG(FATAL) << "Bad fmt for arg n. " << i << " of " << encoder->name in EncodeLIRs()
787 LOG(FATAL) << "Bad argument n. " << i << " of " << encoder->name in EncodeLIRs()
788 << "(" << UNWIDE(encoder->opcode) << ", " << encoder->fmt << ")" in EncodeLIRs()
791 LOG(WARNING) << "Bad argument n. " << i << " of " << encoder->name in EncodeLIRs()
805 value = (operand << encoder->field_loc[i].start) & in EncodeLIRs()
806 ((1 << (encoder->field_loc[i].end + 1)) - 1); in EncodeLIRs()
[all …]
Dutility_arm64.cc96 const A64EncodingMap *encoder = &EncodingMap[opcode]; in GetLoadStoreSize() local
97 uint32_t bits = opcode_is_wide ? encoder->xskeleton : encoder->wskeleton; in GetLoadStoreSize()
/art/compiler/dex/quick/arm/
Dassemble_arm.cc1101 const ArmEncodingMap *encoder = &EncodingMap[lir->opcode]; in EncodeLIRs() local
1102 uint32_t bits = encoder->skeleton; in EncodeLIRs()
1107 ArmEncodingKind kind = encoder->field_loc[i].kind; in EncodeLIRs()
1109 value = (operand << encoder->field_loc[i].start) & in EncodeLIRs()
1110 ((1 << (encoder->field_loc[i].end + 1)) - 1); in EncodeLIRs()
1113 switch (encoder->field_loc[i].kind) { in EncodeLIRs()
1115 value = (operand << encoder->field_loc[i].start) & in EncodeLIRs()
1116 ((1 << (encoder->field_loc[i].end + 1)) - 1); in EncodeLIRs()
1121 value = (operand << encoder->field_loc[i].start) & in EncodeLIRs()
1122 ((1 << (encoder->field_loc[i].end + 1)) - 1); in EncodeLIRs()
[all …]