Home | History | Annotate | Download | only in sljit_src

Lines Matching defs:IMM

127 #define IMM(imm)	((imm) & 0xffff)
607 FAIL_IF(push_inst(compiler, STACK_STORE | S(TMP_ZERO) | A(SLJIT_SP) | IMM(offs)));
612 FAIL_IF(push_inst(compiler, STACK_STORE | S(i) | A(SLJIT_SP) | IMM(offs)));
617 FAIL_IF(push_inst(compiler, STACK_STORE | S(i) | A(SLJIT_SP) | IMM(offs)));
623 FAIL_IF(push_inst(compiler, STACK_STORE | S(0) | A(SLJIT_SP) | IMM(2 * sizeof(sljit_sw))));
625 FAIL_IF(push_inst(compiler, STACK_STORE | S(0) | A(SLJIT_SP) | IMM(sizeof(sljit_sw))));
642 FAIL_IF(push_inst(compiler, STWU | S(SLJIT_SP) | A(SLJIT_SP) | IMM(-local_size)));
649 FAIL_IF(push_inst(compiler, STDU | S(SLJIT_SP) | A(SLJIT_SP) | IMM(-local_size)));
682 FAIL_IF(push_inst(compiler, ADDI | D(SLJIT_SP) | A(SLJIT_SP) | IMM(compiler->local_size)));
689 FAIL_IF(push_inst(compiler, STACK_LOAD | D(0) | A(SLJIT_SP) | IMM(2 * sizeof(sljit_sw))));
691 FAIL_IF(push_inst(compiler, STACK_LOAD | D(0) | A(SLJIT_SP) | IMM(sizeof(sljit_sw))));
698 FAIL_IF(push_inst(compiler, STACK_LOAD | D(i) | A(SLJIT_SP) | IMM(offs)));
704 FAIL_IF(push_inst(compiler, STACK_LOAD | D(i) | A(SLJIT_SP) | IMM(offs)));
708 FAIL_IF(push_inst(compiler, STACK_LOAD | D(TMP_ZERO) | A(SLJIT_SP) | IMM(offs)));
731 /* 64 bit only: [reg+imm] must be aligned to 4 bytes. */
908 FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | IMM(argw)));
954 #define ADJUST_CACHED_IMM(imm) \
955 if ((inst & INT_ALIGNED) && (imm & 0x3)) { \
957 compiler->cache_argw += imm & 0x3; \
958 FAIL_IF(push_inst(compiler, ADDI | D(TMP_REG3) | A(TMP_REG3) | (imm & 0x3))); \
959 imm &= ~0x3; \
1026 FAIL_IF(push_inst(compiler, ADDIS | D(arg) | A(arg) | IMM(high_short >> 16)));
1037 FAIL_IF(push_inst(compiler, ADDIS | D(tmp_r) | A(arg & REG_MASK) | IMM(high_short >> 16)));
1042 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(tmp_r) | IMM(argw));
1052 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(TMP_REG3) | IMM(diff));
1072 return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(TMP_REG3) | IMM(diff));
1079 FAIL_IF(push_inst(compiler, ADDI | D(TMP_REG3) | A(TMP_REG3) | IMM(diff)));
1140 arg2 goes to TMP_REG2, imm or src reg
1507 compiler->imm = src2w & 0xffff;
1511 compiler->imm = src1w & 0xffff;
1515 compiler->imm = (src2w >> 16) & 0xffff;
1519 compiler->imm = (src1w >> 16) & 0xffff;
1524 compiler->imm = src2w & 0xffffffff;
1528 compiler->imm = src1w & 0xffffffff;
1534 compiler->imm = src2w & 0xffff;
1538 compiler->imm = src1w & 0xffff;
1553 compiler->imm = src2w & 0xffff;
1561 compiler->imm = src2w;
1569 compiler->imm = (-src2w) & 0xffff;
1573 compiler->imm = src1w & 0xffff;
1577 compiler->imm = ((-src2w) >> 16) & 0xffff;
1582 compiler->imm = -src2w & 0xffffffff;
1590 compiler->imm = src2w & 0xffff;
1597 compiler->imm = (-src2w) & 0xffff;
1613 compiler->imm = src2w & 0xffff;
1617 compiler->imm = src1w & 0xffff;
1631 compiler->imm = src2w;
1635 compiler->imm = src1w;
1639 compiler->imm = (src2w >> 16) & 0xffff;
1643 compiler->imm = (src1w >> 16) & 0xffff;
1650 compiler->imm = src2w;
1654 compiler->imm = src1w;
1668 compiler->imm = src2w;