Searched refs:imm16 (Results 1 - 25 of 42) sorted by relevance

12

/external/valgrind/none/tests/x86/
H A 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[
[all...]
H A Dgen_insn_test.pl405 elsif ($arg =~ /^(imm8|imm16|imm32)\[([^\]]+)\]$/)
/external/valgrind/VEX/priv/
H A Dhost_tilegx_defs.c613 TILEGXRH *TILEGXRH_Imm ( Bool syned, UShort imm16 )
618 op->GXrh.Imm.imm16 = imm16;
622 vassert(imm16 != 0x8000);
641 vex_printf("%d", (Int) (Short) op->GXrh.Imm.imm16);
643 vex_printf("%u", (UInt) (UShort) op->GXrh.Imm.imm16);
1537 dst, srcR->GXrh.Imm.imm16));
1564 vassert(srcR->GXrh.Imm.imm16 != 0x8000);
1569 srcR->GXrh.Imm.imm16));
1574 srcR->GXrh.Imm.imm16));
[all...]
H A Dhost_mips_defs.c583 MIPSRH *MIPSRH_Imm(Bool syned, UShort imm16) argument
588 op->Mrh.Imm.imm16 = imm16;
592 vassert(imm16 != 0x8000);
611 vex_printf("%d", (Int) (Short) op->Mrh.Imm.imm16);
613 vex_printf("%u", (UInt) (UShort) op->Mrh.Imm.imm16);
2539 p = mkFormI(p, 9, r_srcL, r_dst, srcR->Mrh.Imm.imm16);
2549 vassert(srcR->Mrh.Imm.imm16 != 0x8000);
2550 p = mkFormI(p, 9, r_srcL, r_dst, (-srcR->Mrh.Imm.imm16));
2560 p = mkFormI(p, 12, r_srcL, r_dst, srcR->Mrh.Imm.imm16);
[all...]
H A Dhost_ppc_defs.c316 PPCRH* PPCRH_Imm ( Bool syned, UShort imm16 ) {
320 op->Prh.Imm.imm16 = imm16;
324 vassert(imm16 != 0x8000);
339 vex_printf("%d", (Int)(Short)op->Prh.Imm.imm16);
341 vex_printf("%u", (UInt)(UShort)op->Prh.Imm.imm16);
3767 vassert(srcR->Prh.Imm.imm16 != 0x8000);
3768 p = mkFormD(p, 14, r_dst, r_srcL, srcR->Prh.Imm.imm16, endness_host);
3779 vassert(srcR->Prh.Imm.imm16 != 0x8000);
3780 p = mkFormD(p, 14, r_dst, r_srcL, (- srcR->Prh.Imm.imm16),
[all...]
H A Dhost_mips_isel.c1892 vassert(ri->Mrh.Imm.imm16 != 0x8000);
1961 vassert(ri->Mrh.Imm.imm16 >= 1 && ri->Mrh.Imm.imm16 <= 31);
2000 vassert(ri->Mrh.Imm.imm16 >= 1 && ri->Mrh.Imm.imm16 <= 63);
2523 addInstr(env, MIPSInstr_LI(a2, sa->Mrh.Imm.imm16));
2587 addInstr(env, MIPSInstr_LI(a2, sa->Mrh.Imm.imm16));
2655 addInstr(env, MIPSInstr_LI(a2, sa->Mrh.Imm.imm16));
2723 addInstr(env, MIPSInstr_LI(a2, sa->Mrh.Imm.imm16));
H A Dhost_tilegx_isel.c1130 vassert(ri->GXrh.Imm.imm16 != 0x8000);
1198 vassert(ri->GXrh.Imm.imm16 >= 1 && ri->GXrh.Imm.imm16 <= 63);
H A Dhost_tilegx_defs.h184 UShort imm16; member in struct:__anon22542::__anon22543::__anon22544
H A Dhost_arm64_isel.c2210 UShort imm16 = 0; local
2212 case Iop_ZeroHI64ofV128: imm16 = 0x00FF; break;
2213 case Iop_ZeroHI96ofV128: imm16 = 0x000F; break;
2214 case Iop_ZeroHI112ofV128: imm16 = 0x0003; break;
2215 case Iop_ZeroHI120ofV128: imm16 = 0x0001; break;
2218 if (imm16 != 0) {
2222 addInstr(env, ARM64Instr_VImmQ(imm, imm16));
/external/v8/src/ppc/
H A Dassembler-ppc.cc468 int imm16 = target_pos - pos; local
469 CHECK(is_int16(imm16) && (imm16 & (kAAMask | kLKMask)) == 0);
470 if (imm16 == kInstrSize && !(instr & kLKMask)) {
475 instr |= (imm16 & kImm16Mask);
728 int imm16 = branch_offset; local
729 CHECK(is_int16(imm16) && (imm16 & (kAAMask | kLKMask)) == 0);
730 emit(BCX | bo | condition_bit * B16 | (imm16 & kImm16Mask) | lk);
998 intptr_t imm16 local
1050 intptr_t imm16 = src2.imm_; local
1944 bkpt(uint32_t imm16) argument
1973 int imm16 = offset & kImm16Mask; local
1984 int imm16 = offset & kImm16Mask; local
2013 int imm16 = offset & kImm16Mask; local
2024 int imm16 = offset & kImm16Mask; local
2053 int imm16 = offset & kImm16Mask; local
2064 int imm16 = offset & kImm16Mask; local
2093 int imm16 = offset & kImm16Mask; local
2104 int imm16 = offset & kImm16Mask; local
[all...]
/external/v8/src/x87/
H A Dassembler-x87.cc417 void Assembler::mov_w(const Operand& dst, int16_t imm16) { argument
422 EMIT(static_cast<int8_t>(imm16 & 0xff));
423 EMIT(static_cast<int8_t>(imm16 >> 8));
703 void Assembler::cmpw(const Operand& op, Immediate imm16) { argument
704 DCHECK(imm16.is_int16());
709 emit_w(imm16);
1185 void Assembler::test_w(Register reg, Immediate imm16) { argument
1186 DCHECK(imm16.is_int16() || imm16.is_uint16());
1190 emit_w(imm16);
1206 test_w(const Operand& op, Immediate imm16) argument
1295 ret(int imm16) argument
[all...]
H A Dassembler-x87.h616 void mov_w(const Operand& dst, int16_t imm16);
789 void test_w(Register reg, Immediate imm16);
790 void test_w(const Operand& op, Immediate imm16);
814 void ret(int imm16);
/external/v8/src/ia32/
H A Dassembler-ia32.cc832 void Assembler::cmpw(const Operand& op, Immediate imm16) { argument
833 DCHECK(imm16.is_int16());
838 emit_w(imm16);
1314 void Assembler::test_w(Register reg, Immediate imm16) { argument
1315 DCHECK(imm16.is_int16() || imm16.is_uint16());
1319 emit_w(imm16);
1324 emit_w(imm16);
1335 void Assembler::test_w(const Operand& op, Immediate imm16) { argument
1336 DCHECK(imm16
1424 ret(int imm16) argument
[all...]
H A Dassembler-ia32.h796 void test_w(Register reg, Immediate imm16);
797 void test_w(const Operand& op, Immediate imm16);
821 void ret(int imm16);
/external/swiftshader/third_party/LLVM/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.c1395 uint16_t imm16; local
1418 if (consumeUInt16(insn, &imm16))
1420 insn->immediates[insn->numImmediatesConsumed] = imm16;
/external/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.cpp1639 uint16_t imm16; local
1663 if (consumeUInt16(insn, &imm16))
1665 insn->immediates[insn->numImmediatesConsumed] = imm16;
/external/v8/src/arm64/
H A Dassembler-arm64-inl.h1135 Instr Assembler::ImmException(int imm16) { argument
1136 DCHECK(is_uint16(imm16));
1137 return imm16 << ImmException_offset;
/external/v8/src/mips/
H A Dsimulator-mips.cc4006 int16_t imm16 = instr_.Imm16Value();
4011 uint32_t oe_imm16 = 0xffff & imm16;
4013 int32_t se_imm16 = imm16;
4033 int16_t imm16 = this->instr_.Imm16Value();
4034 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize;
4046 int16_t imm16 = this->instr_.Imm16Value();
4047 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize;
4205 next_pc = rt + imm16;
4213 next_pc = rt + imm16;
H A Dassembler-mips.cc1244 int32_t imm16 = imm18 >> 2; local
1245 DCHECK(is_int16(imm16));
1246 instr_at_put(at_offset, (imm16 & kImm16Mask));
1963 void Assembler::auipc(Register rs, int16_t imm16) { argument
1966 uint32_t imm21 = AUIPC << kImm16Bits | (imm16 & kImm16Mask);
1971 void Assembler::aluipc(Register rs, int16_t imm16) { argument
1974 uint32_t imm21 = ALUIPC << kImm16Bits | (imm16 & kImm16Mask);
H A Dassembler-mips.h783 void auipc(Register rs, int16_t imm16);
784 void aluipc(Register rs, int16_t imm16);
/external/v8/src/s390/
H A Dassembler-s390.cc362 int16_t imm16 = SIGN_EXT_IMM16((instr & kImm16Mask)); local
363 imm16 <<= 1; // BRC immediate is in # of halfwords
364 if (imm16 == 0) return kEndOfChain;
365 return pos + imm16;
392 int16_t imm16 = target_pos - pos; local
394 DCHECK(is_int16(imm16));
395 instr_at_put<FourByteInstr>(pos, instr | (imm16 >> 1));
563 void Assembler::bkpt(uint32_t imm16) { argument
/external/vixl/src/aarch64/
H A Dmacro-assembler-aarch64.cc463 uint64_t imm16 = (imm >> (16 * i)) & 0xffff; local
464 if (imm16 != ignored_halfword) {
467 if (emit_code) masm->movn(temp, ~imm16 & 0xffff, 16 * i);
470 if (emit_code) masm->movz(temp, imm16, 16 * i);
476 if (emit_code) masm->movk(temp, imm16, 16 * i);
/external/v8/src/mips64/
H A Dassembler-mips64.cc1230 int32_t imm16 = imm18 >> 2; local
1231 DCHECK(is_int16(imm16));
1232 instr_at_put(at_offset, (imm16 & kImm16Mask));
2183 void Assembler::auipc(Register rs, int16_t imm16) { argument
2186 uint32_t imm21 = AUIPC << kImm16Bits | (imm16 & kImm16Mask);
2191 void Assembler::aluipc(Register rs, int16_t imm16) { argument
2194 uint32_t imm21 = ALUIPC << kImm16Bits | (imm16 & kImm16Mask);
H A Dsimulator-mips64.cc4257 int16_t imm16 = instr_.Imm16Value();
4263 uint64_t oe_imm16 = 0xffff & imm16;
4265 int64_t se_imm16 = imm16;
4290 int16_t imm16 = instr_.Imm16Value();
4291 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize;
4303 int16_t imm16 = instr_.Imm16Value();
4304 next_pc = current_pc + (imm16 << 2) + Instruction::kInstrSize;
4467 next_pc = rt + imm16;
4476 next_pc = rt + imm16;
/external/valgrind/none/tests/amd64/
H A Dgen_insn_test.pl428 elsif ($arg =~ /^(imm8|imm16|imm32|imm64)\[([^\]]+)\]$/)

Completed in 632 milliseconds

12