Lines Matching refs:simm
714 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw simm) in load_immediate() argument
716 sljit_uw imm = (sljit_uw)simm; in load_immediate()
724 if (simm < 0 && simm >= -0x10000) in load_immediate()
735 bitmask = logical_imm(simm, 16); in load_immediate()
743 bitmask = logical_imm(simm, 32); in load_immediate()
747 if (simm < 0 && simm >= -0x100000000l) { in load_immediate()
760 if ((simm & 0xffff) == 0) in load_immediate()
762 if ((simm & 0xffff) == 0xffff) in load_immediate()
764 simm >>= 16; in load_immediate()
767 simm = (sljit_sw)imm; in load_immediate()
770 simm = ~simm; in load_immediate()
772 if (!(simm & 0xffff)) { in load_immediate()
773 simm >>= 16; in load_immediate()
778 FAIL_IF(push_inst(compiler, MOVN | RD(dst) | (((sljit_ins)simm & 0xffff) << 5) | (i << 21))); in load_immediate()
781 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((sljit_ins)~simm & 0xffff) << 5) | (i << 21))); in load_immediate()
782 simm >>= 16; in load_immediate()
788 if (!(simm & 0xffff)) { in load_immediate()
789 simm >>= 16; in load_immediate()
794 FAIL_IF(push_inst(compiler, MOVZ | RD(dst) | (((sljit_ins)simm & 0xffff) << 5) | (i << 21))); in load_immediate()
797 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((sljit_ins)simm & 0xffff) << 5) | (i << 21))); in load_immediate()
798 simm >>= 16; in load_immediate()