Lines Matching refs:qualifier
166 order of operand qualifier enumerators. */
168 /* Given VALUE, return qualifier for a general purpose register. */
172 enum aarch64_opnd_qualifier qualifier = AARCH64_OPND_QLF_W + value;
174 && aarch64_get_qualifier_standard_value (qualifier) == value);
175 return qualifier;
178 /* Given VALUE, return qualifier for a vector register. */
182 enum aarch64_opnd_qualifier qualifier = AARCH64_OPND_QLF_V_8B + value;
185 && aarch64_get_qualifier_standard_value (qualifier) == value);
186 return qualifier;
189 /* Given VALUE, return qualifier for an FP or AdvSIMD scalar register. */
193 enum aarch64_opnd_qualifier qualifier = AARCH64_OPND_QLF_S_B + value;
196 && aarch64_get_qualifier_standard_value (qualifier) == value);
197 return qualifier;
201 decoding and our caller wants to know the expected qualifier for operand
202 I. Return such a qualifier if we can establish it; otherwise return
209 /* Should not be called if the qualifier is known. */
210 assert (inst->operands[i].qualifier == AARCH64_OPND_QLF_NIL);
279 /* Depend on AARCH64_OPND_Ed to determine the qualifier. */
280 info->qualifier = get_expected_qualifier (inst, info->idx);
281 shift = get_logsz (aarch64_get_qualifier_esize (info->qualifier));
299 info->qualifier = get_sreg_qualifier_from_value (pos);
309 info->qualifier = get_expected_qualifier (inst, info->idx);
310 switch (info->qualifier)
433 info->qualifier = AARCH64_OPND_QLF_S_B;
441 info->qualifier = AARCH64_OPND_QLF_S_H;
451 info->qualifier = AARCH64_OPND_QLF_S_S;
460 info->qualifier = AARCH64_OPND_QLF_S_D;
518 info->qualifier =
522 info->qualifier = get_sreg_qualifier_from_value (pos);
619 enum aarch64_opnd_qualifier opnd0_qualifier = inst->operands[0].qualifier;
645 info->qualifier = get_expected_qualifier (inst, info->idx);
646 switch (info->qualifier)
724 assert (inst->operands[0].qualifier == AARCH64_OPND_QLF_W
725 || inst->operands[0].qualifier == AARCH64_OPND_QLF_X);
726 sf = aarch64_get_qualifier_esize (inst->operands[0].qualifier) != 4;
803 enum aarch64_opnd_qualifier qualifier;
806 case 0: qualifier = AARCH64_OPND_QLF_S_S; break;
807 case 1: qualifier = AARCH64_OPND_QLF_S_D; break;
808 case 2: qualifier = AARCH64_OPND_QLF_S_Q; break;
811 info->qualifier = qualifier;
819 info->qualifier = get_sreg_qualifier_from_value (value);
870 info->qualifier = get_expected_qualifier (inst, info->idx);
873 size = aarch64_get_qualifier_esize (info->qualifier);
887 info->qualifier = get_expected_qualifier (inst, info->idx);
896 info->addr.offset.imm *= aarch64_get_qualifier_esize (info->qualifier);
897 /* qualifier */
923 info->qualifier = get_expected_qualifier (inst, info->idx);
924 shift = get_logsz (aarch64_get_qualifier_esize (info->qualifier));
953 * aarch64_get_qualifier_esize (inst->operands[0].qualifier);
956 * aarch64_get_qualifier_esize (inst->operands[0].qualifier)
957 * aarch64_get_qualifier_nelem (inst->operands[0].qualifier);
1094 /* Assume inst->operands[0].qualifier has been resolved. */
1095 assert (inst->operands[0].qualifier != AARCH64_OPND_QLF_NIL);
1096 info->qualifier = AARCH64_OPND_QLF_W;
1097 if (inst->operands[0].qualifier == AARCH64_OPND_QLF_X
1100 info->qualifier = AARCH64_OPND_QLF_X;
1146 This function tries to deduce the qualifier from the value of partially
1149 operand encoding), the function returns the matching qualifier or
1176 /* Given a list of qualifier sequences, return all possible valid qualifiers
1193 whether the qualifier is valid for this opcode or not, it is the
1200 enum aarch64_opnd_qualifier qualifier;
1221 /* The index of the operand we are going to tag a qualifier and the qualifer
1223 possible valid qualifier lists. */
1231 inst->operands[idx].qualifier = get_vreg_qualifier_from_value (value);
1243 DEBUG_TRACE ("qualifier %d: %s", i,
1249 qualifier = get_qualifier_from_partial_encoding (value, candidates, mask);
1251 if (qualifier == AARCH64_OPND_QLF_NIL)
1254 inst->operands[idx].qualifier = qualifier;
1266 enum aarch64_opnd_qualifier qualifier;
1270 qualifier = value == 0 ? AARCH64_OPND_QLF_V_4S
1277 inst->operands[1].qualifier = qualifier;
1282 inst->operands[0].qualifier = qualifier;
1302 inst->operands[0].qualifier = AARCH64_OPND_QLF_S_S;
1310 enum aarch64_opnd_qualifier qualifier;
1318 case 0: qualifier = AARCH64_OPND_QLF_S_S; break;
1319 case 1: qualifier = AARCH64_OPND_QLF_S_D; break;
1320 case 3: qualifier = AARCH64_OPND_QLF_S_H; break;
1323 inst->operands[0].qualifier = qualifier;
1372 inst->operands[idx].qualifier = get_greg_qualifier_from_value (value);
1382 inst->operands[idx].qualifier = get_greg_qualifier_from_value (value);
1394 case 0: inst->operands[idx].qualifier = AARCH64_OPND_QLF_S_S; break;
1395 case 1: inst->operands[idx].qualifier = AARCH64_OPND_QLF_S_D; break;
1396 case 3: inst->operands[idx].qualifier = AARCH64_OPND_QLF_S_H; break;
1413 inst->operands[idx].qualifier = get_sreg_qualifier_from_value (value);
1418 inst->operands[idx].qualifier
1446 inst->operands[0].qualifier =
1465 inst->operands[idx].qualifier = get_greg_qualifier_from_value (value);
1475 inst->operands[0].qualifier
1527 val = inst->operands[2].qualifier == AARCH64_OPND_QLF_imm_0_31 ? 31 : 63;
1591 val = inst->operands[2].qualifier == AARCH64_OPND_QLF_imm_0_31 ? 32 : 64;
1617 = inst->operands[2].qualifier == AARCH64_OPND_QLF_imm_0_31 ? 31 : 63;
1693 int is32 = inst->operands[0].qualifier == AARCH64_OPND_QLF_W;
1723 is32 = inst->operands[0].qualifier == AARCH64_OPND_QLF_W;
2030 inst->operands[0].qualifier = AARCH64_OPND_QLF_W;