Home
last modified time | relevance | path

Searched refs:imms (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_build_util.cpp47 memset(imms, 0, sizeof(imms)); in init()
59 while (imms[pos]) in addImmediate()
61 imms[pos] = imm; in addImmediate()
358 while (imms[pos] && imms[pos]->reg.data.u32 != u) in mkImm()
361 ImmediateValue *imm = imms[pos]; in mkImm()
Dnv50_ir_build_util.h182 ImmediateValue *imms[NV50_IR_BUILD_IMM_HT_SIZE]; variable
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/
Dnv50_ir_build_util.cpp47 memset(imms, 0, sizeof(imms)); in init()
59 while (imms[pos]) in addImmediate()
61 imms[pos] = imm; in addImmediate()
358 while (imms[pos] && imms[pos]->reg.data.u32 != u) in mkImm()
361 ImmediateValue *imm = imms[pos]; in mkImm()
Dnv50_ir_build_util.h182 ImmediateValue *imms[NV50_IR_BUILD_IMM_HT_SIZE]; variable
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64AddressingModes.h300 unsigned imms = val & 0x3f; in decodeLogicalImmediate() local
303 int len = 31 - countLeadingZeros((N << 6) | (~imms & 0x3f)); in decodeLogicalImmediate()
307 unsigned S = imms & (size - 1); in decodeLogicalImmediate()
328 unsigned imms = val & 0x3f; in isValidDecodeLogicalImmediate() local
332 int len = 31 - countLeadingZeros((N << 6) | (~imms & 0x3f)); in isValidDecodeLogicalImmediate()
336 unsigned S = imms & (size - 1); in isValidDecodeLogicalImmediate()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c455 unsigned imms[2] = {0, 0x3f800000}; in translate_attr_convert() local
658 x86_mov_imm(p->func, dst, imms[swizzle[0] - UTIL_FORMAT_SWIZZLE_0]); in translate_attr_convert()
668 … x86_mov_imm(p->func, x86_make_disp(dst, 4), imms[swizzle[1] - UTIL_FORMAT_SWIZZLE_0]); in translate_attr_convert()
686 … x86_mov_imm(p->func, x86_make_disp(dst, 8), imms[swizzle[2] - UTIL_FORMAT_SWIZZLE_0]); in translate_attr_convert()
696 … x86_mov_imm(p->func, x86_make_disp(dst, 12), imms[swizzle[3] - UTIL_FORMAT_SWIZZLE_0]); in translate_attr_convert()
714 unsigned imms[2] = {0, 1}; in translate_attr_convert() local
773imms[1] = (output_desc->channel[0].type == UTIL_FORMAT_TYPE_UNSIGNED) ? 0xffff : 0x7ffff; in translate_attr_convert()
797 … x86_mov16_imm(p->func, x86_make_disp(dst, 2), imms[swizzle[1] - UTIL_FORMAT_SWIZZLE_0]); in translate_attr_convert()
803 …x86_mov_imm(p->func, dst, (imms[swizzle[1] - UTIL_FORMAT_SWIZZLE_0] << 16) | imms[swizzle[0] - UTI… in translate_attr_convert()
806 x86_mov16_imm(p->func, dst, imms[swizzle[0] - UTIL_FORMAT_SWIZZLE_0]); in translate_attr_convert()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/translate/
Dtranslate_sse.c455 unsigned imms[2] = {0, 0x3f800000}; in translate_attr_convert() local
658 x86_mov_imm(p->func, dst, imms[swizzle[0] - UTIL_FORMAT_SWIZZLE_0]); in translate_attr_convert()
668 … x86_mov_imm(p->func, x86_make_disp(dst, 4), imms[swizzle[1] - UTIL_FORMAT_SWIZZLE_0]); in translate_attr_convert()
686 … x86_mov_imm(p->func, x86_make_disp(dst, 8), imms[swizzle[2] - UTIL_FORMAT_SWIZZLE_0]); in translate_attr_convert()
696 … x86_mov_imm(p->func, x86_make_disp(dst, 12), imms[swizzle[3] - UTIL_FORMAT_SWIZZLE_0]); in translate_attr_convert()
714 unsigned imms[2] = {0, 1}; in translate_attr_convert() local
773imms[1] = (output_desc->channel[0].type == UTIL_FORMAT_TYPE_UNSIGNED) ? 0xffff : 0x7ffff; in translate_attr_convert()
797 … x86_mov16_imm(p->func, x86_make_disp(dst, 2), imms[swizzle[1] - UTIL_FORMAT_SWIZZLE_0]); in translate_attr_convert()
803 …x86_mov_imm(p->func, dst, (imms[swizzle[1] - UTIL_FORMAT_SWIZZLE_0] << 16) | imms[swizzle[0] - UTI… in translate_attr_convert()
806 x86_mov16_imm(p->func, dst, imms[swizzle[0] - UTIL_FORMAT_SWIZZLE_0]); in translate_attr_convert()
[all …]
/external/llvm/lib/Target/AArch64/InstPrinter/
DAArch64InstPrinter.cpp117 int64_t imms = Op3.getImm(); in printInst() local
118 if (Opcode == AArch64::UBFMWri && imms != 0x1F && ((imms + 1) == immr)) { in printInst()
120 shift = 31 - imms; in printInst()
121 } else if (Opcode == AArch64::UBFMXri && imms != 0x3f && in printInst()
122 ((imms + 1 == immr))) { in printInst()
124 shift = 63 - imms; in printInst()
125 } else if (Opcode == AArch64::UBFMWri && imms == 0x1f) { in printInst()
128 } else if (Opcode == AArch64::UBFMXri && imms == 0x3f) { in printInst()
131 } else if (Opcode == AArch64::SBFMWri && imms == 0x1f) { in printInst()
134 } else if (Opcode == AArch64::SBFMXri && imms == 0x3f) { in printInst()
/external/vixl/src/a64/
Dassembler-a64.h852 unsigned imms);
858 unsigned imms);
864 unsigned imms);
1513 static inline Instr ImmS(unsigned imms, unsigned reg_size) { in ImmS() argument
1514 VIXL_ASSERT(((reg_size == kXRegSize) && is_uint6(imms)) || in ImmS()
1515 ((reg_size == kWRegSize) && is_uint5(imms))); in ImmS()
1517 return imms << ImmS_offset; in ImmS()
1528 static inline Instr ImmSetBits(unsigned imms, unsigned reg_size) { in ImmSetBits() argument
1530 VIXL_ASSERT(is_uint6(imms)); in ImmSetBits()
1531 VIXL_ASSERT((reg_size == kXRegSize) || is_uint6(imms + 3)); in ImmSetBits()
[all …]
Dassembler-a64.cc740 unsigned imms) { in bfm() argument
744 ImmR(immr, rd.size()) | ImmS(imms, rn.size()) | Rn(rn) | Rd(rd)); in bfm()
751 unsigned imms) { in sbfm() argument
755 ImmR(immr, rd.size()) | ImmS(imms, rn.size()) | Rn(rn) | Rd(rd)); in sbfm()
762 unsigned imms) { in ubfm() argument
766 ImmR(immr, rd.size()) | ImmS(imms, rn.size()) | Rn(rn) | Rd(rd)); in ubfm()
/external/chromium_org/v8/src/arm64/
Dassembler-arm64-inl.h1067 Instr Assembler::ImmS(unsigned imms, unsigned reg_size) {
1068 DCHECK(((reg_size == kXRegSizeInBits) && is_uint6(imms)) ||
1069 ((reg_size == kWRegSizeInBits) && is_uint5(imms)));
1071 return imms << ImmS_offset;
1084 Instr Assembler::ImmSetBits(unsigned imms, unsigned reg_size) {
1086 DCHECK(is_uint6(imms));
1087 DCHECK((reg_size == kXRegSizeInBits) || is_uint6(imms + 3));
1089 return imms << ImmSetBits_offset;
Dassembler-arm64.h1200 unsigned imms);
1206 unsigned imms);
1212 unsigned imms);
1821 inline static Instr ImmS(unsigned imms, unsigned reg_size);
1823 inline static Instr ImmSetBits(unsigned imms, unsigned reg_size);
Dassembler-arm64.cc1280 unsigned imms) { in bfm() argument
1285 ImmS(imms, rn.SizeInBits()) | in bfm()
1293 unsigned imms) { in sbfm() argument
1298 ImmS(imms, rn.SizeInBits()) | in sbfm()
1306 unsigned imms) { in ubfm() argument
1311 ImmS(imms, rn.SizeInBits()) | in ubfm()
/external/llvm/test/MC/Disassembler/AArch64/
Darm64-basic-a64-undefined.txt20 # UBFM is undefined when s == 0 and imms<5> or immr<5> is 1.
/external/sepolicy/
Dservice_contexts51 imms u:object_r:system_server_service:s0
/external/vixl/doc/
Dsupported-instructions.md139 unsigned imms)
749 unsigned imms)
938 unsigned imms)
/external/llvm/lib/Target/AArch64/
DAArch64InstrFormats.td1829 : I<(outs regtype:$Rd), (ins regtype:$Rn, imm_type:$immr, imm_type:$imms),
1830 asm, "\t$Rd, $Rn, $immr, $imms", "", []>,
1835 bits<6> imms;
1840 let Inst{15-10} = imms;
1849 // imms<5> and immr<5> must be zero, else ReservedValue().
1863 imm_type:$imms),
1864 asm, "\t$Rd, $Rn, $immr, $imms", "$src = $Rd", []>,
1869 bits<6> imms;
1874 let Inst{15-10} = imms;
1883 // imms<5> and immr<5> must be zero, else ReservedValue().
/external/valgrind/main/VEX/priv/
Dguest_arm64_toIR.c1827 ULong immN, ULong imms, ULong immr, Bool immediate, in dbm_DecodeBitMasks() argument
1831 vassert(imms < (1ULL << 6)); in dbm_DecodeBitMasks()
1836 Int len = dbm_highestSetBit( ((immN << 6) & 64) | ((~imms) & 63) ); in dbm_DecodeBitMasks()
1846 if (immediate && ((imms & levels) == levels)) { in dbm_DecodeBitMasks()
1851 ULong S = imms & levels; in dbm_DecodeBitMasks()
/external/elfutils/0.153/libcpu/defs/
Di38630 %mask {imms} 8
/external/llvm/lib/Target/ARM/
DARMInstrThumb.td1429 // Two piece imms.
/external/llvm/lib/Target/X86/
DX86InstrCompiler.td1472 // Helper imms that check if a mask doesn't change significant shift bits.