/third_party/pcre2/pcre2/src/sljit/ |
D | sljitNativeX86_64.c | 439 if (b & REG_MASK) in emit_x86_instruction() 444 else if (reg_lmap[b & REG_MASK] == 4) in emit_x86_instruction() 448 if ((b & REG_MASK) == SLJIT_UNUSED) in emit_x86_instruction() 451 if (reg_map[b & REG_MASK] >= 8) in emit_x86_instruction() 461 else if (reg_lmap[b & REG_MASK] == 5) in emit_x86_instruction() 553 else if ((b & REG_MASK) != SLJIT_UNUSED) { in emit_x86_instruction() 555 if (immb != 0 || reg_lmap[b & REG_MASK] == 5) { in emit_x86_instruction() 563 *buf_ptr++ |= reg_lmap[b & REG_MASK]; in emit_x86_instruction() 566 *buf_ptr++ = reg_lmap[b & REG_MASK] | (reg_lmap[OFFS_REG(b)] << 3); in emit_x86_instruction() 569 if (immb != 0 || reg_lmap[b & REG_MASK] == 5) { in emit_x86_instruction() [all …]
|
D | sljitNativeS390X.c | 906 if (mem & REG_MASK) in make_addr_bxy() 907 base = gpr(mem & REG_MASK); in make_addr_bxy() 939 if (mem & REG_MASK) in make_addr_bx() 940 base = gpr(mem & REG_MASK); in make_addr_bx() 1017 SLJIT_ASSERT(!SLOW_IS_REG(src) || dst_r != gpr(src & REG_MASK)); in emit_move() 1025 sljit_gpr src_r = gpr(src & REG_MASK); in emit_move() 1039 dst_r = gpr(dst & REG_MASK); in emit_rr() 1053 src_r = gpr(src2 & REG_MASK); in emit_rr() 1062 dst_r = gpr(dst & REG_MASK); in emit_rr() 1071 sljit_gpr dst_r = SLOW_IS_REG(dst) ? gpr(dst & REG_MASK) : tmp0; in emit_rrf() [all …]
|
D | sljitNativeX86_32.c | 371 SLJIT_ASSERT(!(b & SLJIT_MEM) || immb || reg_map[b & REG_MASK] != 5); in emit_x86_instruction() 384 if ((b & REG_MASK) == SLJIT_UNUSED) in emit_x86_instruction() 394 if ((b & REG_MASK) == SLJIT_SP && !(b & OFFS_REG_MASK)) in emit_x86_instruction() 465 else if ((b & REG_MASK) != SLJIT_UNUSED) { in emit_x86_instruction() 475 *buf_ptr++ |= reg_map[b & REG_MASK]; in emit_x86_instruction() 478 *buf_ptr++ = reg_map[b & REG_MASK] | (reg_map[OFFS_REG(b)] << 3); in emit_x86_instruction() 492 *buf_ptr++ = reg_map[b & REG_MASK] | (reg_map[OFFS_REG(b)] << 3) | (immb << 6); in emit_x86_instruction() 792 if ((src & REG_MASK) == SLJIT_R2 || OFFS_REG(src) == SLJIT_R2) { in sljit_emit_icall() 794 if (((src & REG_MASK) | 0x2) == SLJIT_R2) in sljit_emit_icall()
|
D | sljitLir.c | 123 #define REG_MASK 0x3f macro 124 #define OFFS_REG(reg) (((reg) >> 8) & REG_MASK) 125 #define OFFS_REG_MASK (REG_MASK << 8) 128 #define FAST_IS_REG(reg) ((reg) <= REG_MASK) 130 #define SLOW_IS_REG(reg) ((reg) > 0 && (reg) <= REG_MASK) 750 (((exp) & SLJIT_MEM) && (((exp) & REG_MASK) == reg || OFFS_REG(exp) == reg)) 776 if (!((p & REG_MASK) == SLJIT_UNUSED || FUNCTION_CHECK_IS_REG(p & REG_MASK))) in function_check_src_mem() 779 if (CHECK_IF_VIRTUAL_REGISTER(p & REG_MASK)) in function_check_src_mem() 783 if ((p & REG_MASK) == SLJIT_UNUSED) in function_check_src_mem() 796 return (p & ~(SLJIT_MEM | REG_MASK | OFFS_REG_MASK)) == 0; in function_check_src_mem() [all …]
|
D | sljitNativePPC_common.c | 1016 …return push_inst(compiler, INST_CODE_AND_DST(inst, inp_flags, reg) | A(arg & REG_MASK) | B(offs_re… in emit_op_mem() 1020 arg &= REG_MASK; in emit_op_mem() 1177 if (srcw == 0 && (src & REG_MASK) != SLJIT_UNUSED) in emit_prefetch() 1178 return push_inst(compiler, DCBT | A(0) | B(src & REG_MASK)); in emit_prefetch() 1182 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(TMP_REG1)); in emit_prefetch() 1188 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(OFFS_REG(src))); in emit_prefetch() 1195 return push_inst(compiler, DCBT | A(src & REG_MASK) | B(TMP_REG1)); in emit_prefetch() 1701 if ((dst & REG_MASK) && !dstw) { in sljit_emit_fop1_conv_sw_from_f64() 1702 dstw = dst & REG_MASK; in sljit_emit_fop1_conv_sw_from_f64() 1712 return push_inst(compiler, STFIWX | FS(TMP_FREG1) | A(dst & REG_MASK) | B(dstw)); in sljit_emit_fop1_conv_sw_from_f64() [all …]
|
D | sljitNativeARM_T2_32.c | 979 SLJIT_ASSERT((arg & REG_MASK) != tmp_reg); in emit_op_mem() 982 if (SLJIT_UNLIKELY(!(arg & REG_MASK))) { in emit_op_mem() 1549 …FAIL_IF(push_inst32(compiler, ADD_W | RD4(TMP_REG1) | RN4(arg & REG_MASK) | RM4(OFFS_REG(arg)) | (… in emit_fop_mem() 1554 if ((arg & REG_MASK) && (argw & 0x3) == 0) { in emit_fop_mem() 1556 return push_inst32(compiler, inst | 0x800000 | RN4(arg & REG_MASK) | DD4(reg) | (argw >> 2)); in emit_fop_mem() 1558 return push_inst32(compiler, inst | RN4(arg & REG_MASK) | DD4(reg) | (-argw >> 2)); in emit_fop_mem() 1561 if (arg & REG_MASK) { in emit_fop_mem() 1562 if (emit_set_delta(compiler, TMP_REG1, arg & REG_MASK, argw) != SLJIT_ERR_UNSUPPORTED) { in emit_fop_mem() 1568 FAIL_IF(push_inst32(compiler, ADD_WI | RD4(TMP_REG1) | RN4(arg & REG_MASK) | imm)); in emit_fop_mem() 1574 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(TMP_REG1) | RN4(arg & REG_MASK) | imm)); in emit_fop_mem() [all …]
|
D | sljitNativeARM_32.c | 1456 SLJIT_ASSERT((arg & REG_MASK) != tmp_reg); in emit_op_mem() 1458 if ((arg & REG_MASK) == SLJIT_UNUSED) { in emit_op_mem() 1474 arg &= REG_MASK; in emit_op_mem() 1487 arg &= REG_MASK; in emit_op_mem() 1936 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | ((argw &… in emit_fop_mem() 1944 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 1, arg & REG_MASK, reg, argw >> 2)); in emit_fop_mem() 1946 return push_inst(compiler, EMIT_FPU_DATA_TRANSFER(inst, 0, arg & REG_MASK, reg, (-argw) >> 2)); in emit_fop_mem() 1950 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | imm)); in emit_fop_mem() 1956 FAIL_IF(push_inst(compiler, SUB | RD(TMP_REG2) | RN(arg & REG_MASK) | imm)); in emit_fop_mem() 1963 FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG2) | RN(arg & REG_MASK) | RM(TMP_REG2))); in emit_fop_mem() [all …]
|
D | sljitNativeARM_64.c | 873 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_op_mem() 875 …FAIL_IF(push_inst(compiler, ADD | RD(tmp_reg) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw << … in emit_op_mem() 879 arg &= REG_MASK; in emit_op_mem() 1392 | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw ? (1 << 12) : 0)); in emit_fop_mem() 1394 …FAIL_IF(push_inst(compiler, ADD | RD(TMP_REG1) | RN(arg & REG_MASK) | RM(OFFS_REG(arg)) | (argw <<… in emit_fop_mem() 1398 arg &= REG_MASK; in emit_fop_mem() 1919 return push_inst(compiler, inst | RT(reg) | RN(mem & REG_MASK) | ((memw & 0x1ff) << 12)); in sljit_emit_mem() 1948 return push_inst(compiler, inst | VT(freg) | RN(mem & REG_MASK) | ((memw & 0x1ff) << 12)); in sljit_emit_fmem()
|
D | sljitNativeMIPS_common.c | 923 FAIL_IF(push_inst(compiler, data_transfer_insts[flags & MEM_MASK] | S(arg & REG_MASK) in getput_arg_fast() 974 base = arg & REG_MASK; in getput_arg() 1059 base = arg & REG_MASK; in emit_op_mem() 1308 return push_inst(compiler, PREF | S(src & REG_MASK) | IMM(srcw), MOVABLE_INS); in emit_prefetch() 1311 return push_inst(compiler, PREFX | S(src & REG_MASK) | T(TMP_REG1), MOVABLE_INS); in emit_prefetch() 1318 return push_inst(compiler, PREFX | S(src & REG_MASK) | T(TMP_REG1), MOVABLE_INS); in emit_prefetch() 1321 return push_inst(compiler, PREFX | S(src & REG_MASK) | T(OFFS_REG(src)), MOVABLE_INS); in emit_prefetch()
|
D | sljitNativeSPARC_32.c | 156 reg = reg_map[*src & REG_MASK]; in call_with_args()
|
D | sljitNativePPC_64.c | 433 reg = *src & REG_MASK; in call_with_args()
|
D | sljitNativeSPARC_common.c | 605 | S1(arg & REG_MASK) | ((arg & OFFS_REG_MASK) ? S2(OFFS_REG(arg)) : IMM(argw)), in getput_arg_fast() 646 base = arg & REG_MASK; in getput_arg()
|
D | sljitNativeX86_common.c | 1180 if ((dst & REG_MASK) == SLJIT_R0) { in emit_mov_byte() 1189 else if ((dst & REG_MASK) == SLJIT_R1) in emit_mov_byte()
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_defines.h | 53 #define REG_MASK(value) ((value) << 16) macro 1338 # define SLICE_HASHING_TABLE_ENABLE_MASK REG_MASK(1 << 6) 1569 REG_MASK(GFX8_HIZ_NP_PMA_FIX_ENABLE | GFX8_HIZ_NP_EARLY_Z_FAILS_DISABLE) 1577 # define GFX9_SUBSLICE_HASHING_MASK_BITS REG_MASK(3 << 8) 1582 # define GFX9_SLICE_HASHING_MASK_BITS REG_MASK(3 << 11) 1661 # define GLK_SCEC_BARRIER_MODE_MASK REG_MASK(1 << 7) 1666 # define TEXEL_OFFSET_FIX_MASK REG_MASK(1 << 1) 1670 # define HEADERLESS_MESSAGE_FOR_PREEMPTABLE_CONTEXTS_MASK REG_MASK(1 << 5) 1675 # define GFX9_REPLAY_MODE_MASK REG_MASK(1 << 0)
|
D | brw_state_upload.c | 200 REG_MASK(GFX11_DISABLE_REPACKING_FOR_COMPRESSION)); in brw_upload_initial_gpu_state() 208 REG_MASK(GFX9_FLOAT_BLEND_OPTIMIZATION_ENABLE) | in brw_upload_initial_gpu_state() 209 REG_MASK(GFX9_MSC_RAW_HAZARD_AVOIDANCE_BIT) | in brw_upload_initial_gpu_state() 210 REG_MASK(GFX9_PARTIAL_RESOLVE_DISABLE_IN_VC) | in brw_upload_initial_gpu_state() 243 OUT_BATCH(REG_MASK(CSDBG2_CONSTANT_BUFFER_ADDRESS_OFFSET_DISABLE) | in brw_upload_initial_gpu_state() 250 OUT_BATCH(REG_MASK(INSTPM_CONSTANT_BUFFER_ADDRESS_OFFSET_DISABLE) | in brw_upload_initial_gpu_state()
|
D | gfx7_l3_state.c | 183 OUT_BATCH(REG_MASK(HSW_ROW_CHICKEN3_L3_ATOMIC_DISABLE) | in setup_l3_config()
|