• Home
  • Raw
  • Download

Lines Matching +full:0 +full:xd

26 static const uint64_t HWORD_MASK = 0xFFFF;
30 if ((imm == 0ULL) || (imm == ~0ULL) || in Create()
31 … ((width != RegXSize) && (((imm >> width) != 0) || (imm == (~0ULL >> (RegXSize - width)))))) { in Create()
47 // Second, determine the rotation to make the element be: 0^m 1^n. in Create()
48 unsigned int cto = 0; in Create()
49 unsigned int i = 0; in Create()
68 // Encode in Immr the number of RORs it would take to get *from* 0^m 1^n in Create()
75 // bits [0, n] and ones above that. in Create()
91 uint32_t op = 0; in Ldp()
123 uint32_t op = 0; in Stp()
155 uint32_t op = 0; in Ldp()
198 uint32_t op = 0; in Stp()
241 uint32_t opc = 0; in GetOpcFromScale()
249 opc = ispair ? 0 : 1; in GetOpcFromScale()
310 uint32_t op = 0; in Str()
372 unsigned int allOneHalfWords = 0; in Mov()
373 unsigned int allZeroHalfWords = 0; in Mov()
377 for (unsigned int shift = 0; shift < regSize; shift += HWORDSIZE) { in Mov()
381 } else if (halfWord == 0) { in Mov()
404 for (unsigned int shift = 0; shift < regSize; shift += HWORDSIZE) { in Mov()
448 Add(rd, rm, Operand(Immediate(0))); in Mov()
454 /// Check whether this chunk matches the pattern '1...0...'. This pattern
459 if (hWord == 0 || hWord == std::numeric_limits<uint64_t>::max()) { in IsStartHWord()
465 /// Check whether this chunk matches the pattern '0...1...' This pattern
470 if (hWord == 0 || hWord == std::numeric_limits<uint64_t>::max()) { in IsEndHWord()
495 for (int shift = 0; shift < RegXSize; shift += HWORDSIZE) { in TrySequenceOfOnes()
512 uint64_t outside = 0; in TrySequenceOfOnes()
527 for (int shift = 0; shift < RegXSize; shift += HWORDSIZE) { in TrySequenceOfOnes()
532 orrImm = UpdateImm(orrImm, shift, outside == 0); in TrySequenceOfOnes()
539 orrImm = UpdateImm(orrImm, shift, outside == 0); in TrySequenceOfOnes()
560 for (int idx = 0; idx < RegXSize; idx += HWORDSIZE) { in TryReplicateHWords()
578 int shift = 0; in TryReplicateHWords()
579 uint64_t imm16 = 0; in TryReplicateHWords()
614 int firstshift = 0; // LSL amount for high bits with MOVZ/MOVN in EmitMovInstruct()
615 int lastshift = 0; // LSL amount for last MOVK in EmitMovInstruct()
616 if (imm != 0) { in EmitMovInstruct()
636 if (imm16 == (isNeg ? HWORD_MASK : 0)) { in EmitMovInstruct()
740 unsigned imms = 0; in Lsr()
742 // 31 : 31 32-bit variant Applies when sf == 0 && N == 0 && imms == 011111 in Lsr()
748 // LSR <Xd>, <Xn>, #<shift> is equivalent to UBFM <Xd>, <Xn>, #<shift>, #63 in Lsr()
757 unsigned immr = 0; in Lsl()
758 [[maybe_unused]] unsigned imms = 0; in Lsl()
760 // 32 : 32-bit variant Applies when sf == 0 && N == 0 && imms != 011111 in Lsl()
767 … // LSL <Xd>, <Xn>, #<shift> is equivalent to UBFM <Xd>, <Xn>, #(-<shift> MOD 64), #(63-<shift>) in Lsl()
779 if (imm < 0) { in Add()
810 if (imm < 0) { in Sub()
844 if (((imm & IMM12_MASK) == 0) && ((imm & ~IMM12_MASK) <= IMM12_MASK)) { in IsAddSubImm()
853 uint32_t shift = 0; in AddSubImm()
856 if (imm12 != 0) { in AddSubImm()
861 uint32_t flags_field = ((setFlags ? 1 : 0) << ADD_SUB_S_LOWBITS) & ADD_SUB_S_MASK; in AddSubImm()
871 uint32_t flags_field = ((setFlags ? 1 : 0) << ADD_SUB_S_LOWBITS) & ADD_SUB_S_MASK; in AddSubReg()
872 uint32_t code = 0; in AddSubReg()
1027 int32_t offset = 0; in LinkAndGetInstOffsetToLabel()
1034 offset = 0; in LinkAndGetInstOffsetToLabel()
1047 while (linkPos != 0) { in Bind()
1051 if (offset == 0) { in Bind()
1070 int32_t immOffset = 0; in ImmBranch()
1162 uint32_t op = 0; in GetOpcodeOfLdr()
1220 uint32_t shift = 0; in GetShiftOfLdr()
1225 ASSERT(shift == 0 || shift == 1); in GetShiftOfLdr()
1226 shift = (shift == 0) ? 0 : 1; in GetShiftOfLdr()
1231 ASSERT(shift == 0 || shift == 3); in GetShiftOfLdr()
1234 ASSERT(shift == 0 || shift == 2); in GetShiftOfLdr()
1236 shift = (shift == 0) ? 0 : 1; in GetShiftOfLdr()