Home
last modified time | relevance | path

Searched refs:reg_map (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/sys/external/bsd/sljit/dist/sljit_src/
H A DsljitNativeTILEGX_64.c54 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 6] = { variable
1165 FAIL_IF(ADDLI_SOLO(reg_map[dst_ar], ZERO, imm >> 48)); in emit_const_64()
1166 FAIL_IF(SHL16INSLI_SOLO(reg_map[dst_ar], reg_map[dst_ar], imm >> 32)); in emit_const_64()
1167 FAIL_IF(SHL16INSLI_SOLO(reg_map[dst_ar], reg_map[dst_ar], imm >> 16)); in emit_const_64()
1168 return SHL16INSLI_SOLO(reg_map[dst_ar], reg_map[dst_ar], imm); in emit_const_64()
1171 FAIL_IF(ADDLI(reg_map[dst_ar], ZERO, imm >> 48)); in emit_const_64()
1172 FAIL_IF(SHL16INSLI(reg_map[dst_ar], reg_map[dst_ar], imm >> 32)); in emit_const_64()
1173 FAIL_IF(SHL16INSLI(reg_map[dst_ar], reg_map[dst_ar], imm >> 16)); in emit_const_64()
1174 return SHL16INSLI(reg_map[dst_ar], reg_map[dst_ar], imm); in emit_const_64()
1211 FAIL_IF(ST_ADD(ADDR_TMP_mapped, reg_map[i], -8)); in sljit_emit_enter()
[all …]
H A DsljitNativeX86_32.c113 PUSH_REG(reg_map[TMP_REG1]); in sljit_emit_enter()
117 *inst++ = MOD_REG | (reg_map[TMP_REG1] << 3) | 0x4 /* esp */; in sljit_emit_enter()
121 PUSH_REG(reg_map[SLJIT_S2]); in sljit_emit_enter()
123 PUSH_REG(reg_map[SLJIT_S1]); in sljit_emit_enter()
125 PUSH_REG(reg_map[SLJIT_S0]); in sljit_emit_enter()
130 *inst++ = MOD_REG | (reg_map[SLJIT_S0] << 3) | reg_map[SLJIT_R2]; in sljit_emit_enter()
134 *inst++ = MOD_REG | (reg_map[SLJIT_S1] << 3) | reg_map[SLJIT_R1]; in sljit_emit_enter()
138 *inst++ = MOD_DISP8 | (reg_map[SLJIT_S2] << 3) | 0x4 /* esp */; in sljit_emit_enter()
145 *inst++ = MOD_DISP8 | (reg_map[SLJIT_S0] << 3) | reg_map[TMP_REG1]; in sljit_emit_enter()
150 *inst++ = MOD_DISP8 | (reg_map[SLJIT_S1] << 3) | reg_map[TMP_REG1]; in sljit_emit_enter()
[all …]
H A DsljitNativeX86_64.c38 *inst++ = REX_W | ((reg_map[reg] <= 7) ? 0 : REX_B); in emit_load_imm64()
39 *inst++ = MOV_r_i32 + (reg_map[reg] & 0x7); in emit_load_imm64()
52 SLJIT_ASSERT(reg_map[TMP_REG3] == 9); in generate_far_jump_code()
94 size = reg_map[i] >= 8 ? 2 : 1; in sljit_emit_enter()
98 if (reg_map[i] >= 8) in sljit_emit_enter()
104 size = reg_map[i] >= 8 ? 2 : 1; in sljit_emit_enter()
108 if (reg_map[i] >= 8) in sljit_emit_enter()
124 *inst++ = MOD_REG | (reg_map[SLJIT_S0] << 3) | 0x7 /* rdi */; in sljit_emit_enter()
140 *inst++ = MOD_REG | (reg_map[SLJIT_S0] << 3) | 0x1 /* rcx */; in sljit_emit_enter()
145 *inst++ = MOD_REG | (reg_map[SLJIT_S1] << 3) | 0x2 /* rdx */; in sljit_emit_enter()
[all …]
H A DsljitNativeX86_common.c71 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 3] = { variable
97 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 5] = { variable
106 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 5] = { variable
663 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw); in emit_mov()
670 … return emit_do_imm32(compiler, (reg_map[dst] >= 8) ? REX_B : 0, MOV_r_i32 + reg_lmap[dst], srcw); in emit_mov()
736 reg_map[SLJIT_R0] == 0 in sljit_emit_op0()
737 && reg_map[SLJIT_R1] == 2 in sljit_emit_op0()
738 && reg_map[TMP_REG1] > 7); in sljit_emit_op0()
741 reg_map[SLJIT_R0] == 0 in sljit_emit_op0()
742 && reg_map[SLJIT_R1] < 7 in sljit_emit_op0()
[all …]
H A DsljitNativeARM_T2_32.c46 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 5] = { variable
54 #define RD3(rd) (reg_map[rd])
55 #define RN3(rn) (reg_map[rn] << 3)
56 #define RM3(rm) (reg_map[rm] << 6)
57 #define RDN3(rdn) (reg_map[rdn] << 8)
63 ((reg_map[rn] << 3) | (reg_map[rd] & 0x7) | ((reg_map[rd] & 0x8) << 4))
65 (reg_map[reg1] <= 7 && reg_map[reg2] <= 7)
67 (reg_map[reg1] <= 7 && reg_map[reg2] <= 7 && reg_map[reg3] <= 7)
70 #define RD4(rd) (reg_map[rd] << 8)
71 #define RN4(rn) (reg_map[rn] << 16)
[all …]
H A DsljitNativeARM_32.c59 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 5] = { variable
63 #define RM(rm) (reg_map[rm])
64 #define RD(rd) (reg_map[rd] << 12)
65 #define RN(rn) (reg_map[rn] << 16)
862 …sts[(type) & 0xf] | ((add) << 23) | ((wb) << (21 - 4)) | (reg_map[target_reg] << 12) | (reg_map[ba…
897 push |= 1 << reg_map[i]; in sljit_emit_enter()
900 push |= 1 << reg_map[i]; in sljit_emit_enter()
955 pop |= 1 << reg_map[i]; in sljit_emit_return()
958 pop |= 1 << reg_map[i]; in sljit_emit_return()
994 …dst, SLJIT_UNUSED, (reg_map[(flags & ARGS_SWAPPED) ? src1 : src2] << 8) | (opcode << 5) | 0x10 | R…
[all …]
H A DsljitNativeSPARC_common.c100 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 6] = { variable
108 #define D(d) (reg_map[d] << 25)
110 #define S1(s1) (reg_map[s1] << 14)
111 #define S2(s2) (reg_map[s2])
118 #define DR(dr) (reg_map[dr])
936 return reg_map[reg]; in sljit_get_register_index()
H A DsljitNativeARM_64.c48 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 8] = { variable
53 #define RD(rd) (reg_map[rd])
54 #define RT(rt) (reg_map[rt])
55 #define RN(rn) (reg_map[rn] << 5)
56 #define RT2(rt2) (reg_map[rt2] << 10)
57 #define RM(rm) (reg_map[rm] << 16)
1526 return reg_map[reg]; in sljit_get_register_index()
H A DsljitNativePPC_common.c110 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 7] = { variable
117 #define D(d) (reg_map[d] << 21)
118 #define S(s) (reg_map[s] << 21)
119 #define A(a) (reg_map[a] << 16)
120 #define B(b) (reg_map[b] << 11)
121 #define C(c) (reg_map[c] << 6)
1680 return reg_map[reg]; in sljit_get_register_index()
H A DsljitNativeMIPS_common.c68 static const sljit_u8 reg_map[SLJIT_NUMBER_OF_REGISTERS + 5] = { variable
76 #define S(s) (reg_map[s] << 21)
77 #define T(t) (reg_map[t] << 16)
78 #define D(d) (reg_map[d] << 11)
89 #define DR(dr) (reg_map[dr])
1233 return reg_map[reg]; in sljit_get_register_index()
/netbsd-src/external/gpl3/binutils.old/dist/include/opcode/
H A Dmips.h574 const unsigned char *reg_map; member
705 if (operand->reg_map) in mips_decode_reg_operand()
706 uval = operand->reg_map[uval]; in mips_decode_reg_operand()
/netbsd-src/external/gpl3/binutils/dist/include/opcode/
H A Dmips.h574 const unsigned char *reg_map; member
705 if (operand->reg_map) in mips_decode_reg_operand()
706 uval = operand->reg_map[uval]; in mips_decode_reg_operand()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dearly-remat.c1614 auto_vec<reg_pair, 16> reg_map; in stabilize_pattern() local
1646 FOR_EACH_VEC_ELT (reg_map, pi, p) in stabilize_pattern()
1659 reg_map.safe_push (reg_pair (old_reg, new_reg)); in stabilize_pattern()
H A DFSFChangeLog.101465 * integrate.c (save_for_inline_copying): Allocate reg_map with size
1747 * integrate.c (save_for_inline_copying): Put reg_map in function's
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dearly-remat.cc1614 auto_vec<reg_pair, 16> reg_map; in stabilize_pattern() local
1646 FOR_EACH_VEC_ELT (reg_map, pi, p) in stabilize_pattern()
1659 reg_map.safe_push (reg_pair (old_reg, new_reg)); in stabilize_pattern()
H A DFSFChangeLog.101465 * integrate.c (save_for_inline_copying): Allocate reg_map with size
1747 * integrate.c (save_for_inline_copying): Put reg_map in function's
H A DChangeLog-19999137 (reg_map, label_map, insn_map, orig_asm_operands_vector,
20240 * loop.c (strength_reduce): Size reg_map according to reg_iv_type.
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-s12z.c1324 static const uint8_t reg_map [] = variable
1396 pb |= reg_map[i]; in psh_pull()
H A Dtc-mips.c5384 if (operand->reg_map) in match_reg_operand()
5388 if (operand->reg_map[uval] == regno) in match_reg_operand()
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dtc-s12z.c1324 static const uint8_t reg_map [] = variable
1396 pb |= reg_map[i]; in psh_pull()
H A Dtc-mips.c5387 if (operand->reg_map) in match_reg_operand()
5391 if (operand->reg_map[uval] == regno) in match_reg_operand()
/netbsd-src/external/gpl3/binutils.old/dist/gas/
H A DChangeLog-02037422 (struct reg_map): New structure.
/netbsd-src/external/gpl3/binutils/dist/gas/
H A DChangeLog-02037422 (struct reg_map): New structure.