Lines Matching refs:inst
144 static SLJIT_INLINE void modify_imm64_const(sljit_ins* inst, sljit_uw new_imm) in modify_imm64_const() argument
146 sljit_si dst = inst[0] & 0x1f; in modify_imm64_const()
147 SLJIT_ASSERT((inst[0] & 0xffe00000) == MOVZ && (inst[1] & 0xffe00000) == (MOVK | (1 << 21))); in modify_imm64_const()
148 inst[0] = MOVZ | dst | ((new_imm & 0xffff) << 5); in modify_imm64_const()
149 inst[1] = MOVK | dst | (((new_imm >> 16) & 0xffff) << 5) | (1 << 21); in modify_imm64_const()
150 inst[2] = MOVK | dst | (((new_imm >> 32) & 0xffff) << 5) | (2 << 21); in modify_imm64_const()
151 inst[3] = MOVK | dst | ((new_imm >> 48) << 5) | (3 << 21); in modify_imm64_const()
2040 sljit_ins* inst = (sljit_ins*)addr; in sljit_set_jump_addr() local
2041 modify_imm64_const(inst, new_addr); in sljit_set_jump_addr()
2042 SLJIT_CACHE_FLUSH(inst, inst + 4); in sljit_set_jump_addr()
2047 sljit_ins* inst = (sljit_ins*)addr; in sljit_set_const() local
2048 modify_imm64_const(inst, new_constant); in sljit_set_const()
2049 SLJIT_CACHE_FLUSH(inst, inst + 4); in sljit_set_const()