Lines Matching defs:RD4

70 #define RD4(rd) (reg_map[rd] << 8)
209 FAIL_IF(push_inst32(compiler, MOVW | RD4(dst) |
211 return push_inst32(compiler, MOVT | RD4(dst) |
495 return push_inst32(compiler, MOV_WI | RD4(dst) | tmp);
498 return push_inst32(compiler, MVN_WI | RD4(dst) | tmp);
502 FAIL_IF(push_inst32(compiler, MOVW | RD4(dst) |
507 return push_inst32(compiler, MOVT | RD4(dst) |
567 return push_inst32(compiler, ADDWI | RD4(dst) | RN4(reg) | IMM12(imm));
569 return push_inst32(compiler, SUBWI | RD4(dst) | RN4(reg) | IMM12(nimm));
573 return push_inst32(compiler, ADD_WI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm);
578 return push_inst32(compiler, ADCI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm);
586 return push_inst32(compiler, RSB_WI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm);
606 return push_inst32(compiler, SUBWI | RD4(dst) | RN4(reg) | IMM12(imm));
608 return push_inst32(compiler, ADDWI | RD4(dst) | RN4(reg) | IMM12(nimm));
612 return push_inst32(compiler, SUB_WI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm);
619 return push_inst32(compiler, SBCI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm);
624 return push_inst32(compiler, ANDI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | nimm);
627 return push_inst32(compiler, BICI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm);
632 return push_inst32(compiler, ORRI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | nimm);
635 return push_inst32(compiler, ORNI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm);
640 return push_inst32(compiler, EORI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm);
653 return push_inst32(compiler, MOV_W | SET_FLAGS | RD4(dst) | RM4(reg));
659 return push_inst32(compiler, LSL_WI | (flags & SET_FLAGS) | RD4(dst) | RM4(reg) | IMM5(imm));
663 return push_inst32(compiler, LSR_WI | (flags & SET_FLAGS) | RD4(dst) | RM4(reg) | IMM5(imm));
667 return push_inst32(compiler, ASR_WI | (flags & SET_FLAGS) | RD4(dst) | RM4(reg) | IMM5(imm));
707 return push_inst32(compiler, UXTB_W | RD4(dst) | RM4(arg2));
713 return push_inst32(compiler, SXTB_W | RD4(dst) | RM4(arg2));
719 return push_inst32(compiler, UXTH_W | RD4(dst) | RM4(arg2));
725 return push_inst32(compiler, SXTH_W | RD4(dst) | RM4(arg2));
730 return push_inst32(compiler, MVN_W | (flags & SET_FLAGS) | RD4(dst) | RM4(arg2));
733 FAIL_IF(push_inst32(compiler, CLZ | RN4(arg2) | RD4(dst) | RM4(arg2)));
737 return push_inst32(compiler, ADD_WI | SET_FLAGS | RN4(dst) | RD4(dst));
745 return push_inst32(compiler, ADD_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2));
749 return push_inst32(compiler, ADC_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2));
753 return push_inst32(compiler, SUB_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2));
757 return push_inst32(compiler, SBC_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2));
760 return push_inst32(compiler, MUL | RD4(dst) | RN4(arg1) | RM4(arg2));
762 FAIL_IF(push_inst32(compiler, SMULL | RT4(dst) | RD4(TMP_REG2) | RN4(arg1) | RM4(arg2)));
770 return push_inst32(compiler, AND_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2));
774 return push_inst32(compiler, ORR_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2));
778 return push_inst32(compiler, EOR_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2));
782 return push_inst32(compiler, LSL_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2));
786 return push_inst32(compiler, LSR_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2));
790 return push_inst32(compiler, ASR_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2));
882 return push_inst32(compiler, ADDWI | RD4(dst) | RN4(reg) | IMM12(value));
885 return push_inst32(compiler, ADD_WI | RD4(dst) | RN4(reg) | value);
890 return push_inst32(compiler, SUBWI | RD4(dst) | RN4(reg) | IMM12(value));
893 return push_inst32(compiler, SUB_WI | RD4(dst) | RN4(reg) | value);
934 push_inst32(compiler, ADD_WI | RD4(arg) | RN4(arg) | tmp);
941 push_inst32(compiler, SUB_WI | RD4(arg) | RN4(arg) | tmp);
987 push_inst32(compiler, ADD_WI | RD4(tmp_reg) | RN4(arg) | tmp);
995 push_inst32(compiler, SUB_WI | RD4(tmp_reg) | RN4(arg) | tmp);
1433 FAIL_IF(push_inst32(compiler, ADD_W | RD4(TMP_REG1) | RN4(arg & REG_MASK) | RM4(OFFS_REG(arg)) | ((argw & 0x3) << 6)));
1452 FAIL_IF(push_inst32(compiler, ADD_WI | RD4(TMP_REG1) | RN4(arg & REG_MASK) | imm));
1458 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(TMP_REG1) | RN4(arg & REG_MASK) | imm));
1832 FAIL_IF(push_inst32(compiler, MOV_WI | RD4(dst_r) | 1));
1833 FAIL_IF(push_inst32(compiler, MOV_WI | RD4(dst_r) | 0));
1848 FAIL_IF(push_inst32(compiler, ins | RN4(src) | RD4(dst) | 1));
1853 return push_inst32(compiler, MOV_W | SET_FLAGS | RD4(TMP_REG1) | RM4(dst));
1870 FAIL_IF(push_inst32(compiler, ins | RN4(src) | RD4(dst_r) | 1));
1871 FAIL_IF(push_inst32(compiler, ins | RN4(src) | RD4(dst_r) | 0));
1875 FAIL_IF(push_inst32(compiler, ins | RN4(src) | RD4(dst_r) | 1));
1885 return push_inst32(compiler, MOV_W | SET_FLAGS | RD4(TMP_REG1) | RM4(dst_r));