Lines Matching refs:simm
503 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw simm) in load_immediate() argument
505 sljit_uw imm = (sljit_uw)simm; in load_immediate()
513 if (simm < 0 && simm >= -0x10000) in load_immediate()
524 bitmask = logical_imm(simm, 16); in load_immediate()
532 bitmask = logical_imm(simm, 32); in load_immediate()
536 if (simm < 0 && simm >= -0x100000000l) { in load_immediate()
549 if ((simm & 0xffff) == 0) in load_immediate()
551 if ((simm & 0xffff) == 0xffff) in load_immediate()
553 simm >>= 16; in load_immediate()
556 simm = (sljit_sw)imm; in load_immediate()
559 simm = ~simm; in load_immediate()
561 if (!(simm & 0xffff)) { in load_immediate()
562 simm >>= 16; in load_immediate()
567 FAIL_IF(push_inst(compiler, MOVN | RD(dst) | (((sljit_ins)simm & 0xffff) << 5) | (i << 21))); in load_immediate()
570 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((sljit_ins)~simm & 0xffff) << 5) | (i << 21))); in load_immediate()
571 simm >>= 16; in load_immediate()
577 if (!(simm & 0xffff)) { in load_immediate()
578 simm >>= 16; in load_immediate()
583 FAIL_IF(push_inst(compiler, MOVZ | RD(dst) | (((sljit_ins)simm & 0xffff) << 5) | (i << 21))); in load_immediate()
586 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((sljit_ins)simm & 0xffff) << 5) | (i << 21))); in load_immediate()
587 simm >>= 16; in load_immediate()