Lines Matching defs:Format

117   void Format(Instruction* instr, const char* format);
645 // Format takes a formatting string for a whole instruction and prints it into
648 void Decoder::Format(Instruction* instr, const char* format) {
665 Format(instr, "unknown");
681 Format(instr, "mul'cond's 'rn, 'rm, 'rs");
687 Format(instr, "mla'cond's 'rn, 'rm, 'rs, 'rd");
696 Format(instr, "'um'al'cond's 'rd, 'rn, 'rm, 'rs");
706 Format(instr, "'memop'cond's 'rd, ['rn], -'rm");
708 Format(instr, "'memop'cond's 'rd, ['rn], #-'off8");
714 Format(instr, "'memop'cond's 'rd, ['rn], +'rm");
716 Format(instr, "'memop'cond's 'rd, ['rn], #+'off8");
722 Format(instr, "'memop'cond's 'rd, ['rn, -'rm]'w");
724 Format(instr, "'memop'cond's 'rd, ['rn, #-'off8]'w");
730 Format(instr, "'memop'cond's 'rd, ['rn, +'rm]'w");
732 Format(instr, "'memop'cond's 'rd, ['rn, #+'off8]'w");
747 Format(instr, "'memop'cond'sign'h 'rd, ['rn], -'rm");
749 Format(instr, "'memop'cond'sign'h 'rd, ['rn], #-'off8");
755 Format(instr, "'memop'cond'sign'h 'rd, ['rn], +'rm");
757 Format(instr, "'memop'cond'sign'h 'rd, ['rn], #+'off8");
763 Format(instr, "'memop'cond'sign'h 'rd, ['rn, -'rm]'w");
765 Format(instr, "'memop'cond'sign'h 'rd, ['rn, #-'off8]'w");
771 Format(instr, "'memop'cond'sign'h 'rd, ['rn, +'rm]'w");
773 Format(instr, "'memop'cond'sign'h 'rd, ['rn, #+'off8]'w");
789 Format(instr, "bx'cond 'rm");
792 Format(instr, "blx'cond 'rm");
795 Format(instr, "bkpt 'off0to3and8to19");
804 Format(instr, "clz'cond 'rd, 'rm");
816 Format(instr, "and'cond's 'rd, 'rn, 'shift_op");
820 Format(instr, "eor'cond's 'rd, 'rn, 'shift_op");
824 Format(instr, "sub'cond's 'rd, 'rn, 'shift_op");
828 Format(instr, "rsb'cond's 'rd, 'rn, 'shift_op");
832 Format(instr, "add'cond's 'rd, 'rn, 'shift_op");
836 Format(instr, "adc'cond's 'rd, 'rn, 'shift_op");
840 Format(instr, "sbc'cond's 'rd, 'rn, 'shift_op");
844 Format(instr, "rsc'cond's 'rd, 'rn, 'shift_op");
849 Format(instr, "tst'cond 'rn, 'shift_op");
851 Format(instr, "movw'cond 'mw");
857 Format(instr, "teq'cond 'rn, 'shift_op");
867 Format(instr, "cmp'cond 'rn, 'shift_op");
869 Format(instr, "movt'cond 'mw");
875 Format(instr, "cmn'cond 'rn, 'shift_op");
884 Format(instr, "orr'cond's 'rd, 'rn, 'shift_op");
888 Format(instr, "mov'cond's 'rd, 'shift_op");
892 Format(instr, "bic'cond's 'rd, 'rn, 'shift_op");
896 Format(instr, "mvn'cond's 'rd, 'shift_op");
916 Format(instr, "'memop'cond'b 'rd, ['rn], #-'off12");
924 Format(instr, "'memop'cond'b 'rd, ['rn], #+'off12");
928 Format(instr, "'memop'cond'b 'rd, ['rn, #-'off12]'w");
932 Format(instr, "'memop'cond'b 'rd, ['rn, #+'off12]'w");
948 Format(instr, "'memop'cond'b 'rd, ['rn], -'shift_rm");
955 Format(instr, "usat 'rd, #'imm05@16, 'rm'shift_sat");
960 Format(instr, "'memop'cond'b 'rd, ['rn], +'shift_rm");
965 Format(instr, "'memop'cond'b 'rd, ['rn, -'shift_rm]'w");
975 Format(instr, "ubfx'cond 'rd, 'rm, 'f");
977 Format(instr, "sbfx'cond 'rd, 'rm, 'f");
987 Format(instr, "bfc'cond 'rd, 'f");
989 Format(instr, "bfi'cond 'rd, 'rm, 'f");
995 Format(instr, "'memop'cond'b 'rd, ['rn, +'shift_rm]'w");
1014 Format(instr, "ldm'cond'pu 'rn'w, 'rlist");
1016 Format(instr, "stm'cond'pu 'rn'w, 'rlist");
1023 Format(instr, "b'l'cond 'target");
1035 Format(instr, "stop'cond 'svc");
1049 Format(instr, "svc'cond 'svc");
1083 Format(instr, "vmov.f64'cond 'Dd, 'Dm");
1085 Format(instr, "vmov.f32'cond 'Sd, 'Sm");
1089 Format(instr, "vabs'cond 'Dd, 'Dm");
1092 Format(instr, "vneg'cond 'Dd, 'Dm");
1104 Format(instr, "vsqrt.f64'cond 'Dd, 'Dm");
1107 Format(instr, "vmov.f64'cond 'Dd, 'd");
1117 Format(instr, "vsub.f64'cond 'Dd, 'Dn, 'Dm");
1119 Format(instr, "vadd.f64'cond 'Dd, 'Dn, 'Dm");
1126 Format(instr, "vmul.f64'cond 'Dd, 'Dn, 'Dm");
1132 Format(instr, "vdiv.f64'cond 'Dd, 'Dn, 'Dm");
1148 Format(instr, "vmsr'cond FPSCR, APSR");
1150 Format(instr, "vmsr'cond FPSCR, 'rt");
1154 Format(instr, "vmrs'cond APSR, FPSCR");
1156 Format(instr, "vmrs'cond 'rt, FPSCR");
1172 Format(instr, "vmov'cond 'rt, 'Sn");
1174 Format(instr, "vmov'cond 'Sn, 'rt");
1190 Format(instr, "vcmp.f64'cond 'Dd, 'Dm");
1192 Format(instr, "vcmp.f64'cond 'Dd, #0.0");
1209 Format(instr, "vcvt.f32.f64'cond 'Sd, 'Dm");
1211 Format(instr, "vcvt.f64.f32'cond 'Dd, 'Sm");
1228 Format(instr, "vcvt.u32.f64'cond 'Sd, 'Dm");
1230 Format(instr, "vcvt.s32.f64'cond 'Sd, 'Dm");
1234 Format(instr, "vcvt.u32.f32'cond 'Sd, 'Sm");
1236 Format(instr, "vcvt.s32.f32'cond 'Sd, 'Sm");
1244 Format(instr, "vcvt.f64.u32'cond 'Dd, 'Sm");
1246 Format(instr, "vcvt.f64.s32'cond 'Dd, 'Sm");
1250 Format(instr, "vcvt.f32.u32'cond 'Sd, 'Sm");
1252 Format(instr, "vcvt.f32.s32'cond 'Sd, 'Sm");
1272 Format(instr, "vldr'cond 'Sd, ['rn - 4*'imm08@00]");
1274 Format(instr, "vstr'cond 'Sd, ['rn - 4*'imm08@00]");
1280 Format(instr, "vldr'cond 'Sd, ['rn + 4*'imm08@00]");
1282 Format(instr, "vstr'cond 'Sd, ['rn + 4*'imm08@00]");
1293 Format(instr, "vldm'cond'pu 'rn'w, {'Sd-'Sd+}");
1295 Format(instr, "vstm'cond'pu 'rn'w, {'Sd-'Sd+}");
1309 Format(instr, "vmov'cond 'rt, 'rn, 'Dm");
1311 Format(instr, "vmov'cond 'Dm, 'rt, 'rn");
1316 Format(instr, "vldr'cond 'Dd, ['rn - 4*'imm08@00]");
1318 Format(instr, "vstr'cond 'Dd, ['rn - 4*'imm08@00]");
1323 Format(instr, "vldr'cond 'Dd, ['rn + 4*'imm08@00]");
1325 Format(instr, "vstr'cond 'Dd, ['rn + 4*'imm08@00]");
1333 Format(instr, "vldm'cond'pu 'rn'w, {'Dd-'Dd+}");
1335 Format(instr, "vstm'cond'pu 'rn'w, {'Dd-'Dd+}");