Lines Matching refs:format

968     // The immediate encoded in the instruction is not in the expected format.
1766 // clang-format off
1814 // clang-format on
2701 // LD[2-4] and ST[2-4] cannot use .1d format.
2800 // LD[2-4] and ST[2-4] cannot use .1d format.
3224 if (nfd.GetVectorFormat(0) == kFormatS) { // Source format.
3436 // clang-format off
3442 // clang-format on
3834 // The immediate encoded in the instruction is not in the expected format.
6267 const char *format) {
6268 switch (format[0]) {
6272 case 'V': // Vector register, V, vector format.
6281 return SubstituteRegisterField(instr, format);
6283 return SubstitutePredicateRegisterField(instr, format);
6285 return SubstituteImmediateField(instr, format);
6287 return SubstituteLiteralField(instr, format);
6289 return SubstituteShiftField(instr, format);
6291 return SubstituteConditionField(instr, format);
6293 return SubstituteExtendField(instr, format);
6295 return SubstitutePCRelAddressField(instr, format);
6297 return SubstituteBranchTargetField(instr, format);
6299 return SubstituteLSRegOffsetField(instr, format);
6301 return SubstituteBarrierField(instr, format);
6303 return SubstituteCrField(instr, format);
6305 return SubstituteSysOpField(instr, format);
6307 return SubstitutePrefetchField(instr, format);
6310 return SubstituteIntField(instr, format);
6312 return SubstituteSVESize(instr, format);
6314 return SubstituteTernary(instr, format);
6393 const char *format) {
6396 // The first character of the register format field, eg R, X, S, etc.
6397 char reg_prefix = format[0];
6402 const char *reg_field = &format[1];
6413 reg_field = &format[3];
6524 const char *format) {
6525 VIXL_ASSERT(format[0] == 'P');
6526 switch (format[1]) {
6540 VIXL_ASSERT(format[2] == 'l');
6550 const char *format) {
6551 VIXL_ASSERT(format[0] == 'I');
6553 switch (format[1]) {
6555 if (format[5] == 'L') {
6561 VIXL_ASSERT((format[5] == 'I') || (format[5] == 'N'));
6564 if (format[5] == 'N') imm = ~imm;
6571 switch (format[2]) {
6581 bool is_index = format[3] == 'i';
6590 VIXL_ASSERT((format[3] >= '0') && (format[3] <= '9'));
6591 bool is_index = format[4] == 'i';
6593 // format[3] is the scale value. Convert to a number.
6594 int scale = 1 << (format[3] - '0');
6635 switch (format[3]) {
6637 VIXL_ASSERT(strncmp(format, "IFPFBits", strlen("IFPFBits")) == 0);
6641 VIXL_ASSERT(strncmp(format, "IFPNeon", strlen("IFPNeon")) == 0);
6646 VIXL_ASSERT(strncmp(format, "IFPSve", strlen("IFPSve")) == 0);
6651 VIXL_ASSERT(strncmp(format, "IFP", strlen("IFP")) == 0);
6669 if (format[4] == 'S') {
6670 VIXL_ASSERT((format[5] == 'v') && (format[6] == 'e'));
6671 switch (format[7]) {
6733 return SubstituteBitfieldImmediateField(instr, format);
6746 VIXL_ASSERT(strncmp(format, "ISveSvl", 7) == 0);
6755 switch (format[2]) {
6783 switch (format[2]) {
6796 if (strncmp(format, format_rot, strlen(format_rot)) == 0) {
6802 } else if (strncmp(format, format_fhm, strlen(format_fhm)) == 0) {
6818 if (strncmp(format, "IVInsIndex", strlen("IVInsIndex")) == 0) {
6826 if (strncmp(format, "IVInsIndex1", strlen("IVInsIndex1")) == 0) {
6829 } else if (strncmp(format,
6837 } else if (strncmp(format,
6848 AppendToOutput("%d", instr->GetNEONLSIndex(format[8] - '0'));
6852 if (strncmp(format, "IVMIImm8", strlen("IVMIImm8")) == 0) {
6856 } else if (strncmp(format, "IVMIImm", strlen("IVMIImm")) == 0) {
6866 } else if (strncmp(format,
6873 } else if (strncmp(format,
6921 switch (format[2]) {
6933 VIXL_ASSERT(format[2] == 'c');
6983 const char *format) {
6984 VIXL_ASSERT((format[0] == 'I') && (format[1] == 'B'));
6988 switch (format[2]) {
6994 if (format[3] == '+') {
6998 VIXL_ASSERT(format[3] == '-');
7004 VIXL_ASSERT((format[3] == '-') && (format[4] == 'r'));
7019 const char *format) {
7020 VIXL_ASSERT(strncmp(format, "LValue", 6) == 0);
7021 USE(format);
7058 const char *format) {
7059 VIXL_ASSERT(format[0] == 'N');
7062 switch (format[1]) {
7077 VIXL_ASSERT(strncmp(format, "NSveS", 5) == 0);
7092 const char *format) {
7093 VIXL_ASSERT(format[0] == 'C');
7111 switch (format[1]) {
7128 const char *format) {
7129 VIXL_ASSERT((strcmp(format, "AddrPCRelByte") == 0) || // Used by `adr`.
7130 (strcmp(format, "AddrPCRelPage") == 0)); // Used by `adrp`.
7137 if (format[9] == 'P') {
7154 const char *format) {
7155 VIXL_ASSERT(strncmp(format, "TImm", 4) == 0);
7158 switch (format[5]) {
7191 const char *format) {
7192 VIXL_ASSERT(strncmp(format, "Ext", 3) == 0);
7194 USE(format);
7218 const char *format) {
7219 VIXL_ASSERT(strncmp(format, "Offsetreg", 9) == 0);
7228 USE(format);
7253 const char *format) {
7254 VIXL_ASSERT(format[0] == 'p');
7255 USE(format);
7258 (strncmp(format, "prefSVEOp", strlen("prefSVEOp")) == 0) ? true : false;
7294 const char *format) {
7295 VIXL_ASSERT(format[0] == 'M');
7296 USE(format);
7310 const char *format) {
7311 VIXL_ASSERT(format[0] == 'G');
7313 switch (format[1]) {
7328 const char *format) {
7329 VIXL_ASSERT(format[0] == 'K');
7331 switch (format[1]) {
7346 const char *format) {
7347 VIXL_ASSERT((format[0] == 'u') || (format[0] == 's'));
7360 const char *c = format;
7374 if (format[0] == 's') {
7379 // A "+n" trailing the format specifier indicates the extracted value should
7388 // Similarly, a "*n" trailing the format specifier indicates the extracted
7400 return static_cast<int>(c - format);
7404 const char *format) {
7405 USE(format);
7406 VIXL_ASSERT(format[0] == 't');
7411 switch (format[1]) {
7418 if (format[2] == 's') {
7422 if (format[3] == 's') {
7434 VIXL_ASSERT(strncmp(format, "tmsz", 4) == 0);
7446 if (format[2] == 'z') {
7447 VIXL_ASSERT((format[3] == 'p') || (format[3] == 's') ||
7448 (format[3] == 'd'));
7449 bool is_predicated = (format[3] == 'p');
7453 if (format[3] == 'd') { // Double size lanes.
7480 const char *format) {
7481 VIXL_ASSERT((format[0] == '?') && (format[3] == ':'));
7483 // The ternary substitution of the format "'?bb:TF" is replaced by a single
7487 VIXL_ASSERT(strspn(&format[1], "0123456789") == 2);
7489 uint64_t value = strtoul(&format[1], &c, 10);
7503 void Disassembler::AppendToOutput(const char *format, ...) {
7505 va_start(args, format);
7508 format,