Lines Matching refs:mask

1661 	sljit_uw mask;  in generate_int()  local
1667 mask = 0xff000000; in generate_int()
1670 if (!(imm & mask)) { in generate_int()
1678 mask >>= 2; in generate_int()
1679 if (mask & 0x3) { in generate_int()
1682 mask = 0xff00; in generate_int()
1685 if (!(imm & mask)) { in generate_int()
1693 mask >>= 2; in generate_int()
1694 if (mask & 0x3) in generate_int()
1807 sljit_sw mask = IS_TYPE1_TRANSFER(flags) ? 0xfff : 0xff; in emit_op_mem() local
1811 …SERT((arg & REG_MASK) != tmp_reg || (arg == SLJIT_MEM1(tmp_reg) && argw >= -mask && argw <= mask)); in emit_op_mem()
1814 tmp = (sljit_uw)(argw & (sign | mask)); in emit_op_mem()
1815 tmp = (sljit_uw)((argw + (tmp <= (sljit_uw)sign ? 0 : sign)) & ~mask); in emit_op_mem()
1828 (mask == 0xff) ? TYPE2_TRANSFER_IMM(argw) : argw)); in emit_op_mem()
1836 if (argw != 0 && (mask == 0xff)) { in emit_op_mem()
1843 RM(offset_reg) | (mask == 0xff ? 0 : (1 << 25)) | ((sljit_uw)argw << 7))); in emit_op_mem()
1848 if (argw > mask) { in emit_op_mem()
1849 tmp = (sljit_uw)(argw & (sign | mask)); in emit_op_mem()
1850 tmp = (sljit_uw)((argw + (tmp <= (sljit_uw)sign ? 0 : sign)) & ~mask); in emit_op_mem()
1858 SLJIT_ASSERT(argw >= -mask && argw <= mask); in emit_op_mem()
1860 } else if (argw < -mask) { in emit_op_mem()
1861 tmp = (sljit_uw)(-argw & (sign | mask)); in emit_op_mem()
1862 tmp = (sljit_uw)((-argw + (tmp <= (sljit_uw)sign ? 0 : sign)) & ~mask); in emit_op_mem()
1870 SLJIT_ASSERT(argw >= -mask && argw <= mask); in emit_op_mem()
1874 if (argw <= mask && argw >= -mask) { in emit_op_mem()
1876 if (mask == 0xff) in emit_op_mem()
1883 if (mask == 0xff) in emit_op_mem()
1891 RM(tmp_reg) | (mask == 0xff ? 0 : (1 << 25)))); in emit_op_mem()
3176 sljit_sw mask = max_offset >= 0xf00 ? 0xfff : 0xff; in update_mem_addr() local
3179 sljit_sw mask = 0xfff; in update_mem_addr() local
3195 if (argw <= max_offset && argw >= -mask) { in update_mem_addr()
3201 tmp = (sljit_uw)(argw & (sign | mask)); in update_mem_addr()
3202 …= (sljit_uw)((argw + ((tmp <= (sljit_uw)max_offset || tmp == (sljit_uw)sign) ? 0 : sign)) & ~mask); in update_mem_addr()
3207 SLJIT_ASSERT(*memw >= -mask && *memw <= max_offset); in update_mem_addr()
3212 tmp = (sljit_uw)(-argw & (sign | mask)); in update_mem_addr()
3213 …tmp = (sljit_uw)((-argw + ((tmp <= (sljit_uw)((sign << 1) - max_offset - 1)) ? 0 : sign)) & ~mask); in update_mem_addr()
3218 SLJIT_ASSERT(*memw >= -mask && *memw <= max_offset); in update_mem_addr()
3225 tmp = (sljit_uw)(argw & (sign | mask)); in update_mem_addr()
3226 …= (sljit_uw)((argw + ((tmp <= (sljit_uw)max_offset || tmp == (sljit_uw)sign) ? 0 : sign)) & ~mask); in update_mem_addr()