Lines Matching refs:simm
413 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw simm) in load_immediate() argument
415 sljit_uw imm = (sljit_uw)simm; in load_immediate()
422 if (simm >= -0x10000 && simm < 0) in load_immediate()
430 bitmask = logical_imm(simm, 16); in load_immediate()
435 bitmask = logical_imm(simm, 32); in load_immediate()
445 if (simm >= -0x100000000l && simm < 0) { in load_immediate()
456 if ((simm & 0xffff) == 0) in load_immediate()
458 if ((simm & 0xffff) == 0xffff) in load_immediate()
460 simm >>= 16; in load_immediate()
463 simm = (sljit_sw)imm; in load_immediate()
466 simm = ~simm; in load_immediate()
468 if (!(simm & 0xffff)) { in load_immediate()
469 simm >>= 16; in load_immediate()
474 FAIL_IF(push_inst(compiler, MOVN | RD(dst) | ((simm & 0xffff) << 5) | (i << 21))); in load_immediate()
477 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | ((~simm & 0xffff) << 5) | (i << 21))); in load_immediate()
478 simm >>= 16; in load_immediate()
484 if (!(simm & 0xffff)) { in load_immediate()
485 simm >>= 16; in load_immediate()
490 FAIL_IF(push_inst(compiler, MOVZ | RD(dst) | ((simm & 0xffff) << 5) | (i << 21))); in load_immediate()
493 FAIL_IF(push_inst(compiler, MOVK | RD(dst) | ((simm & 0xffff) << 5) | (i << 21))); in load_immediate()
494 simm >>= 16; in load_immediate()