Lines Matching refs:mnemonic

56   const char *mnemonic = "";  in VisitAddSubImmediate()  local
64 mnemonic = "add"; in VisitAddSubImmediate()
66 mnemonic = "mov"; in VisitAddSubImmediate()
73 mnemonic = "adds"; in VisitAddSubImmediate()
75 mnemonic = "cmn"; in VisitAddSubImmediate()
81 case SUB_x_imm: mnemonic = "sub"; break; in VisitAddSubImmediate()
84 mnemonic = "subs"; in VisitAddSubImmediate()
86 mnemonic = "cmp"; in VisitAddSubImmediate()
93 Format(instr, mnemonic, form); in VisitAddSubImmediate()
100 const char *mnemonic = ""; in VisitAddSubShifted() local
107 case ADD_x_shift: mnemonic = "add"; break; in VisitAddSubShifted()
110 mnemonic = "adds"; in VisitAddSubShifted()
112 mnemonic = "cmn"; in VisitAddSubShifted()
119 mnemonic = "sub"; in VisitAddSubShifted()
121 mnemonic = "neg"; in VisitAddSubShifted()
128 mnemonic = "subs"; in VisitAddSubShifted()
130 mnemonic = "cmp"; in VisitAddSubShifted()
133 mnemonic = "negs"; in VisitAddSubShifted()
140 Format(instr, mnemonic, form); in VisitAddSubShifted()
146 const char *mnemonic = ""; in VisitAddSubExtended() local
155 case ADD_x_ext: mnemonic = "add"; break; in VisitAddSubExtended()
158 mnemonic = "adds"; in VisitAddSubExtended()
160 mnemonic = "cmn"; in VisitAddSubExtended()
166 case SUB_x_ext: mnemonic = "sub"; break; in VisitAddSubExtended()
169 mnemonic = "subs"; in VisitAddSubExtended()
171 mnemonic = "cmp"; in VisitAddSubExtended()
178 Format(instr, mnemonic, form); in VisitAddSubExtended()
184 const char *mnemonic = ""; in VisitAddSubWithCarry() local
190 case ADC_x: mnemonic = "adc"; break; in VisitAddSubWithCarry()
192 case ADCS_x: mnemonic = "adcs"; break; in VisitAddSubWithCarry()
195 mnemonic = "sbc"; in VisitAddSubWithCarry()
197 mnemonic = "ngc"; in VisitAddSubWithCarry()
204 mnemonic = "sbcs"; in VisitAddSubWithCarry()
206 mnemonic = "ngcs"; in VisitAddSubWithCarry()
213 Format(instr, mnemonic, form); in VisitAddSubWithCarry()
220 const char *mnemonic = ""; in VisitLogicalImmediate() local
231 case AND_x_imm: mnemonic = "and"; break; in VisitLogicalImmediate()
234 mnemonic = "orr"; in VisitLogicalImmediate()
238 mnemonic = "mov"; in VisitLogicalImmediate()
244 case EOR_x_imm: mnemonic = "eor"; break; in VisitLogicalImmediate()
247 mnemonic = "ands"; in VisitLogicalImmediate()
249 mnemonic = "tst"; in VisitLogicalImmediate()
256 Format(instr, mnemonic, form); in VisitLogicalImmediate()
292 const char *mnemonic = ""; in VisitLogicalShifted() local
297 case AND_x: mnemonic = "and"; break; in VisitLogicalShifted()
299 case BIC_x: mnemonic = "bic"; break; in VisitLogicalShifted()
301 case EOR_x: mnemonic = "eor"; break; in VisitLogicalShifted()
303 case EON_x: mnemonic = "eon"; break; in VisitLogicalShifted()
305 case BICS_x: mnemonic = "bics"; break; in VisitLogicalShifted()
308 mnemonic = "ands"; in VisitLogicalShifted()
310 mnemonic = "tst"; in VisitLogicalShifted()
317 mnemonic = "orr"; in VisitLogicalShifted()
319 mnemonic = "mov"; in VisitLogicalShifted()
326 mnemonic = "orn"; in VisitLogicalShifted()
328 mnemonic = "mvn"; in VisitLogicalShifted()
336 Format(instr, mnemonic, form); in VisitLogicalShifted()
341 const char *mnemonic = ""; in VisitConditionalCompareRegister() local
346 case CCMN_x: mnemonic = "ccmn"; break; in VisitConditionalCompareRegister()
348 case CCMP_x: mnemonic = "ccmp"; break; in VisitConditionalCompareRegister()
351 Format(instr, mnemonic, form); in VisitConditionalCompareRegister()
356 const char *mnemonic = ""; in VisitConditionalCompareImmediate() local
361 case CCMN_x_imm: mnemonic = "ccmn"; break; in VisitConditionalCompareImmediate()
363 case CCMP_x_imm: mnemonic = "ccmp"; break; in VisitConditionalCompareImmediate()
366 Format(instr, mnemonic, form); in VisitConditionalCompareImmediate()
373 const char *mnemonic = ""; in VisitConditionalSelect() local
383 case CSEL_x: mnemonic = "csel"; break; in VisitConditionalSelect()
386 mnemonic = "csinc"; in VisitConditionalSelect()
388 mnemonic = "cset"; in VisitConditionalSelect()
391 mnemonic = "cinc"; in VisitConditionalSelect()
398 mnemonic = "csinv"; in VisitConditionalSelect()
400 mnemonic = "csetm"; in VisitConditionalSelect()
403 mnemonic = "cinv"; in VisitConditionalSelect()
410 mnemonic = "csneg"; in VisitConditionalSelect()
412 mnemonic = "cneg"; in VisitConditionalSelect()
419 Format(instr, mnemonic, form); in VisitConditionalSelect()
428 const char *mnemonic = ""; in VisitBitfield() local
439 mnemonic = "sbfx"; in VisitBitfield()
444 mnemonic = "sxtb"; in VisitBitfield()
446 mnemonic = "sxth"; in VisitBitfield()
448 mnemonic = "sxtw"; in VisitBitfield()
453 mnemonic = "asr"; in VisitBitfield()
456 mnemonic = "sbfiz"; in VisitBitfield()
463 mnemonic = "ubfx"; in VisitBitfield()
468 mnemonic = "uxtb"; in VisitBitfield()
470 mnemonic = "uxth"; in VisitBitfield()
476 mnemonic = "lsr"; in VisitBitfield()
479 mnemonic = "lsl"; in VisitBitfield()
482 mnemonic = "ubfiz"; in VisitBitfield()
489 mnemonic = "bfxil"; in VisitBitfield()
492 mnemonic = "bfi"; in VisitBitfield()
497 Format(instr, mnemonic, form); in VisitBitfield()
502 const char *mnemonic = ""; in VisitExtract() local
509 mnemonic = "ror"; in VisitExtract()
512 mnemonic = "extr"; in VisitExtract()
518 Format(instr, mnemonic, form); in VisitExtract()
540 const char *mnemonic = "unimplemented"; in VisitUnconditionalBranchToRegister() local
544 case BR: mnemonic = "br"; break; in VisitUnconditionalBranchToRegister()
545 case BLR: mnemonic = "blr"; break; in VisitUnconditionalBranchToRegister()
547 mnemonic = "ret"; in VisitUnconditionalBranchToRegister()
555 Format(instr, mnemonic, form); in VisitUnconditionalBranchToRegister()
560 const char *mnemonic = ""; in VisitUnconditionalBranch() local
564 case B: mnemonic = "b"; break; in VisitUnconditionalBranch()
565 case BL: mnemonic = "bl"; break; in VisitUnconditionalBranch()
568 Format(instr, mnemonic, form); in VisitUnconditionalBranch()
573 const char *mnemonic = ""; in VisitDataProcessing1Source() local
579 case A##_x: mnemonic = B; break; in VisitDataProcessing1Source()
586 case REV32_x: mnemonic = "rev32"; break; in VisitDataProcessing1Source()
589 Format(instr, mnemonic, form); in VisitDataProcessing1Source()
594 const char *mnemonic = "unimplemented"; in VisitDataProcessing2Source() local
600 case A##_x: mnemonic = B; break; in VisitDataProcessing2Source()
610 Format(instr, mnemonic, form); in VisitDataProcessing2Source()
616 const char *mnemonic = ""; in VisitDataProcessing3Source() local
626 mnemonic = "madd"; in VisitDataProcessing3Source()
629 mnemonic = "mul"; in VisitDataProcessing3Source()
636 mnemonic = "msub"; in VisitDataProcessing3Source()
639 mnemonic = "mneg"; in VisitDataProcessing3Source()
645 mnemonic = "smaddl"; in VisitDataProcessing3Source()
647 mnemonic = "smull"; in VisitDataProcessing3Source()
653 mnemonic = "smsubl"; in VisitDataProcessing3Source()
655 mnemonic = "smnegl"; in VisitDataProcessing3Source()
661 mnemonic = "umaddl"; in VisitDataProcessing3Source()
663 mnemonic = "umull"; in VisitDataProcessing3Source()
669 mnemonic = "umsubl"; in VisitDataProcessing3Source()
671 mnemonic = "umnegl"; in VisitDataProcessing3Source()
677 mnemonic = "smulh"; in VisitDataProcessing3Source()
682 mnemonic = "umulh"; in VisitDataProcessing3Source()
688 Format(instr, mnemonic, form); in VisitDataProcessing3Source()
693 const char *mnemonic = ""; in VisitCompareBranch() local
698 case CBZ_x: mnemonic = "cbz"; break; in VisitCompareBranch()
700 case CBNZ_x: mnemonic = "cbnz"; break; in VisitCompareBranch()
703 Format(instr, mnemonic, form); in VisitCompareBranch()
708 const char *mnemonic = ""; in VisitTestBranch() local
716 case TBZ: mnemonic = "tbz"; break; in VisitTestBranch()
717 case TBNZ: mnemonic = "tbnz"; break; in VisitTestBranch()
720 Format(instr, mnemonic, form); in VisitTestBranch()
725 const char *mnemonic = ""; in VisitMoveWideImmediate() local
733 case MOVN_x: mnemonic = "movn"; break; in VisitMoveWideImmediate()
735 case MOVZ_x: mnemonic = "movz"; break; in VisitMoveWideImmediate()
737 case MOVK_x: mnemonic = "movk"; form = "'Rd, 'IMoveLSL"; break; in VisitMoveWideImmediate()
740 Format(instr, mnemonic, form); in VisitMoveWideImmediate()
764 const char *mnemonic = "unimplemented"; in VisitLoadStorePreIndex() local
769 case A##_pre: mnemonic = B; form = C ", ['Xns'ILS]!"; break; in VisitLoadStorePreIndex()
773 Format(instr, mnemonic, form); in VisitLoadStorePreIndex()
778 const char *mnemonic = "unimplemented"; in VisitLoadStorePostIndex() local
783 case A##_post: mnemonic = B; form = C ", ['Xns]'ILS"; break; in VisitLoadStorePostIndex()
787 Format(instr, mnemonic, form); in VisitLoadStorePostIndex()
792 const char *mnemonic = "unimplemented"; in VisitLoadStoreUnsignedOffset() local
797 case A##_unsigned: mnemonic = B; form = C ", ['Xns'ILU]"; break; in VisitLoadStoreUnsignedOffset()
800 case PRFM_unsigned: mnemonic = "prfm"; form = "'PrefOp, ['Xn'ILU]"; in VisitLoadStoreUnsignedOffset()
802 Format(instr, mnemonic, form); in VisitLoadStoreUnsignedOffset()
807 const char *mnemonic = "unimplemented"; in VisitLoadStoreRegisterOffset() local
812 case A##_reg: mnemonic = B; form = C ", ['Xns, 'Offsetreg]"; break; in VisitLoadStoreRegisterOffset()
815 case PRFM_reg: mnemonic = "prfm"; form = "'PrefOp, ['Xns, 'Offsetreg]"; in VisitLoadStoreRegisterOffset()
817 Format(instr, mnemonic, form); in VisitLoadStoreRegisterOffset()
822 const char *mnemonic = "unimplemented"; in VisitLoadStoreUnscaledOffset() local
829 case STURB_w: mnemonic = "sturb"; break; in VisitLoadStoreUnscaledOffset()
830 case STURH_w: mnemonic = "sturh"; break; in VisitLoadStoreUnscaledOffset()
831 case STUR_w: mnemonic = "stur"; break; in VisitLoadStoreUnscaledOffset()
832 case STUR_x: mnemonic = "stur"; form = form_x; break; in VisitLoadStoreUnscaledOffset()
833 case STUR_s: mnemonic = "stur"; form = form_s; break; in VisitLoadStoreUnscaledOffset()
834 case STUR_d: mnemonic = "stur"; form = form_d; break; in VisitLoadStoreUnscaledOffset()
835 case LDURB_w: mnemonic = "ldurb"; break; in VisitLoadStoreUnscaledOffset()
836 case LDURH_w: mnemonic = "ldurh"; break; in VisitLoadStoreUnscaledOffset()
837 case LDUR_w: mnemonic = "ldur"; break; in VisitLoadStoreUnscaledOffset()
838 case LDUR_x: mnemonic = "ldur"; form = form_x; break; in VisitLoadStoreUnscaledOffset()
839 case LDUR_s: mnemonic = "ldur"; form = form_s; break; in VisitLoadStoreUnscaledOffset()
840 case LDUR_d: mnemonic = "ldur"; form = form_d; break; in VisitLoadStoreUnscaledOffset()
842 case LDURSB_w: mnemonic = "ldursb"; break; in VisitLoadStoreUnscaledOffset()
844 case LDURSH_w: mnemonic = "ldursh"; break; in VisitLoadStoreUnscaledOffset()
845 case LDURSW_x: mnemonic = "ldursw"; form = form_x; break; in VisitLoadStoreUnscaledOffset()
848 Format(instr, mnemonic, form); in VisitLoadStoreUnscaledOffset()
853 const char *mnemonic = "ldr"; in VisitLoadLiteral() local
861 default: mnemonic = "unimplemented"; in VisitLoadLiteral()
863 Format(instr, mnemonic, form); in VisitLoadLiteral()
879 const char *mnemonic = "unimplemented"; in VisitLoadStorePairPostIndex() local
884 case A##_post: mnemonic = B; form = C ", ['Xns]'ILP" D; break; in VisitLoadStorePairPostIndex()
888 Format(instr, mnemonic, form); in VisitLoadStorePairPostIndex()
893 const char *mnemonic = "unimplemented"; in VisitLoadStorePairPreIndex() local
898 case A##_pre: mnemonic = B; form = C ", ['Xns'ILP" D "]!"; break; in VisitLoadStorePairPreIndex()
902 Format(instr, mnemonic, form); in VisitLoadStorePairPreIndex()
907 const char *mnemonic = "unimplemented"; in VisitLoadStorePairOffset() local
912 case A##_off: mnemonic = B; form = C ", ['Xns'ILP" D "]"; break; in VisitLoadStorePairOffset()
916 Format(instr, mnemonic, form); in VisitLoadStorePairOffset()
921 const char *mnemonic = "unimplemented"; in VisitLoadStorePairNonTemporal() local
925 case STNP_w: mnemonic = "stnp"; form = "'Wt, 'Wt2, ['Xns'ILP4]"; break; in VisitLoadStorePairNonTemporal()
926 case LDNP_w: mnemonic = "ldnp"; form = "'Wt, 'Wt2, ['Xns'ILP4]"; break; in VisitLoadStorePairNonTemporal()
927 case STNP_x: mnemonic = "stnp"; form = "'Xt, 'Xt2, ['Xns'ILP8]"; break; in VisitLoadStorePairNonTemporal()
928 case LDNP_x: mnemonic = "ldnp"; form = "'Xt, 'Xt2, ['Xns'ILP8]"; break; in VisitLoadStorePairNonTemporal()
929 case STNP_s: mnemonic = "stnp"; form = "'St, 'St2, ['Xns'ILP4]"; break; in VisitLoadStorePairNonTemporal()
930 case LDNP_s: mnemonic = "ldnp"; form = "'St, 'St2, ['Xns'ILP4]"; break; in VisitLoadStorePairNonTemporal()
931 case STNP_d: mnemonic = "stnp"; form = "'Dt, 'Dt2, ['Xns'ILP8]"; break; in VisitLoadStorePairNonTemporal()
932 case LDNP_d: mnemonic = "ldnp"; form = "'Dt, 'Dt2, ['Xns'ILP8]"; break; in VisitLoadStorePairNonTemporal()
935 Format(instr, mnemonic, form); in VisitLoadStorePairNonTemporal()
940 const char *mnemonic = "unimplemented"; in VisitFPCompare() local
948 case FCMP_d: mnemonic = "fcmp"; break; in VisitFPCompare()
951 Format(instr, mnemonic, form); in VisitFPCompare()
956 const char *mnemonic = "unimplemented"; in VisitFPConditionalCompare() local
961 case FCCMP_d: mnemonic = "fccmp"; break; in VisitFPConditionalCompare()
963 case FCCMPE_d: mnemonic = "fccmpe"; break; in VisitFPConditionalCompare()
966 Format(instr, mnemonic, form); in VisitFPConditionalCompare()
971 const char *mnemonic = ""; in VisitFPConditionalSelect() local
976 case FCSEL_d: mnemonic = "fcsel"; break; in VisitFPConditionalSelect()
979 Format(instr, mnemonic, form); in VisitFPConditionalSelect()
984 const char *mnemonic = "unimplemented"; in VisitFPDataProcessing1Source() local
990 case A##_d: mnemonic = B; break; in VisitFPDataProcessing1Source()
1003 case FCVT_ds: mnemonic = "fcvt"; form = "'Dd, 'Sn"; break; in VisitFPDataProcessing1Source()
1004 case FCVT_sd: mnemonic = "fcvt"; form = "'Sd, 'Dn"; break; in VisitFPDataProcessing1Source()
1007 Format(instr, mnemonic, form); in VisitFPDataProcessing1Source()
1012 const char *mnemonic = ""; in VisitFPDataProcessing2Source() local
1018 case A##_d: mnemonic = B; break; in VisitFPDataProcessing2Source()
1031 Format(instr, mnemonic, form); in VisitFPDataProcessing2Source()
1036 const char *mnemonic = ""; in VisitFPDataProcessing3Source() local
1042 case A##_d: mnemonic = B; break; in VisitFPDataProcessing3Source()
1050 Format(instr, mnemonic, form); in VisitFPDataProcessing3Source()
1055 const char *mnemonic = ""; in VisitFPImmediate() local
1059 case FMOV_s_imm: mnemonic = "fmov"; form = "'Sd, 'IFPSingle"; break; in VisitFPImmediate()
1060 case FMOV_d_imm: mnemonic = "fmov"; form = "'Dd, 'IFPDouble"; break; in VisitFPImmediate()
1063 Format(instr, mnemonic, form); in VisitFPImmediate()
1068 const char *mnemonic = "unimplemented"; in VisitFPIntegerConvert() local
1075 case FMOV_xd: mnemonic = "fmov"; form = form_rf; break; in VisitFPIntegerConvert()
1077 case FMOV_dx: mnemonic = "fmov"; form = form_fr; break; in VisitFPIntegerConvert()
1081 case FCVTAS_xd: mnemonic = "fcvtas"; form = form_rf; break; in VisitFPIntegerConvert()
1085 case FCVTAU_xd: mnemonic = "fcvtau"; form = form_rf; break; in VisitFPIntegerConvert()
1089 case FCVTMS_xd: mnemonic = "fcvtms"; form = form_rf; break; in VisitFPIntegerConvert()
1093 case FCVTMU_xd: mnemonic = "fcvtmu"; form = form_rf; break; in VisitFPIntegerConvert()
1097 case FCVTNS_xd: mnemonic = "fcvtns"; form = form_rf; break; in VisitFPIntegerConvert()
1101 case FCVTNU_xd: mnemonic = "fcvtnu"; form = form_rf; break; in VisitFPIntegerConvert()
1105 case FCVTZU_xs: mnemonic = "fcvtzu"; form = form_rf; break; in VisitFPIntegerConvert()
1109 case FCVTZS_ws: mnemonic = "fcvtzs"; form = form_rf; break; in VisitFPIntegerConvert()
1113 case SCVTF_dx: mnemonic = "scvtf"; form = form_fr; break; in VisitFPIntegerConvert()
1117 case UCVTF_dx: mnemonic = "ucvtf"; form = form_fr; break; in VisitFPIntegerConvert()
1119 Format(instr, mnemonic, form); in VisitFPIntegerConvert()
1124 const char *mnemonic = ""; in VisitFPFixedPointConvert() local
1132 case FCVTZS_xd_fixed: mnemonic = "fcvtzs"; break; in VisitFPFixedPointConvert()
1136 case FCVTZU_xd_fixed: mnemonic = "fcvtzu"; break; in VisitFPFixedPointConvert()
1140 case SCVTF_dx_fixed: mnemonic = "scvtf"; form = form_fr; break; in VisitFPFixedPointConvert()
1144 case UCVTF_dx_fixed: mnemonic = "ucvtf"; form = form_fr; break; in VisitFPFixedPointConvert()
1146 Format(instr, mnemonic, form); in VisitFPFixedPointConvert()
1154 const char *mnemonic = "unimplemented"; in VisitSystem() local
1160 mnemonic = "mrs"; in VisitSystem()
1169 mnemonic = "msr"; in VisitSystem()
1182 mnemonic = "nop"; in VisitSystem()
1190 mnemonic = "dmb"; in VisitSystem()
1195 mnemonic = "dsb"; in VisitSystem()
1200 mnemonic = "isb"; in VisitSystem()
1207 Format(instr, mnemonic, form); in VisitSystem()
1212 const char *mnemonic = "unimplemented"; in VisitException() local
1216 case HLT: mnemonic = "hlt"; break; in VisitException()
1217 case BRK: mnemonic = "brk"; break; in VisitException()
1218 case SVC: mnemonic = "svc"; break; in VisitException()
1219 case HVC: mnemonic = "hvc"; break; in VisitException()
1220 case SMC: mnemonic = "smc"; break; in VisitException()
1221 case DCPS1: mnemonic = "dcps1"; form = "{'IDebug}"; break; in VisitException()
1222 case DCPS2: mnemonic = "dcps2"; form = "{'IDebug}"; break; in VisitException()
1223 case DCPS3: mnemonic = "dcps3"; form = "{'IDebug}"; break; in VisitException()
1226 Format(instr, mnemonic, form); in VisitException()
1245 void Disassembler::Format(Instruction* instr, const char* mnemonic, in Format() argument
1249 DCHECK(mnemonic != NULL); in Format()
1251 Substitute(instr, mnemonic); in Format()