Lines Matching refs:memw
3878 static sljit_s32 update_mem_addr(struct sljit_compiler *compiler, sljit_s32 *mem, sljit_sw *memw, s… in update_mem_addr() argument
3881 sljit_sw argw = *memw; in update_mem_addr()
3893 *memw = 0; in update_mem_addr()
3907 *memw = 0; in update_mem_addr()
3910 *memw = (sljit_s16)argw; in update_mem_addr()
3920 #define IMM_LEFT(memw) IMM((memw) + SSIZE_OF(sw) - 1) argument
3921 #define IMM_RIGHT(memw) IMM(memw) argument
3922 #define IMM_32_LEFT(memw) IMM((memw) + SSIZE_OF(s32) - 1) argument
3923 #define IMM_32_RIGHT(memw) IMM(memw) argument
3924 #define IMM_F64_FIRST_LEFT(memw) IMM((memw) + SSIZE_OF(s32) - 1) argument
3925 #define IMM_F64_FIRST_RIGHT(memw) IMM(memw) argument
3926 #define IMM_F64_SECOND_LEFT(memw) IMM((memw) + SSIZE_OF(f64) - 1) argument
3927 #define IMM_F64_SECOND_RIGHT(memw) IMM((memw) + SSIZE_OF(s32)) argument
3928 #define IMM_16_FIRST(memw) IMM((memw) + 1) argument
3929 #define IMM_16_SECOND(memw) IMM(memw) argument
3931 #define IMM_LEFT(memw) IMM(memw) argument
3932 #define IMM_RIGHT(memw) IMM((memw) + SSIZE_OF(sw) - 1) argument
3933 #define IMM_32_LEFT(memw) IMM(memw) argument
3934 #define IMM_32_RIGHT(memw) IMM((memw) + SSIZE_OF(s32) - 1) argument
3935 #define IMM_F64_FIRST_LEFT(memw) IMM((memw) + SSIZE_OF(s32)) argument
3936 #define IMM_F64_FIRST_RIGHT(memw) IMM((memw) + SSIZE_OF(f64) - 1) argument
3937 #define IMM_F64_SECOND_LEFT(memw) IMM(memw) argument
3938 #define IMM_F64_SECOND_RIGHT(memw) IMM((memw) + SSIZE_OF(s32) - 1) argument
3939 #define IMM_16_FIRST(memw) IMM(memw) argument
3940 #define IMM_16_SECOND(memw) IMM((memw) + 1) argument
3951 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem() argument
3961 CHECK(check_sljit_emit_mem(compiler, type, reg, mem, memw)); in sljit_emit_mem()
3964 ADJUST_LOCAL_OFFSET(mem, memw); in sljit_emit_mem()
3968 FAIL_IF(update_mem_addr(compiler, &mem, &memw, SIMM_MAX - (2 * SSIZE_OF(sw) - 1))); in sljit_emit_mem()
3983 …FAIL_IF(push_inst(compiler, ins | T(REG_PAIR_FIRST(reg)) | IMM_LEFT(memw), DR(REG_PAIR_FIRST(reg))… in sljit_emit_mem()
3984 …FAIL_IF(push_inst(compiler, ins_right | T(REG_PAIR_FIRST(reg)) | IMM_RIGHT(memw), DR(REG_PAIR_FIRS… in sljit_emit_mem()
3985 …FAIL_IF(push_inst(compiler, ins | T(REG_PAIR_SECOND(reg)) | IMM_LEFT(memw + SSIZE_OF(sw)), DR(REG_… in sljit_emit_mem()
3986 …return push_inst(compiler, ins_right | T(REG_PAIR_SECOND(reg)) | IMM_RIGHT(memw + SSIZE_OF(sw)), D… in sljit_emit_mem()
3990 FAIL_IF(update_mem_addr(compiler, &mem, &memw, SIMM_MAX - SSIZE_OF(sw))); in sljit_emit_mem()
3995 …FAIL_IF(push_inst(compiler, ins | T(REG_PAIR_SECOND(reg)) | IMM(memw + SSIZE_OF(sw)), DR(REG_PAIR_… in sljit_emit_mem()
3996 return push_inst(compiler, ins | T(REG_PAIR_FIRST(reg)) | IMM(memw), DR(REG_PAIR_FIRST(reg))); in sljit_emit_mem()
3999 FAIL_IF(push_inst(compiler, ins | T(REG_PAIR_FIRST(reg)) | IMM(memw), DR(REG_PAIR_FIRST(reg)))); in sljit_emit_mem()
4000 …return push_inst(compiler, ins | T(REG_PAIR_SECOND(reg)) | IMM(memw + SSIZE_OF(sw)), DR(REG_PAIR_S… in sljit_emit_mem()
4004 return sljit_emit_mem_unaligned(compiler, type, reg, mem, memw); in sljit_emit_mem()
4006 ADJUST_LOCAL_OFFSET(mem, memw); in sljit_emit_mem()
4018 return emit_op_mem(compiler, flags, DR(reg), mem, memw); in sljit_emit_mem()
4022 FAIL_IF(update_mem_addr(compiler, &mem, &memw, SIMM_MAX - 1)); in sljit_emit_mem()
4027 …ompiler, data_transfer_insts[BYTE_DATA] | S(mem) | T(TMP_REG2) | IMM_16_FIRST(memw), MOVABLE_INS)); in sljit_emit_mem()
4028 …return push_inst(compiler, data_transfer_insts[BYTE_DATA] | S(mem) | T(reg) | IMM_16_SECOND(memw),… in sljit_emit_mem()
4036 …FAIL_IF(push_inst(compiler, data_transfer_insts[flags] | S(mem) | T(TMP_REG2) | IMM_16_FIRST(memw)… in sljit_emit_mem()
4037 …ler, data_transfer_insts[BYTE_DATA | LOAD_DATA] | S(mem) | T(reg) | IMM_16_SECOND(memw), DR(reg))); in sljit_emit_mem()
4049 return emit_op_mem(compiler, flags, DR(reg), mem, memw); in sljit_emit_mem()
4052 FAIL_IF(update_mem_addr(compiler, &mem, &memw, SIMM_MAX - 7)); in sljit_emit_mem()
4056 FAIL_IF(push_inst(compiler, SDL | S(mem) | T(reg) | IMM_LEFT(memw), MOVABLE_INS)); in sljit_emit_mem()
4057 return push_inst(compiler, SDR | S(mem) | T(reg) | IMM_RIGHT(memw), MOVABLE_INS); in sljit_emit_mem()
4065 FAIL_IF(push_inst(compiler, LDL | S(mem) | T(reg) | IMM_LEFT(memw), DR(reg))); in sljit_emit_mem()
4066 return push_inst(compiler, LDR | S(mem) | T(reg) | IMM_RIGHT(memw), DR(reg)); in sljit_emit_mem()
4070 FAIL_IF(update_mem_addr(compiler, &mem, &memw, SIMM_MAX - 3)); in sljit_emit_mem()
4074 FAIL_IF(push_inst(compiler, SWL | S(mem) | T(reg) | IMM_32_LEFT(memw), MOVABLE_INS)); in sljit_emit_mem()
4075 return push_inst(compiler, SWR | S(mem) | T(reg) | IMM_32_RIGHT(memw), MOVABLE_INS); in sljit_emit_mem()
4083 FAIL_IF(push_inst(compiler, LWL | S(mem) | T(reg) | IMM_32_LEFT(memw), DR(reg))); in sljit_emit_mem()
4085 return push_inst(compiler, LWR | S(mem) | T(reg) | IMM_32_RIGHT(memw), DR(reg)); in sljit_emit_mem()
4087 FAIL_IF(push_inst(compiler, LWR | S(mem) | T(reg) | IMM_32_RIGHT(memw), DR(reg))); in sljit_emit_mem()
4106 sljit_s32 mem, sljit_sw memw) in sljit_emit_fmem() argument
4109 CHECK(check_sljit_emit_fmem(compiler, type, freg, mem, memw)); in sljit_emit_fmem()
4111 FAIL_IF(update_mem_addr(compiler, &mem, &memw, SIMM_MAX - (type & SLJIT_32) ? 3 : 7)); in sljit_emit_fmem()
4120 FAIL_IF(push_inst(compiler, SWL | S(mem) | T(TMP_REG2) | IMM_32_LEFT(memw), MOVABLE_INS)); in sljit_emit_fmem()
4121 return push_inst(compiler, SWR | S(mem) | T(TMP_REG2) | IMM_32_RIGHT(memw), MOVABLE_INS); in sljit_emit_fmem()
4129 FAIL_IF(push_inst(compiler, SWL | S(mem) | T(TMP_REG2) | IMM_F64_FIRST_LEFT(memw), MOVABLE_INS)); in sljit_emit_fmem()
4130 FAIL_IF(push_inst(compiler, SWR | S(mem) | T(TMP_REG2) | IMM_F64_FIRST_RIGHT(memw), MOVABLE_INS)); in sljit_emit_fmem()
4145 FAIL_IF(push_inst(compiler, SWL | S(mem) | T(TMP_REG2) | IMM_F64_SECOND_LEFT(memw), MOVABLE_INS)); in sljit_emit_fmem()
4146 return push_inst(compiler, SWR | S(mem) | T(TMP_REG2) | IMM_F64_SECOND_RIGHT(memw), MOVABLE_INS); in sljit_emit_fmem()
4152 FAIL_IF(push_inst(compiler, SDL | S(mem) | T(TMP_REG2) | IMM_LEFT(memw), MOVABLE_INS)); in sljit_emit_fmem()
4153 return push_inst(compiler, SDR | S(mem) | T(TMP_REG2) | IMM_RIGHT(memw), MOVABLE_INS); in sljit_emit_fmem()
4158 FAIL_IF(push_inst(compiler, LWL | S(mem) | T(TMP_REG2) | IMM_32_LEFT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4159 FAIL_IF(push_inst(compiler, LWR | S(mem) | T(TMP_REG2) | IMM_32_RIGHT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4169 FAIL_IF(push_inst(compiler, LWL | S(mem) | T(TMP_REG2) | IMM_F64_FIRST_LEFT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4170 FAIL_IF(push_inst(compiler, LWR | S(mem) | T(TMP_REG2) | IMM_F64_FIRST_RIGHT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4173 FAIL_IF(push_inst(compiler, LWL | S(mem) | T(TMP_REG2) | IMM_F64_SECOND_LEFT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4174 …FAIL_IF(push_inst(compiler, LWR | S(mem) | T(TMP_REG2) | IMM_F64_SECOND_RIGHT(memw), DR(TMP_REG2))… in sljit_emit_fmem()
4185 FAIL_IF(push_inst(compiler, LDL | S(mem) | T(TMP_REG2) | IMM_LEFT(memw), DR(TMP_REG2))); in sljit_emit_fmem()
4186 FAIL_IF(push_inst(compiler, LDR | S(mem) | T(TMP_REG2) | IMM_RIGHT(memw), DR(TMP_REG2))); in sljit_emit_fmem()