Lines Matching refs:inst

200 static sljit_s32 push_inst16(struct sljit_compiler *compiler, sljit_ins inst)  in push_inst16()  argument
203 SLJIT_ASSERT(!(inst & 0xffff0000)); in push_inst16()
207 *ptr = inst; in push_inst16()
212 static sljit_s32 push_inst32(struct sljit_compiler *compiler, sljit_ins inst) in push_inst32() argument
216 *ptr++ = inst >> 16; in push_inst32()
217 *ptr = inst; in push_inst32()
230 static SLJIT_INLINE void modify_imm32_const(sljit_u16 *inst, sljit_uw new_imm) in modify_imm32_const() argument
232 sljit_s32 dst = inst[1] & 0x0f00; in modify_imm32_const()
233 …SLJIT_ASSERT(((inst[0] & 0xfbf0) == (MOVW >> 16)) && ((inst[2] & 0xfbf0) == (MOVT >> 16)) && dst =… in modify_imm32_const()
234 inst[0] = (MOVW >> 16) | COPY_BITS(new_imm, 12, 0, 4) | COPY_BITS(new_imm, 11, 10, 1); in modify_imm32_const()
235 inst[1] = dst | COPY_BITS(new_imm, 8, 12, 3) | (new_imm & 0xff); in modify_imm32_const()
236 inst[2] = (MOVT >> 16) | COPY_BITS(new_imm, 12 + 16, 0, 4) | COPY_BITS(new_imm, 11 + 16, 10, 1); in modify_imm32_const()
237 inst[3] = dst | COPY_BITS(new_imm, 8 + 16, 12, 3) | ((new_imm & 0xff0000) >> 16); in modify_imm32_const()
1536 sljit_sw inst = VSTR_F32 | (flags & (SLJIT_F32_OP | FPU_LOAD)); in emit_fop_mem() local
1549 return push_inst32(compiler, inst | 0x800000 | RN4(arg & REG_MASK) | DD4(reg) | (argw >> 2)); in emit_fop_mem()
1551 return push_inst32(compiler, inst | RN4(arg & REG_MASK) | DD4(reg) | (-argw >> 2)); in emit_fop_mem()
1557 return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG1) | DD4(reg)); in emit_fop_mem()
1562 return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG1) | DD4(reg) | ((argw & 0x3fc) >> 2)); in emit_fop_mem()
1568 return push_inst32(compiler, inst | RN4(TMP_REG1) | DD4(reg) | ((argw & 0x3fc) >> 2)); in emit_fop_mem()
1575 return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG1) | DD4(reg)); in emit_fop_mem()
2272 sljit_ins inst; in sljit_emit_mem() local
2311 inst = sljit_mem32[flags] | 0x900; in sljit_emit_mem()
2314 inst |= 0x400; in sljit_emit_mem()
2317 inst |= 0x200; in sljit_emit_mem()
2321 return push_inst32(compiler, inst | RT4(reg) | RN4(mem & REG_MASK) | memw); in sljit_emit_mem()
2368 sljit_u16 *inst = (sljit_u16*)addr; in sljit_set_jump_addr() local
2369 modify_imm32_const(inst, new_target); in sljit_set_jump_addr()
2370 inst = (sljit_u16 *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_jump_addr()
2371 SLJIT_CACHE_FLUSH(inst, inst + 4); in sljit_set_jump_addr()
2376 sljit_u16 *inst = (sljit_u16*)addr; in sljit_set_const() local
2377 modify_imm32_const(inst, new_constant); in sljit_set_const()
2378 inst = (sljit_u16 *)SLJIT_ADD_EXEC_OFFSET(inst, executable_offset); in sljit_set_const()
2379 SLJIT_CACHE_FLUSH(inst, inst + 4); in sljit_set_const()