Lines Matching refs:inst

184 static sljit_si push_inst16(struct sljit_compiler *compiler, sljit_ins inst)  in push_inst16()  argument
187 SLJIT_ASSERT(!(inst & 0xffff0000)); in push_inst16()
191 *ptr = inst; in push_inst16()
196 static sljit_si push_inst32(struct sljit_compiler *compiler, sljit_ins inst) in push_inst32() argument
200 *ptr++ = inst >> 16; in push_inst32()
201 *ptr = inst; in push_inst32()
214 static SLJIT_INLINE void modify_imm32_const(sljit_uh *inst, sljit_uw new_imm) in modify_imm32_const() argument
216 sljit_si dst = inst[1] & 0x0f00; in modify_imm32_const()
217 …SLJIT_ASSERT(((inst[0] & 0xfbf0) == (MOVW >> 16)) && ((inst[2] & 0xfbf0) == (MOVT >> 16)) && dst =… in modify_imm32_const()
218 inst[0] = (MOVW >> 16) | COPY_BITS(new_imm, 12, 0, 4) | COPY_BITS(new_imm, 11, 10, 1); in modify_imm32_const()
219 inst[1] = dst | COPY_BITS(new_imm, 8, 12, 3) | (new_imm & 0xff); in modify_imm32_const()
220 inst[2] = (MOVT >> 16) | COPY_BITS(new_imm, 12 + 16, 0, 4) | COPY_BITS(new_imm, 11 + 16, 10, 1); in modify_imm32_const()
221 inst[3] = dst | COPY_BITS(new_imm, 8 + 16, 12, 3) | ((new_imm & 0xff0000) >> 16); in modify_imm32_const()
1569 sljit_sw inst = VSTR_F32 | (flags & (SLJIT_SINGLE_OP | FPU_LOAD)); in emit_fop_mem() local
1582 return push_inst32(compiler, inst | 0x800000 | RN4(arg & REG_MASK) | DD4(reg) | (argw >> 2)); in emit_fop_mem()
1584 return push_inst32(compiler, inst | RN4(arg & REG_MASK) | DD4(reg) | (-argw >> 2)); in emit_fop_mem()
1592 return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG3) | DD4(reg) | (tmp >> 2)); in emit_fop_mem()
1594 return push_inst32(compiler, inst | RN4(TMP_REG3) | DD4(reg) | (-tmp >> 2)); in emit_fop_mem()
1598 return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG3) | DD4(reg)); in emit_fop_mem()
1605 return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG1) | DD4(reg)); in emit_fop_mem()
1610 return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG1) | DD4(reg) | ((argw & 0x3fc) >> 2)); in emit_fop_mem()
1616 return push_inst32(compiler, inst | RN4(TMP_REG1) | DD4(reg) | ((argw & 0x3fc) >> 2)); in emit_fop_mem()
1626 return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG3) | DD4(reg)); in emit_fop_mem()
2080 sljit_uh *inst = (sljit_uh*)addr; in sljit_set_jump_addr() local
2081 modify_imm32_const(inst, new_addr); in sljit_set_jump_addr()
2082 SLJIT_CACHE_FLUSH(inst, inst + 4); in sljit_set_jump_addr()
2087 sljit_uh *inst = (sljit_uh*)addr; in sljit_set_const() local
2088 modify_imm32_const(inst, new_constant); in sljit_set_const()
2089 SLJIT_CACHE_FLUSH(inst, inst + 4); in sljit_set_const()