Home
last modified time | relevance | path

Searched refs:imm16 (Results 1 – 25 of 45) sorted by relevance

12

/external/valgrind/none/tests/x86/
Dinsn_basic.def35 adcw eflags[0x1,0x0] : imm16[1234] ax.uw[5678] => 1.uw[6912]
36 adcw eflags[0x1,0x1] : imm16[1234] ax.uw[5678] => 1.uw[6913]
37 adcw eflags[0x1,0x0] : imm16[1234] bx.uw[5678] => 1.uw[6912]
38 adcw eflags[0x1,0x1] : imm16[1234] bx.uw[5678] => 1.uw[6913]
39 adcw eflags[0x1,0x0] : imm16[1234] m16.uw[5678] => 1.uw[6912]
40 adcw eflags[0x1,0x1] : imm16[1234] m16.uw[5678] => 1.uw[6913]
68 addw imm16[1234] ax.uw[5678] => 1.uw[6912]
69 addw imm16[1234] bx.uw[5678] => 1.uw[6912]
70 addw imm16[1234] m16.uw[5678] => 1.uw[6912]
88 andw imm16[0x4231] ax.uw[0x1234] => 1.uw[0x0230]
[all …]
/external/llvm/lib/Target/Mips/
DMips16InstrFormats.td436 bits<16> imm16;
441 let Inst{26-21} = imm16{10-5};
442 let Inst{20-16} = imm16{15-11};
445 let Inst{4-0} = imm16{4-0};
487 bits<16> imm16;
493 let Inst{26-21} = imm16{10-5};
494 let Inst{20-16} = imm16{15-11};
498 let Inst{4-0} = imm16{4-0};
512 bits<16> imm16;
518 let Inst{26-21} = imm16{10-5};
[all …]
DMipsInstrFormats.td158 bits<16> imm16;
164 let Inst{15-0} = imm16;
173 bits<16> imm16;
179 let Inst{15-0} = imm16;
233 bits<16> imm16;
240 let Inst{15-0} = imm16;
316 bits<16> imm16;
323 let Inst{15-0} = imm16;
381 bits<16> imm16;
388 let Inst{15-0} = imm16;
[all …]
DMips16InstrInfo.td41 FI16<op, (outs), (ins brtarget:$imm16),
42 !strconcat(asmstr, "\t$imm16 # 16 bit inst"), [], itin>;
138 FEXT_I16<eop, (outs), (ins brtarget:$imm16),
139 !strconcat(asmstr, "\t$imm16"),[], itin>;
1362 Mips16Pat<(OpNode bb:$imm16), (I bb:$imm16)> {
1400 Mips16Pat<(cond_op CPU16Regs:$rx, imm_type:$imm16),
1401 (I CPU16Regs:$rx, imm_type:$imm16)>;
1438 <(brcond (i32 (seteq CPU16Regs:$rx, CPU16Regs:$ry)), bb:$imm16),
1439 (BteqzT8CmpX16 CPU16Regs:$rx, CPU16Regs:$ry, bb:$imm16)
1457 <(brcond (i32 (setgt CPU16Regs:$rx, CPU16Regs:$ry)), bb:$imm16),
[all …]
DMicroMipsInstrFormats.td302 bits<16> imm16;
309 let Inst{15-0} = imm16;
315 bits<16> imm16;
322 let Inst{15-0} = imm16;
327 bits<16> imm16;
334 let Inst{15-0} = imm16;
635 bits<16> imm16;
642 let Inst{15-0} = imm16;
DMipsInstrInfo.td602 InstSE<(outs RO:$rt), (ins RO:$rs, Od:$imm16),
603 !strconcat(opstr, "\t$rt, $rs, $imm16"),
604 [(set RO:$rt, (OpNode RO:$rs, imm_type:$imm16))],
647 InstSE<(outs RO:$rt), (ins Imm:$imm16), !strconcat(opstr, "\t$rt, $imm16"),
757 InstSE<(outs GPR32Opnd:$rt), (ins RO:$rs, Od:$imm16),
758 !strconcat(opstr, "\t$rt, $rs, $imm16"),
759 [(set GPR32Opnd:$rt, (cond_op RO:$rs, imm_type:$imm16))],
891 InstSE<(outs), (ins RO:$rs, uimm16:$imm16),
892 !strconcat(opstr, "\t$rs, $imm16"), [], NoItinerary, FrmOther, opstr>;
/external/valgrind/none/tests/amd64/
Dinsn_basic.def15 ###adcw eflags[0x1,0x0] : imm16[1234] ax.uw[5678] => 1.uw[6912]
16 ###adcw eflags[0x1,0x1] : imm16[1234] ax.uw[5678] => 1.uw[6913]
17 adcw eflags[0x1,0x0] : imm16[1234] bx.uw[5678] => 1.uw[6912]
18 adcw eflags[0x1,0x1] : imm16[1234] bx.uw[5678] => 1.uw[6913]
19 adcw eflags[0x1,0x0] : imm16[1234] m16.uw[5678] => 1.uw[6912]
20 adcw eflags[0x1,0x1] : imm16[1234] m16.uw[5678] => 1.uw[6913]
62 addw imm16[1234] ax.uw[5678] => 1.uw[6912]
63 addw imm16[1234] bx.uw[5678] => 1.uw[6912]
64 addw imm16[1234] m16.uw[5678] => 1.uw[6912]
89 andw imm16[0x4231] ax.uw[0x1234] => 1.uw[0x0230]
[all …]
/external/valgrind/VEX/priv/
Dhost_tilegx_defs.c613 TILEGXRH *TILEGXRH_Imm ( Bool syned, UShort imm16 ) in TILEGXRH_Imm() argument
618 op->GXrh.Imm.imm16 = imm16; in TILEGXRH_Imm()
622 vassert(imm16 != 0x8000); in TILEGXRH_Imm()
641 vex_printf("%d", (Int) (Short) op->GXrh.Imm.imm16); in ppTILEGXRH()
643 vex_printf("%u", (UInt) (UShort) op->GXrh.Imm.imm16); in ppTILEGXRH()
1537 dst, srcR->GXrh.Imm.imm16)); in emit_TILEGXInstr()
1564 vassert(srcR->GXrh.Imm.imm16 != 0x8000); in emit_TILEGXInstr()
1569 srcR->GXrh.Imm.imm16)); in emit_TILEGXInstr()
1574 srcR->GXrh.Imm.imm16)); in emit_TILEGXInstr()
1586 vassert(srcR->GXrh.Imm.imm16 != 0x8000); in emit_TILEGXInstr()
[all …]
Dhost_mips_defs.c583 MIPSRH *MIPSRH_Imm(Bool syned, UShort imm16) in MIPSRH_Imm() argument
588 op->Mrh.Imm.imm16 = imm16; in MIPSRH_Imm()
592 vassert(imm16 != 0x8000); in MIPSRH_Imm()
611 vex_printf("%d", (Int) (Short) op->Mrh.Imm.imm16); in ppMIPSRH()
613 vex_printf("%u", (UInt) (UShort) op->Mrh.Imm.imm16); in ppMIPSRH()
2537 vassert(srcR->Mrh.Imm.imm16 != 0x8000); in emit_MIPSInstr()
2540 p = mkFormI(p, 9, r_srcL, r_dst, srcR->Mrh.Imm.imm16); in emit_MIPSInstr()
2543 p = mkFormI(p, 9, r_srcL, r_dst, srcR->Mrh.Imm.imm16); in emit_MIPSInstr()
2553 vassert(srcR->Mrh.Imm.imm16 != 0x8000); in emit_MIPSInstr()
2554 p = mkFormI(p, 8, r_srcL, r_dst, (-srcR->Mrh.Imm.imm16)); in emit_MIPSInstr()
[all …]
Dhost_ppc_defs.c316 PPCRH* PPCRH_Imm ( Bool syned, UShort imm16 ) { in PPCRH_Imm() argument
320 op->Prh.Imm.imm16 = imm16; in PPCRH_Imm()
324 vassert(imm16 != 0x8000); in PPCRH_Imm()
339 vex_printf("%d", (Int)(Short)op->Prh.Imm.imm16); in ppPPCRH()
341 vex_printf("%u", (UInt)(UShort)op->Prh.Imm.imm16); in ppPPCRH()
3767 vassert(srcR->Prh.Imm.imm16 != 0x8000); in emit_PPCInstr()
3768 p = mkFormD(p, 14, r_dst, r_srcL, srcR->Prh.Imm.imm16, endness_host); in emit_PPCInstr()
3779 vassert(srcR->Prh.Imm.imm16 != 0x8000); in emit_PPCInstr()
3780 p = mkFormD(p, 14, r_dst, r_srcL, (- srcR->Prh.Imm.imm16), in emit_PPCInstr()
3792 p = mkFormD(p, 28, r_srcL, r_dst, srcR->Prh.Imm.imm16, endness_host); in emit_PPCInstr()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcInstr64Bit.td350 def napt : F2_4<cond, 0, 1, (outs), (ins I64Regs:$rs1, bprtarget16:$imm16),
351 !strconcat(OpcStr, " $rs1, $imm16"), []>;
352 def apt : F2_4<cond, 1, 1, (outs), (ins I64Regs:$rs1, bprtarget16:$imm16),
353 !strconcat(OpcStr, ",a $rs1, $imm16"), []>;
354 def napn : F2_4<cond, 0, 0, (outs), (ins I64Regs:$rs1, bprtarget16:$imm16),
355 !strconcat(OpcStr, ",pn $rs1, $imm16"), []>;
356 def apn : F2_4<cond, 1, 0, (outs), (ins I64Regs:$rs1, bprtarget16:$imm16),
357 !strconcat(OpcStr, ",a,pn $rs1, $imm16"), []>;
361 def : InstAlias<!strconcat(OpcStr, ",pt $rs1, $imm16"),
362 (NAPT I64Regs:$rs1, bprtarget16:$imm16), 0>;
[all …]
DSparcInstrFormats.td83 bits<16> imm16;
92 let Inst{21-20} = imm16{15-14};
95 let Inst{13-0} = imm16{13-0};
/external/v8/src/x87/
Dassembler-x87.cc434 void Assembler::mov_w(const Operand& dst, int16_t imm16) { in mov_w() argument
439 EMIT(static_cast<int8_t>(imm16 & 0xff)); in mov_w()
440 EMIT(static_cast<int8_t>(imm16 >> 8)); in mov_w()
671 void Assembler::cmpw(const Operand& op, Immediate imm16) { in cmpw() argument
672 DCHECK(imm16.is_int16()); in cmpw()
677 emit_w(imm16); in cmpw()
1191 void Assembler::ret(int imm16) { in ret() argument
1193 DCHECK(is_uint16(imm16)); in ret()
1194 if (imm16 == 0) { in ret()
1198 EMIT(imm16 & 0xFF); in ret()
[all …]
Dassembler-x87.h611 void mov_w(const Operand& dst, int16_t imm16);
669 void cmpw(const Operand& op, Immediate imm16);
779 void ret(int imm16);
/external/v8/src/ia32/
Dassembler-ia32.cc492 void Assembler::mov_w(const Operand& dst, int16_t imm16) { in mov_w() argument
497 EMIT(static_cast<int8_t>(imm16 & 0xff)); in mov_w()
498 EMIT(static_cast<int8_t>(imm16 >> 8)); in mov_w()
738 void Assembler::cmpw(const Operand& op, Immediate imm16) { in cmpw() argument
739 DCHECK(imm16.is_int16()); in cmpw()
744 emit_w(imm16); in cmpw()
1258 void Assembler::ret(int imm16) { in ret() argument
1260 DCHECK(is_uint16(imm16)); in ret()
1261 if (imm16 == 0) { in ret()
1265 EMIT(imm16 & 0xFF); in ret()
[all …]
Dassembler-ia32.h622 void mov_w(const Operand& dst, int16_t imm16);
686 void cmpw(const Operand& op, Immediate imm16);
796 void ret(int imm16);
/external/v8/src/mips/
Dsimulator-mips.cc2684 int16_t imm16 = instr->Imm16Value(); in DecodeTypeImmediate() local
2690 uint32_t oe_imm16 = 0xffff & imm16; in DecodeTypeImmediate()
2692 int32_t se_imm16 = imm16; in DecodeTypeImmediate()
2727 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize; in DecodeTypeImmediate()
2738 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize; in DecodeTypeImmediate()
2749 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize; in DecodeTypeImmediate()
2785 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize; in DecodeTypeImmediate()
2943 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize; in DecodeTypeImmediate()
Dassembler-mips.cc737 int32_t imm16 = imm18 >> 2; in target_at_put() local
738 DCHECK(is_int16(imm16)); in target_at_put()
740 instr_at_put(pos, instr | (imm16 & kImm16Mask)); in target_at_put()
1145 int32_t imm16 = imm18 >> 2; in label_at_put() local
1146 DCHECK(is_int16(imm16)); in label_at_put()
1147 instr_at_put(at_offset, (imm16 & kImm16Mask)); in label_at_put()
/external/v8/src/mips64/
Dsimulator-mips64.cc2813 int16_t imm16 = instr->Imm16Value(); in DecodeTypeImmediate() local
2819 uint32_t oe_imm16 = 0xffff & imm16; in DecodeTypeImmediate()
2821 int32_t se_imm16 = imm16; in DecodeTypeImmediate()
2858 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize; in DecodeTypeImmediate()
2868 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize; in DecodeTypeImmediate()
2878 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize; in DecodeTypeImmediate()
2914 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize; in DecodeTypeImmediate()
3091 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize; in DecodeTypeImmediate()
Dassembler-mips64.cc715 int32_t imm16 = imm18 >> 2; in target_at_put() local
716 DCHECK(is_int16(imm16)); in target_at_put()
718 instr_at_put(pos, instr | (imm16 & kImm16Mask)); in target_at_put()
1124 int32_t imm16 = imm18 >> 2; in label_at_put() local
1125 DCHECK(is_int16(imm16)); in label_at_put()
1126 instr_at_put(at_offset, (imm16 & kImm16Mask)); in label_at_put()
/external/elfutils/src/libcpu/defs/
Di38610 %mask {imm16} 16
169 11001000,{imm16},{imm8}:enter{W} {imm16},{imm8}
493 11000010,{imm16}:ret{W} {imm16}
495 11001010,{imm16}:lret {imm16}
/external/v8/src/arm64/
Dassembler-arm64-inl.h1176 Instr Assembler::ImmException(int imm16) {
1177 DCHECK(is_uint16(imm16));
1178 return imm16 << ImmException_offset;
/external/llvm/lib/Target/X86/Disassembler/
DX86DisassemblerDecoder.cpp1600 uint16_t imm16; in readImmediate() local
1624 if (consumeUInt16(insn, &imm16)) in readImmediate()
1626 insn->immediates[insn->numImmediatesConsumed] = imm16; in readImmediate()
/external/vixl/src/vixl/a64/
Dmacro-assembler-a64.cc404 uint64_t imm16 = (imm >> (16 * i)) & 0xffff; in MoveImmediateHelper() local
405 if (imm16 != ignored_halfword) { in MoveImmediateHelper()
408 if (emit_code) masm->movn(temp, ~imm16 & 0xffff, 16 * i); in MoveImmediateHelper()
411 if (emit_code) masm->movz(temp, imm16, 16 * i); in MoveImmediateHelper()
417 if (emit_code) masm->movk(temp, imm16, 16 * i); in MoveImmediateHelper()
/external/v8/src/x64/
Dassembler-x64.cc1644 void Assembler::ret(int imm16) { in ret() argument
1646 DCHECK(is_uint16(imm16)); in ret()
1647 if (imm16 == 0) { in ret()
1651 emit(imm16 & 0xFF); in ret()
1652 emit((imm16 >> 8) & 0xFF); in ret()

12