llvm.org GIT mirror llvm / decea4d
[X86] Remove some unused TYPE enums from the disassembler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225343 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 4 years ago
4 changed file(s) with 1 addition(s) and 19 deletion(s). Raw diff Collapse all Expand all
680680 case TYPE_R32:
681681 case TYPE_R64:
682682 case TYPE_Rv:
683 case TYPE_MM:
684 case TYPE_MM32:
685683 case TYPE_MM64:
686684 case TYPE_XMM:
687685 case TYPE_XMM32:
707705 case TYPE_M32FP:
708706 case TYPE_M64FP:
709707 case TYPE_M80FP:
710 case TYPE_M16INT:
711 case TYPE_M32INT:
712 case TYPE_M64INT:
713708 case TYPE_M1616:
714709 case TYPE_M1632:
715710 case TYPE_M1664:
14591459 case TYPE_VK16: \
14601460 return prefix##_K0 + index; \
14611461 case TYPE_MM64: \
1462 case TYPE_MM32: \
1463 case TYPE_MM: \
14641462 return prefix##_MM0 + (index & 0x7); \
14651463 case TYPE_SEGMENTREG: \
14661464 if (index > 5) \
420420 ENUM_ENTRY(TYPE_M1616, "2+2-byte segment+offset address") \
421421 ENUM_ENTRY(TYPE_M1632, "2+4-byte") \
422422 ENUM_ENTRY(TYPE_M1664, "2+8-byte") \
423 ENUM_ENTRY(TYPE_M16_32, "2+4-byte two-part memory operand (LIDT, LGDT)") \
424 ENUM_ENTRY(TYPE_M16_16, "2+2-byte (BOUND)") \
425 ENUM_ENTRY(TYPE_M32_32, "4+4-byte (BOUND)") \
426 ENUM_ENTRY(TYPE_M16_64, "2+8-byte (LIDT, LGDT)") \
427423 ENUM_ENTRY(TYPE_SRCIDX8, "1-byte memory at source index") \
428424 ENUM_ENTRY(TYPE_SRCIDX16, "2-byte memory at source index") \
429425 ENUM_ENTRY(TYPE_SRCIDX32, "4-byte memory at source index") \
442438 ENUM_ENTRY(TYPE_M32FP, "32-bit IEE754 memory floating-point operand") \
443439 ENUM_ENTRY(TYPE_M64FP, "64-bit") \
444440 ENUM_ENTRY(TYPE_M80FP, "80-bit extended") \
445 ENUM_ENTRY(TYPE_M16INT, "2-byte memory integer operand for use in " \
446 "floating-point instructions") \
447 ENUM_ENTRY(TYPE_M32INT, "4-byte") \
448 ENUM_ENTRY(TYPE_M64INT, "8-byte") \
449441 ENUM_ENTRY(TYPE_ST, "Position on the floating-point stack") \
450 ENUM_ENTRY(TYPE_MM, "MMX register operand") \
451 ENUM_ENTRY(TYPE_MM32, "4-byte MMX register or memory operand") \
452 ENUM_ENTRY(TYPE_MM64, "8-byte") \
442 ENUM_ENTRY(TYPE_MM64, "8-byte MMX register") \
453443 ENUM_ENTRY(TYPE_XMM, "XMM register operand") \
454444 ENUM_ENTRY(TYPE_XMM32, "4-byte XMM register or memory operand") \
455445 ENUM_ENTRY(TYPE_XMM64, "8-byte") \
959959 TYPE("brtarget16", TYPE_RELv)
960960 TYPE("brtarget8", TYPE_REL8)
961961 TYPE("f80mem", TYPE_M80FP)
962 TYPE("lea32mem", TYPE_LEA)
963962 TYPE("lea64_32mem", TYPE_LEA)
964963 TYPE("lea64mem", TYPE_LEA)
965964 TYPE("VR64", TYPE_MM64)