Lines Matching refs:mask

1824 	sljit_uw mask;  in compute_imm()  local
1829 mask = 0xff000000; in compute_imm()
1832 if (!(imm & mask)) { in compute_imm()
1841 mask >>= 2; in compute_imm()
1842 if (mask & 0x3) { in compute_imm()
1845 mask = 0xff00; in compute_imm()
1848 if (!(imm & mask)) { in compute_imm()
1856 mask >>= 2; in compute_imm()
1857 if (mask & 0x3) in compute_imm()
1975 sljit_sw mask = IS_TYPE1_TRANSFER(flags) ? 0xfff : 0xff; in emit_op_mem() local
1979 …SERT((arg & REG_MASK) != tmp_reg || (arg == SLJIT_MEM1(tmp_reg) && argw >= -mask && argw <= mask)); in emit_op_mem()
1982 tmp = (sljit_uw)(argw & (sign | mask)); in emit_op_mem()
1983 tmp = (sljit_uw)((argw + (tmp <= (sljit_uw)sign ? 0 : sign)) & ~mask); in emit_op_mem()
1996 (mask == 0xff) ? TYPE2_TRANSFER_IMM(argw) : argw)); in emit_op_mem()
2004 if (argw != 0 && (mask == 0xff)) { in emit_op_mem()
2011 RM(offset_reg) | (mask == 0xff ? 0 : (1 << 25)) | ((sljit_ins)argw << 7))); in emit_op_mem()
2016 if (argw > mask) { in emit_op_mem()
2017 tmp = (sljit_uw)(argw & (sign | mask)); in emit_op_mem()
2018 tmp = (sljit_uw)((argw + (tmp <= (sljit_uw)sign ? 0 : sign)) & ~mask); in emit_op_mem()
2026 SLJIT_ASSERT(argw >= -mask && argw <= mask); in emit_op_mem()
2028 } else if (argw < -mask) { in emit_op_mem()
2029 tmp = (sljit_uw)(-argw & (sign | mask)); in emit_op_mem()
2030 tmp = (sljit_uw)((-argw + (tmp <= (sljit_uw)sign ? 0 : sign)) & ~mask); in emit_op_mem()
2038 SLJIT_ASSERT(argw >= -mask && argw <= mask); in emit_op_mem()
2042 if (argw <= mask && argw >= -mask) { in emit_op_mem()
2044 if (mask == 0xff) in emit_op_mem()
2051 if (mask == 0xff) in emit_op_mem()
2059 RM(tmp_reg) | (mask == 0xff ? 0 : (1 << 25)))); in emit_op_mem()
3637 sljit_sw mask = 0xfff; in update_mem_addr() local
3652 if (argw <= max_offset && argw >= -mask) { in update_mem_addr()
3658 tmp = (sljit_uw)(argw & (sign | mask)); in update_mem_addr()
3659 …= (sljit_uw)((argw + ((tmp <= (sljit_uw)max_offset || tmp == (sljit_uw)sign) ? 0 : sign)) & ~mask); in update_mem_addr()
3664 SLJIT_ASSERT(*memw >= -mask && *memw <= max_offset); in update_mem_addr()
3669 tmp = (sljit_uw)(-argw & (sign | mask)); in update_mem_addr()
3670 …tmp = (sljit_uw)((-argw + ((tmp <= (sljit_uw)((sign << 1) - max_offset - 1)) ? 0 : sign)) & ~mask); in update_mem_addr()
3675 SLJIT_ASSERT(*memw >= -mask && *memw <= max_offset); in update_mem_addr()
3682 tmp = (sljit_uw)(argw & (sign | mask)); in update_mem_addr()
3683 …= (sljit_uw)((argw + ((tmp <= (sljit_uw)max_offset || tmp == (sljit_uw)sign) ? 0 : sign)) & ~mask); in update_mem_addr()