Home
last modified time | relevance | path

Searched refs:imm_s (Results 1 – 9 of 9) sorted by relevance

/external/v8/src/arm64/
Dinstructions-arm64.cc95 int32_t imm_s = ImmSetBits(); in ImmLogical() local
116 if (imm_s == 0x3F) { in ImmLogical()
119 uint64_t bits = (1UL << (imm_s + 1)) - 1; in ImmLogical()
122 if ((imm_s >> 1) == 0x1F) { in ImmLogical()
126 if ((imm_s & width) == 0) { in ImmLogical()
128 if ((imm_s & mask) == mask) { in ImmLogical()
131 uint64_t bits = (1UL << ((imm_s & mask) + 1)) - 1; in ImmLogical()
Dassembler-arm64.cc2297 unsigned n, imm_s, imm_r; in Logical() local
2298 if (IsImmLogical(immediate, reg_size, &n, &imm_s, &imm_r)) { in Logical()
2300 LogicalImmediate(rd, rn, n, imm_s, imm_r, op); in Logical()
2317 unsigned imm_s, in LogicalImmediate() argument
2323 ImmSetBits(imm_s, reg_size) | ImmRotate(imm_r, reg_size) | dest_reg | in LogicalImmediate()
2565 unsigned* imm_s, in IsImmLogical() argument
2567 DCHECK((n != NULL) && (imm_s != NULL) && (imm_r != NULL)); in IsImmLogical()
2757 *imm_s = ((-d << 1) | (s - 1)) & 0x3f; in IsImmLogical()
Dmacro-assembler-arm64.cc122 unsigned n, imm_s, imm_r; in LogicalMacro() local
123 if (IsImmLogical(immediate, reg_size, &n, &imm_s, &imm_r)) { in LogicalMacro()
125 LogicalImmediate(rd, rn, n, imm_s, imm_r, op); in LogicalMacro()
417 unsigned n, imm_s, imm_r; in TryOneInstrMoveImmediate() local
429 } else if (IsImmLogical(imm, reg_size, &n, &imm_s, &imm_r)) { in TryOneInstrMoveImmediate()
431 LogicalImmediate(dst, AppropriateZeroRegFor(dst), n, imm_s, imm_r, ORR); in TryOneInstrMoveImmediate()
Dassembler-arm64.h1734 unsigned* imm_s,
1849 unsigned imm_s,
/external/vixl/src/vixl/a64/
Dinstructions-a64.cc135 int32_t imm_s = ImmSetBits(); in ImmLogical() local
156 if (imm_s == 0x3f) { in ImmLogical()
159 uint64_t bits = (UINT64_C(1) << (imm_s + 1)) - 1; in ImmLogical()
162 if ((imm_s >> 1) == 0x1f) { in ImmLogical()
166 if ((imm_s & width) == 0) { in ImmLogical()
168 if ((imm_s & mask) == mask) { in ImmLogical()
171 uint64_t bits = (UINT64_C(1) << ((imm_s & mask) + 1)) - 1; in ImmLogical()
Dmacro-assembler-a64.cc457 unsigned n, imm_s, imm_r; in OneInstrMoveImmediateHelper() local
474 } else if (IsImmLogical(imm, reg_size, &n, &imm_s, &imm_r)) { in OneInstrMoveImmediateHelper()
479 dst, AppropriateZeroRegFor(dst), n, imm_s, imm_r, ORR); in OneInstrMoveImmediateHelper()
774 unsigned n, imm_s, imm_r; in LogicalMacro() local
775 if (IsImmLogical(immediate, reg_size, &n, &imm_s, &imm_r)) { in LogicalMacro()
777 LogicalImmediate(rd, rn, n, imm_s, imm_r, op); in LogicalMacro()
Dassembler-a64.cc4694 unsigned n, imm_s, imm_r; in Logical() local
4695 if (IsImmLogical(immediate, reg_size, &n, &imm_s, &imm_r)) { in Logical()
4697 LogicalImmediate(rd, rn, n, imm_s, imm_r, op); in Logical()
4714 unsigned imm_s, in LogicalImmediate() argument
4720 ImmSetBits(imm_s, reg_size) | ImmRotate(imm_r, reg_size) | dest_reg | in LogicalImmediate()
5096 unsigned* imm_s, in IsImmLogical() argument
5282 if ((n != NULL) || (imm_s != NULL) || (imm_r != NULL)) { in IsImmLogical()
5284 *imm_s = ((-d << 1) | (s - 1)) & 0x3f; in IsImmLogical()
Dassembler-a64.h4070 unsigned* imm_s = NULL,
4303 unsigned imm_s,
/external/valgrind/VEX/priv/
Dhost_arm64_isel.c1065 /*OUT*/UInt* imm_s, /*OUT*/UInt* imm_r, in isImmLogical() argument
1077 vassert(n != NULL && imm_s != NULL && imm_r != NULL); in isImmLogical()
1126 *imm_s = 0x3C; in isImmLogical()
1132 *imm_s = ((imm_s_fixed | (set_bits - 1)) & imm_s_mask); in isImmLogical()
1173 UInt n = 0, imm_s = 0, imm_r = 0; in mb_mkARM64RIL_I() local
1174 Bool ok = isImmLogical(&n, &imm_s, &imm_r, imm64, 64); in mb_mkARM64RIL_I()
1176 vassert(n < 2 && imm_s < 64 && imm_r < 64); in mb_mkARM64RIL_I()
1177 return ARM64RIL_I13(n, imm_r, imm_s); in mb_mkARM64RIL_I()