#define IMMS uae_s32
#define IMM uae_u32
+#define RR1 uae_u32
+#define RR2 uae_u32
+#define RR4 uae_u32
+/*
+ R1, R2, R4 collides with ARM registers defined in ucontext
#define R1 uae_u32
#define R2 uae_u32
#define R4 uae_u32
+*/
#define W1 uae_u32
#define W2 uae_u32
#define W4 uae_u32
/* What we expose to the outside */
-DECLARE(bt_l_ri(R4 r, IMM i));
-DECLARE(bt_l_rr(R4 r, R4 b));
+DECLARE(bt_l_ri(RR4 r, IMM i));
+DECLARE(bt_l_rr(RR4 r, RR4 b));
DECLARE(btc_l_ri(RW4 r, IMM i));
-DECLARE(btc_l_rr(RW4 r, R4 b));
+DECLARE(btc_l_rr(RW4 r, RR4 b));
DECLARE(bts_l_ri(RW4 r, IMM i));
-DECLARE(bts_l_rr(RW4 r, R4 b));
+DECLARE(bts_l_rr(RW4 r, RR4 b));
DECLARE(btr_l_ri(RW4 r, IMM i));
-DECLARE(btr_l_rr(RW4 r, R4 b));
+DECLARE(btr_l_rr(RW4 r, RR4 b));
DECLARE(mov_l_rm(W4 d, IMM s));
-DECLARE(call_r(R4 r));
+DECLARE(call_r(RR4 r));
DECLARE(sub_l_mi(IMM d, IMM s));
DECLARE(mov_l_mi(IMM d, IMM s));
DECLARE(mov_w_mi(IMM d, IMM s));
DECLARE(rol_b_ri(RW1 r, IMM i));
DECLARE(rol_w_ri(RW2 r, IMM i));
DECLARE(rol_l_ri(RW4 r, IMM i));
-DECLARE(rol_l_rr(RW4 d, R1 r));
-DECLARE(rol_w_rr(RW2 d, R1 r));
-DECLARE(rol_b_rr(RW1 d, R1 r));
-DECLARE(shll_l_rr(RW4 d, R1 r));
-DECLARE(shll_w_rr(RW2 d, R1 r));
-DECLARE(shll_b_rr(RW1 d, R1 r));
-DECLARE(ror_b_ri(R1 r, IMM i));
-DECLARE(ror_w_ri(R2 r, IMM i));
-DECLARE(ror_l_ri(R4 r, IMM i));
-DECLARE(ror_l_rr(R4 d, R1 r));
-DECLARE(ror_w_rr(R2 d, R1 r));
-DECLARE(ror_b_rr(R1 d, R1 r));
-DECLARE(shrl_l_rr(RW4 d, R1 r));
-DECLARE(shrl_w_rr(RW2 d, R1 r));
-DECLARE(shrl_b_rr(RW1 d, R1 r));
-DECLARE(shra_l_rr(RW4 d, R1 r));
-DECLARE(shra_w_rr(RW2 d, R1 r));
-DECLARE(shra_b_rr(RW1 d, R1 r));
+DECLARE(rol_l_rr(RW4 d, RR1 r));
+DECLARE(rol_w_rr(RW2 d, RR1 r));
+DECLARE(rol_b_rr(RW1 d, RR1 r));
+DECLARE(shll_l_rr(RW4 d, RR1 r));
+DECLARE(shll_w_rr(RW2 d, RR1 r));
+DECLARE(shll_b_rr(RW1 d, RR1 r));
+DECLARE(ror_b_ri(RR1 r, IMM i));
+DECLARE(ror_w_ri(RR2 r, IMM i));
+DECLARE(ror_l_ri(RR4 r, IMM i));
+DECLARE(ror_l_rr(RR4 d, RR1 r));
+DECLARE(ror_w_rr(RR2 d, RR1 r));
+DECLARE(ror_b_rr(RR1 d, RR1 r));
+DECLARE(shrl_l_rr(RW4 d, RR1 r));
+DECLARE(shrl_w_rr(RW2 d, RR1 r));
+DECLARE(shrl_b_rr(RW1 d, RR1 r));
+DECLARE(shra_l_rr(RW4 d, RR1 r));
+DECLARE(shra_w_rr(RW2 d, RR1 r));
+DECLARE(shra_b_rr(RW1 d, RR1 r));
DECLARE(shll_l_ri(RW4 r, IMM i));
DECLARE(shll_w_ri(RW2 r, IMM i));
DECLARE(shll_b_ri(RW1 r, IMM i));
DECLARE(shra_b_ri(RW1 r, IMM i));
DECLARE(setcc(W1 d, IMM cc));
DECLARE(setcc_m(IMM d, IMM cc));
-DECLARE(cmov_b_rr(RW1 d, R1 s, IMM cc));
-DECLARE(cmov_w_rr(RW2 d, R2 s, IMM cc));
-DECLARE(cmov_l_rr(RW4 d, R4 s, IMM cc));
+DECLARE(cmov_b_rr(RW1 d, RR1 s, IMM cc));
+DECLARE(cmov_w_rr(RW2 d, RR2 s, IMM cc));
+DECLARE(cmov_l_rr(RW4 d, RR4 s, IMM cc));
DECLARE(setzflg_l(RW4 r));
DECLARE(cmov_l_rm(RW4 d, IMM s, IMM cc));
-DECLARE(bsf_l_rr(W4 d, R4 s));
+DECLARE(bsf_l_rr(W4 d, RR4 s));
DECLARE(pop_m(IMM d));
DECLARE(push_m(IMM d));
DECLARE(pop_l(W4 d));
DECLARE(push_l_i(IMM i));
-DECLARE(push_l(R4 s));
+DECLARE(push_l(RR4 s));
DECLARE(clear_16(RW4 r));
DECLARE(clear_8(RW4 r));
-DECLARE(sign_extend_16_rr(W4 d, R2 s));
-DECLARE(sign_extend_8_rr(W4 d, R1 s));
-DECLARE(zero_extend_16_rr(W4 d, R2 s));
-DECLARE(zero_extend_8_rr(W4 d, R1 s));
+DECLARE(sign_extend_16_rr(W4 d, RR2 s));
+DECLARE(sign_extend_8_rr(W4 d, RR1 s));
+DECLARE(zero_extend_16_rr(W4 d, RR2 s));
+DECLARE(zero_extend_8_rr(W4 d, RR1 s));
DECLARE(imul_64_32(RW4 d, RW4 s));
DECLARE(mul_64_32(RW4 d, RW4 s));
-DECLARE(imul_32_32(RW4 d, R4 s));
-DECLARE(mov_b_rr(W1 d, R1 s));
-DECLARE(mov_w_rr(W2 d, R2 s));
-DECLARE(mov_l_rrm_indexed(W4 d, R4 baser, R4 index));
-DECLARE(mov_w_rrm_indexed(W2 d, R4 baser, R4 index));
-DECLARE(mov_b_rrm_indexed(W1 d, R4 baser, R4 index));
-DECLARE(mov_l_mrr_indexed(R4 baser, R4 index, R4 s));
-DECLARE(mov_w_mrr_indexed(R4 baser, R4 index, R2 s));
-DECLARE(mov_b_mrr_indexed(R4 baser, R4 index, R1 s));
-DECLARE(mov_l_rm_indexed(W4 d, IMM base, R4 index));
-DECLARE(mov_l_rR(W4 d, R4 s, IMM offset));
-DECLARE(mov_w_rR(W2 d, R4 s, IMM offset));
-DECLARE(mov_b_rR(W1 d, R4 s, IMM offset));
-DECLARE(mov_l_brR(W4 d, R4 s, IMM offset));
-DECLARE(mov_w_brR(W2 d, R4 s, IMM offset));
-DECLARE(mov_b_brR(W1 d, R4 s, IMM offset));
-DECLARE(mov_l_Ri(R4 d, IMM i, IMM offset));
-DECLARE(mov_w_Ri(R4 d, IMM i, IMM offset));
-DECLARE(mov_b_Ri(R4 d, IMM i, IMM offset));
-DECLARE(mov_l_Rr(R4 d, R4 s, IMM offset));
-DECLARE(mov_w_Rr(R4 d, R2 s, IMM offset));
-DECLARE(mov_b_Rr(R4 d, R1 s, IMM offset));
-DECLARE(lea_l_brr(W4 d, R4 s, IMM offset));
-DECLARE(lea_l_brr_indexed(W4 d, R4 s, R4 index, IMM factor, IMM offset));
-DECLARE(mov_l_bRr(R4 d, R4 s, IMM offset));
-DECLARE(mov_w_bRr(R4 d, R2 s, IMM offset));
-DECLARE(mov_b_bRr(R4 d, R1 s, IMM offset));
+DECLARE(imul_32_32(RW4 d, RR4 s));
+DECLARE(mov_b_rr(W1 d, RR1 s));
+DECLARE(mov_w_rr(W2 d, RR2 s));
+DECLARE(mov_l_rrm_indexed(W4 d, RR4 baser, RR4 index));
+DECLARE(mov_w_rrm_indexed(W2 d, RR4 baser, RR4 index));
+DECLARE(mov_b_rrm_indexed(W1 d, RR4 baser, RR4 index));
+DECLARE(mov_l_mrr_indexed(RR4 baser, RR4 index, RR4 s));
+DECLARE(mov_w_mrr_indexed(RR4 baser, RR4 index, RR2 s));
+DECLARE(mov_b_mrr_indexed(RR4 baser, RR4 index, RR1 s));
+DECLARE(mov_l_rm_indexed(W4 d, IMM base, RR4 index));
+DECLARE(mov_l_rR(W4 d, RR4 s, IMM offset));
+DECLARE(mov_w_rR(W2 d, RR4 s, IMM offset));
+DECLARE(mov_b_rR(W1 d, RR4 s, IMM offset));
+DECLARE(mov_l_brR(W4 d, RR4 s, IMM offset));
+DECLARE(mov_w_brR(W2 d, RR4 s, IMM offset));
+DECLARE(mov_b_brR(W1 d, RR4 s, IMM offset));
+DECLARE(mov_l_Ri(RR4 d, IMM i, IMM offset));
+DECLARE(mov_w_Ri(RR4 d, IMM i, IMM offset));
+DECLARE(mov_b_Ri(RR4 d, IMM i, IMM offset));
+DECLARE(mov_l_Rr(RR4 d, RR4 s, IMM offset));
+DECLARE(mov_w_Rr(RR4 d, RR2 s, IMM offset));
+DECLARE(mov_b_Rr(RR4 d, RR1 s, IMM offset));
+DECLARE(lea_l_brr(W4 d, RR4 s, IMM offset));
+DECLARE(lea_l_brr_indexed(W4 d, RR4 s, RR4 index, IMM factor, IMM offset));
+DECLARE(mov_l_bRr(RR4 d, RR4 s, IMM offset));
+DECLARE(mov_w_bRr(RR4 d, RR2 s, IMM offset));
+DECLARE(mov_b_bRr(RR4 d, RR1 s, IMM offset));
DECLARE(gen_bswap_32(RW4 r));
DECLARE(gen_bswap_16(RW2 r));
-DECLARE(mov_l_rr(W4 d, R4 s));
-DECLARE(mov_l_mr(IMM d, R4 s));
-DECLARE(mov_w_mr(IMM d, R2 s));
+DECLARE(mov_l_rr(W4 d, RR4 s));
+DECLARE(mov_l_mr(IMM d, RR4 s));
+DECLARE(mov_w_mr(IMM d, RR2 s));
DECLARE(mov_w_rm(W2 d, IMM s));
-DECLARE(mov_b_mr(IMM d, R1 s));
+DECLARE(mov_b_mr(IMM d, RR1 s));
DECLARE(mov_b_rm(W1 d, IMM s));
DECLARE(mov_l_ri(W4 d, IMM s));
DECLARE(mov_w_ri(W2 d, IMM s));
DECLARE(add_l_mi(IMM d, IMM s) );
DECLARE(add_w_mi(IMM d, IMM s) );
DECLARE(add_b_mi(IMM d, IMM s) );
-DECLARE(test_l_ri(R4 d, IMM i));
-DECLARE(test_l_rr(R4 d, R4 s));
-DECLARE(test_w_rr(R2 d, R2 s));
-DECLARE(test_b_rr(R1 d, R1 s));
+DECLARE(test_l_ri(RR4 d, IMM i));
+DECLARE(test_l_rr(RR4 d, RR4 s));
+DECLARE(test_w_rr(RR2 d, RR2 s));
+DECLARE(test_b_rr(RR1 d, RR1 s));
DECLARE(and_l_ri(RW4 d, IMM i));
-DECLARE(and_l(RW4 d, R4 s));
-DECLARE(and_w(RW2 d, R2 s));
-DECLARE(and_b(RW1 d, R1 s));
+DECLARE(and_l(RW4 d, RR4 s));
+DECLARE(and_w(RW2 d, RR2 s));
+DECLARE(and_b(RW1 d, RR1 s));
DECLARE(or_l_ri(RW4 d, IMM i));
-DECLARE(or_l(RW4 d, R4 s));
-DECLARE(or_w(RW2 d, R2 s));
-DECLARE(or_b(RW1 d, R1 s));
-DECLARE(adc_l(RW4 d, R4 s));
-DECLARE(adc_w(RW2 d, R2 s));
-DECLARE(adc_b(RW1 d, R1 s));
-DECLARE(add_l(RW4 d, R4 s));
-DECLARE(add_w(RW2 d, R2 s));
-DECLARE(add_b(RW1 d, R1 s));
+DECLARE(or_l(RW4 d, RR4 s));
+DECLARE(or_w(RW2 d, RR2 s));
+DECLARE(or_b(RW1 d, RR1 s));
+DECLARE(adc_l(RW4 d, RR4 s));
+DECLARE(adc_w(RW2 d, RR2 s));
+DECLARE(adc_b(RW1 d, RR1 s));
+DECLARE(add_l(RW4 d, RR4 s));
+DECLARE(add_w(RW2 d, RR2 s));
+DECLARE(add_b(RW1 d, RR1 s));
DECLARE(sub_l_ri(RW4 d, IMM i));
DECLARE(sub_w_ri(RW2 d, IMM i));
DECLARE(sub_b_ri(RW1 d, IMM i));
DECLARE(add_l_ri(RW4 d, IMM i));
DECLARE(add_w_ri(RW2 d, IMM i));
DECLARE(add_b_ri(RW1 d, IMM i));
-DECLARE(sbb_l(RW4 d, R4 s));
-DECLARE(sbb_w(RW2 d, R2 s));
-DECLARE(sbb_b(RW1 d, R1 s));
-DECLARE(sub_l(RW4 d, R4 s));
-DECLARE(sub_w(RW2 d, R2 s));
-DECLARE(sub_b(RW1 d, R1 s));
-DECLARE(cmp_l(R4 d, R4 s));
-DECLARE(cmp_l_ri(R4 r, IMM i));
-DECLARE(cmp_w(R2 d, R2 s));
-DECLARE(cmp_b(R1 d, R1 s));
-DECLARE(xor_l(RW4 d, R4 s));
-DECLARE(xor_w(RW2 d, R2 s));
-DECLARE(xor_b(RW1 d, R1 s));
+DECLARE(sbb_l(RW4 d, RR4 s));
+DECLARE(sbb_w(RW2 d, RR2 s));
+DECLARE(sbb_b(RW1 d, RR1 s));
+DECLARE(sub_l(RW4 d, RR4 s));
+DECLARE(sub_w(RW2 d, RR2 s));
+DECLARE(sub_b(RW1 d, RR1 s));
+DECLARE(cmp_l(RR4 d, RR4 s));
+DECLARE(cmp_l_ri(RR4 r, IMM i));
+DECLARE(cmp_w(RR2 d, RR2 s));
+DECLARE(cmp_b(RR1 d, RR1 s));
+DECLARE(xor_l(RW4 d, RR4 s));
+DECLARE(xor_w(RW2 d, RR2 s));
+DECLARE(xor_b(RW1 d, RR1 s));
DECLARE(live_flags(void));
DECLARE(dont_care_flags(void));
DECLARE(duplicate_carry(void));
DECLARE(start_needflags(void));
DECLARE(end_needflags(void));
DECLARE(make_flags_live(void));
-DECLARE(call_r_11(R4 r, W4 out1, R4 in1, IMM osize, IMM isize));
-DECLARE(call_r_02(R4 r, R4 in1, R4 in2, IMM isize1, IMM isize2));
-DECLARE(readmem_new(R4 address, W4 dest, IMM offset, IMM size, W4 tmp));
-DECLARE(writemem_new(R4 address, R4 source, IMM offset, IMM size, W4 tmp));
+DECLARE(call_r_11(RR4 r, W4 out1, RR4 in1, IMM osize, IMM isize));
+DECLARE(call_r_02(RR4 r, RR4 in1, RR4 in2, IMM isize1, IMM isize2));
+DECLARE(readmem_new(RR4 address, W4 dest, IMM offset, IMM size, W4 tmp));
+DECLARE(writemem_new(RR4 address, RR4 source, IMM offset, IMM size, W4 tmp));
DECLARE(forget_about(W4 r));
DECLARE(nop(void));
DECLARE(fmov_ext_mr(MEMW m, FR r));
DECLARE(fmov_ext_rm(FW r, MEMR m));
DECLARE(fmov_rr(FW d, FR s));
-DECLARE(fldcw_m_indexed(R4 index, IMM base));
+DECLARE(fldcw_m_indexed(RR4 index, IMM base));
DECLARE(ftst_r(FR r));
DECLARE(dont_care_fflags(void));
DECLARE(fsqrt_rr(FW d, FR s));
}
MENDFUNC(1,fflags_into_flags,(W2 tmp))
-MIDFUNC(2,bt_l_ri,(R4 r, IMM i)) /* This is defined as only affecting C */
+MIDFUNC(2,bt_l_ri,(RR4 r, IMM i)) /* This is defined as only affecting C */
{
int size=4;
if (i<16)
raw_bt_l_ri(r,i);
unlock2(r);
}
-MENDFUNC(2,bt_l_ri,(R4 r, IMM i)) /* This is defined as only affecting C */
+MENDFUNC(2,bt_l_ri,(RR4 r, IMM i)) /* This is defined as only affecting C */
-MIDFUNC(2,bt_l_rr,(R4 r, R4 b)) /* This is defined as only affecting C */
+MIDFUNC(2,bt_l_rr,(RR4 r, RR4 b)) /* This is defined as only affecting C */
{
CLOBBER_BT;
r=readreg(r,4);
unlock2(r);
unlock2(b);
}
-MENDFUNC(2,bt_l_rr,(R4 r, R4 b)) /* This is defined as only affecting C */
+MENDFUNC(2,bt_l_rr,(RR4 r, RR4 b)) /* This is defined as only affecting C */
MIDFUNC(2,btc_l_ri,(RW4 r, IMM i))
{
}
MENDFUNC(2,btc_l_ri,(RW4 r, IMM i))
-MIDFUNC(2,btc_l_rr,(RW4 r, R4 b))
+MIDFUNC(2,btc_l_rr,(RW4 r, RR4 b))
{
CLOBBER_BT;
b=readreg(b,4);
unlock2(r);
unlock2(b);
}
-MENDFUNC(2,btc_l_rr,(RW4 r, R4 b))
+MENDFUNC(2,btc_l_rr,(RW4 r, RR4 b))
MIDFUNC(2,btr_l_ri,(RW4 r, IMM i))
{
}
MENDFUNC(2,btr_l_ri,(RW4 r, IMM i))
-MIDFUNC(2,btr_l_rr,(RW4 r, R4 b))
+MIDFUNC(2,btr_l_rr,(RW4 r, RR4 b))
{
CLOBBER_BT;
b=readreg(b,4);
unlock2(r);
unlock2(b);
}
-MENDFUNC(2,btr_l_rr,(RW4 r, R4 b))
+MENDFUNC(2,btr_l_rr,(RW4 r, RR4 b))
MIDFUNC(2,bts_l_ri,(RW4 r, IMM i))
{
}
MENDFUNC(2,bts_l_ri,(RW4 r, IMM i))
-MIDFUNC(2,bts_l_rr,(RW4 r, R4 b))
+MIDFUNC(2,bts_l_rr,(RW4 r, RR4 b))
{
CLOBBER_BT;
b=readreg(b,4);
unlock2(r);
unlock2(b);
}
-MENDFUNC(2,bts_l_rr,(RW4 r, R4 b))
+MENDFUNC(2,bts_l_rr,(RW4 r, RR4 b))
MIDFUNC(2,mov_l_rm,(W4 d, IMM s))
{
}
MENDFUNC(2,mov_l_rm,(W4 d, IMM s))
-MIDFUNC(1,call_r,(R4 r)) /* Clobbering is implicit */
+MIDFUNC(1,call_r,(RR4 r)) /* Clobbering is implicit */
{
r=readreg(r,4);
raw_call_r(r);
unlock2(r);
}
-MENDFUNC(1,call_r,(R4 r)) /* Clobbering is implicit */
+MENDFUNC(1,call_r,(RR4 r)) /* Clobbering is implicit */
MIDFUNC(2,sub_l_mi,(IMM d, IMM s))
{
}
MENDFUNC(2,rol_l_ri,(RW4 r, IMM i))
-MIDFUNC(2,rol_l_rr,(RW4 d, R1 r))
+MIDFUNC(2,rol_l_rr,(RW4 d, RR1 r))
{
if (isconst(r)) {
COMPCALL(rol_l_ri)(d,(uae_u8)live.state[r].val);
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,rol_l_rr,(RW4 d, R1 r))
+MENDFUNC(2,rol_l_rr,(RW4 d, RR1 r))
-MIDFUNC(2,rol_w_rr,(RW2 d, R1 r))
+MIDFUNC(2,rol_w_rr,(RW2 d, RR1 r))
{ /* Can only do this with r==1, i.e. cl */
if (isconst(r)) {
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,rol_w_rr,(RW2 d, R1 r))
+MENDFUNC(2,rol_w_rr,(RW2 d, RR1 r))
-MIDFUNC(2,rol_b_rr,(RW1 d, R1 r))
+MIDFUNC(2,rol_b_rr,(RW1 d, RR1 r))
{ /* Can only do this with r==1, i.e. cl */
if (isconst(r)) {
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,rol_b_rr,(RW1 d, R1 r))
+MENDFUNC(2,rol_b_rr,(RW1 d, RR1 r))
-MIDFUNC(2,shll_l_rr,(RW4 d, R1 r))
+MIDFUNC(2,shll_l_rr,(RW4 d, RR1 r))
{
if (isconst(r)) {
COMPCALL(shll_l_ri)(d,(uae_u8)live.state[r].val);
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,shll_l_rr,(RW4 d, R1 r))
+MENDFUNC(2,shll_l_rr,(RW4 d, RR1 r))
-MIDFUNC(2,shll_w_rr,(RW2 d, R1 r))
+MIDFUNC(2,shll_w_rr,(RW2 d, RR1 r))
{ /* Can only do this with r==1, i.e. cl */
if (isconst(r)) {
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,shll_w_rr,(RW2 d, R1 r))
+MENDFUNC(2,shll_w_rr,(RW2 d, RR1 r))
-MIDFUNC(2,shll_b_rr,(RW1 d, R1 r))
+MIDFUNC(2,shll_b_rr,(RW1 d, RR1 r))
{ /* Can only do this with r==1, i.e. cl */
if (isconst(r)) {
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,shll_b_rr,(RW1 d, R1 r))
+MENDFUNC(2,shll_b_rr,(RW1 d, RR1 r))
-MIDFUNC(2,ror_b_ri,(R1 r, IMM i))
+MIDFUNC(2,ror_b_ri,(RR1 r, IMM i))
{
if (!i && !needflags)
return;
raw_ror_b_ri(r,i);
unlock2(r);
}
-MENDFUNC(2,ror_b_ri,(R1 r, IMM i))
+MENDFUNC(2,ror_b_ri,(RR1 r, IMM i))
-MIDFUNC(2,ror_w_ri,(R2 r, IMM i))
+MIDFUNC(2,ror_w_ri,(RR2 r, IMM i))
{
if (!i && !needflags)
return;
raw_ror_w_ri(r,i);
unlock2(r);
}
-MENDFUNC(2,ror_w_ri,(R2 r, IMM i))
+MENDFUNC(2,ror_w_ri,(RR2 r, IMM i))
-MIDFUNC(2,ror_l_ri,(R4 r, IMM i))
+MIDFUNC(2,ror_l_ri,(RR4 r, IMM i))
{
if (!i && !needflags)
return;
raw_ror_l_ri(r,i);
unlock2(r);
}
-MENDFUNC(2,ror_l_ri,(R4 r, IMM i))
+MENDFUNC(2,ror_l_ri,(RR4 r, IMM i))
-MIDFUNC(2,ror_l_rr,(R4 d, R1 r))
+MIDFUNC(2,ror_l_rr,(RR4 d, RR1 r))
{
if (isconst(r)) {
COMPCALL(ror_l_ri)(d,(uae_u8)live.state[r].val);
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,ror_l_rr,(R4 d, R1 r))
+MENDFUNC(2,ror_l_rr,(RR4 d, RR1 r))
-MIDFUNC(2,ror_w_rr,(R2 d, R1 r))
+MIDFUNC(2,ror_w_rr,(RR2 d, RR1 r))
{
if (isconst(r)) {
COMPCALL(ror_w_ri)(d,(uae_u8)live.state[r].val);
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,ror_w_rr,(R2 d, R1 r))
+MENDFUNC(2,ror_w_rr,(RR2 d, RR1 r))
-MIDFUNC(2,ror_b_rr,(R1 d, R1 r))
+MIDFUNC(2,ror_b_rr,(RR1 d, RR1 r))
{
if (isconst(r)) {
COMPCALL(ror_b_ri)(d,(uae_u8)live.state[r].val);
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,ror_b_rr,(R1 d, R1 r))
+MENDFUNC(2,ror_b_rr,(RR1 d, RR1 r))
-MIDFUNC(2,shrl_l_rr,(RW4 d, R1 r))
+MIDFUNC(2,shrl_l_rr,(RW4 d, RR1 r))
{
if (isconst(r)) {
COMPCALL(shrl_l_ri)(d,(uae_u8)live.state[r].val);
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,shrl_l_rr,(RW4 d, R1 r))
+MENDFUNC(2,shrl_l_rr,(RW4 d, RR1 r))
-MIDFUNC(2,shrl_w_rr,(RW2 d, R1 r))
+MIDFUNC(2,shrl_w_rr,(RW2 d, RR1 r))
{ /* Can only do this with r==1, i.e. cl */
if (isconst(r)) {
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,shrl_w_rr,(RW2 d, R1 r))
+MENDFUNC(2,shrl_w_rr,(RW2 d, RR1 r))
-MIDFUNC(2,shrl_b_rr,(RW1 d, R1 r))
+MIDFUNC(2,shrl_b_rr,(RW1 d, RR1 r))
{ /* Can only do this with r==1, i.e. cl */
if (isconst(r)) {
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,shrl_b_rr,(RW1 d, R1 r))
+MENDFUNC(2,shrl_b_rr,(RW1 d, RR1 r))
MIDFUNC(2,shll_l_ri,(RW4 r, IMM i))
{
}
MENDFUNC(2,shra_b_ri,(RW1 r, IMM i))
-MIDFUNC(2,shra_l_rr,(RW4 d, R1 r))
+MIDFUNC(2,shra_l_rr,(RW4 d, RR1 r))
{
if (isconst(r)) {
COMPCALL(shra_l_ri)(d,(uae_u8)live.state[r].val);
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,shra_l_rr,(RW4 d, R1 r))
+MENDFUNC(2,shra_l_rr,(RW4 d, RR1 r))
-MIDFUNC(2,shra_w_rr,(RW2 d, R1 r))
+MIDFUNC(2,shra_w_rr,(RW2 d, RR1 r))
{ /* Can only do this with r==1, i.e. cl */
if (isconst(r)) {
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,shra_w_rr,(RW2 d, R1 r))
+MENDFUNC(2,shra_w_rr,(RW2 d, RR1 r))
-MIDFUNC(2,shra_b_rr,(RW1 d, R1 r))
+MIDFUNC(2,shra_b_rr,(RW1 d, RR1 r))
{ /* Can only do this with r==1, i.e. cl */
if (isconst(r)) {
unlock2(r);
unlock2(d);
}
-MENDFUNC(2,shra_b_rr,(RW1 d, R1 r))
+MENDFUNC(2,shra_b_rr,(RW1 d, RR1 r))
MIDFUNC(2,setcc,(W1 d, IMM cc))
{
}
MENDFUNC(2,setcc_m,(IMM d, IMM cc))
-MIDFUNC(3,cmov_b_rr,(RW1 d, R1 s, IMM cc))
+MIDFUNC(3,cmov_b_rr,(RW1 d, RR1 s, IMM cc))
{
if (d==s)
return;
unlock2(s);
unlock2(d);
}
-MENDFUNC(3,cmov_b_rr,(RW1 d, R1 s, IMM cc))
+MENDFUNC(3,cmov_b_rr,(RW1 d, RR1 s, IMM cc))
-MIDFUNC(3,cmov_w_rr,(RW2 d, R2 s, IMM cc))
+MIDFUNC(3,cmov_w_rr,(RW2 d, RR2 s, IMM cc))
{
if (d==s)
return;
unlock2(s);
unlock2(d);
}
-MENDFUNC(3,cmov_w_rr,(RW2 d, R2 s, IMM cc))
+MENDFUNC(3,cmov_w_rr,(RW2 d, RR2 s, IMM cc))
-MIDFUNC(3,cmov_l_rr,(RW4 d, R4 s, IMM cc))
+MIDFUNC(3,cmov_l_rr,(RW4 d, RR4 s, IMM cc))
{
if (d==s)
return;
unlock2(s);
unlock2(d);
}
-MENDFUNC(3,cmov_l_rr,(RW4 d, R4 s, IMM cc))
+MENDFUNC(3,cmov_l_rr,(RW4 d, RR4 s, IMM cc))
MIDFUNC(1,setzflg_l,(RW4 r))
{
}
MENDFUNC(3,cmov_l_rm,(RW4 d, IMM s, IMM cc))
-MIDFUNC(2,bsf_l_rr,(W4 d, R4 s))
+MIDFUNC(2,bsf_l_rr,(W4 d, RR4 s))
{
CLOBBER_BSF;
s=readreg(s,4);
unlock2(s);
unlock2(d);
}
-MENDFUNC(2,bsf_l_rr,(W4 d, R4 s))
+MENDFUNC(2,bsf_l_rr,(W4 d, RR4 s))
-MIDFUNC(2,imul_32_32,(RW4 d, R4 s))
+MIDFUNC(2,imul_32_32,(RW4 d, RR4 s))
{
CLOBBER_MUL;
s=readreg(s,4);
unlock2(s);
unlock2(d);
}
-MENDFUNC(2,imul_32_32,(RW4 d, R4 s))
+MENDFUNC(2,imul_32_32,(RW4 d, RR4 s))
MIDFUNC(2,imul_64_32,(RW4 d, RW4 s))
{
}
MENDFUNC(2,mul_64_32,(RW4 d, RW4 s))
-MIDFUNC(2,sign_extend_16_rr,(W4 d, R2 s))
+MIDFUNC(2,sign_extend_16_rr,(W4 d, RR2 s))
{
int isrmw;
unlock2(s);
}
}
-MENDFUNC(2,sign_extend_16_rr,(W4 d, R2 s))
+MENDFUNC(2,sign_extend_16_rr,(W4 d, RR2 s))
-MIDFUNC(2,sign_extend_8_rr,(W4 d, R1 s))
+MIDFUNC(2,sign_extend_8_rr,(W4 d, RR1 s))
{
int isrmw;
unlock2(s);
}
}
-MENDFUNC(2,sign_extend_8_rr,(W4 d, R1 s))
+MENDFUNC(2,sign_extend_8_rr,(W4 d, RR1 s))
-MIDFUNC(2,zero_extend_16_rr,(W4 d, R2 s))
+MIDFUNC(2,zero_extend_16_rr,(W4 d, RR2 s))
{
int isrmw;
unlock2(s);
}
}
-MENDFUNC(2,zero_extend_16_rr,(W4 d, R2 s))
+MENDFUNC(2,zero_extend_16_rr,(W4 d, RR2 s))
-MIDFUNC(2,zero_extend_8_rr,(W4 d, R1 s))
+MIDFUNC(2,zero_extend_8_rr,(W4 d, RR1 s))
{
int isrmw;
if (isconst(s)) {
unlock2(s);
}
}
-MENDFUNC(2,zero_extend_8_rr,(W4 d, R1 s))
+MENDFUNC(2,zero_extend_8_rr,(W4 d, RR1 s))
-MIDFUNC(2,mov_b_rr,(W1 d, R1 s))
+MIDFUNC(2,mov_b_rr,(W1 d, RR1 s))
{
if (d==s)
return;
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,mov_b_rr,(W1 d, R1 s))
+MENDFUNC(2,mov_b_rr,(W1 d, RR1 s))
-MIDFUNC(2,mov_w_rr,(W2 d, R2 s))
+MIDFUNC(2,mov_w_rr,(W2 d, RR2 s))
{
if (d==s)
return;
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,mov_w_rr,(W2 d, R2 s))
+MENDFUNC(2,mov_w_rr,(W2 d, RR2 s))
-MIDFUNC(3,mov_l_rrm_indexed,(W4 d,R4 baser, R4 index))
+MIDFUNC(3,mov_l_rrm_indexed,(W4 d,RR4 baser, RR4 index))
{
CLOBBER_MOV;
baser=readreg(baser,4);
unlock2(baser);
unlock2(index);
}
-MENDFUNC(3,mov_l_rrm_indexed,(W4 d,R4 baser, R4 index))
+MENDFUNC(3,mov_l_rrm_indexed,(W4 d,RR4 baser, RR4 index))
-MIDFUNC(3,mov_w_rrm_indexed,(W2 d, R4 baser, R4 index))
+MIDFUNC(3,mov_w_rrm_indexed,(W2 d, RR4 baser, RR4 index))
{
CLOBBER_MOV;
baser=readreg(baser,4);
unlock2(baser);
unlock2(index);
}
-MENDFUNC(3,mov_w_rrm_indexed,(W2 d, R4 baser, R4 index))
+MENDFUNC(3,mov_w_rrm_indexed,(W2 d, RR4 baser, RR4 index))
-MIDFUNC(3,mov_b_rrm_indexed,(W1 d, R4 baser, R4 index))
+MIDFUNC(3,mov_b_rrm_indexed,(W1 d, RR4 baser, RR4 index))
{
CLOBBER_MOV;
baser=readreg(baser,4);
unlock2(baser);
unlock2(index);
}
-MENDFUNC(3,mov_b_rrm_indexed,(W1 d, R4 baser, R4 index))
+MENDFUNC(3,mov_b_rrm_indexed,(W1 d, RR4 baser, RR4 index))
-MIDFUNC(3,mov_l_mrr_indexed,(R4 baser, R4 index, R4 s))
+MIDFUNC(3,mov_l_mrr_indexed,(RR4 baser, RR4 index, RR4 s))
{
CLOBBER_MOV;
baser=readreg(baser,4);
unlock2(baser);
unlock2(index);
}
-MENDFUNC(3,mov_l_mrr_indexed,(R4 baser, R4 index, R4 s))
+MENDFUNC(3,mov_l_mrr_indexed,(RR4 baser, RR4 index, RR4 s))
-MIDFUNC(3,mov_w_mrr_indexed,(R4 baser, R4 index, R2 s))
+MIDFUNC(3,mov_w_mrr_indexed,(RR4 baser, RR4 index, RR2 s))
{
CLOBBER_MOV;
baser=readreg(baser,4);
unlock2(baser);
unlock2(index);
}
-MENDFUNC(3,mov_w_mrr_indexed,(R4 baser, R4 index, R2 s))
+MENDFUNC(3,mov_w_mrr_indexed,(RR4 baser, RR4 index, RR2 s))
-MIDFUNC(3,mov_b_mrr_indexed,(R4 baser, R4 index, R1 s))
+MIDFUNC(3,mov_b_mrr_indexed,(RR4 baser, RR4 index, RR1 s))
{
CLOBBER_MOV;
s=readreg(s,1);
unlock2(baser);
unlock2(index);
}
-MENDFUNC(3,mov_b_mrr_indexed,(R4 baser, R4 index, R1 s))
+MENDFUNC(3,mov_b_mrr_indexed,(RR4 baser, RR4 index, RR1 s))
/* Read a long from base+4*index */
-MIDFUNC(3,mov_l_rm_indexed,(W4 d, IMM base, R4 index))
+MIDFUNC(3,mov_l_rm_indexed,(W4 d, IMM base, RR4 index))
{
int indexreg=index;
unlock2(index);
unlock2(d);
}
-MENDFUNC(3,mov_l_rm_indexed,(W4 d, IMM base, R4 index))
+MENDFUNC(3,mov_l_rm_indexed,(W4 d, IMM base, RR4 index))
/* read the long at the address contained in s+offset and store in d */
-MIDFUNC(3,mov_l_rR,(W4 d, R4 s, IMM offset))
+MIDFUNC(3,mov_l_rR,(W4 d, RR4 s, IMM offset))
{
if (isconst(s)) {
COMPCALL(mov_l_rm)(d,live.state[s].val+offset);
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,mov_l_rR,(W4 d, R4 s, IMM offset))
+MENDFUNC(3,mov_l_rR,(W4 d, RR4 s, IMM offset))
/* read the word at the address contained in s+offset and store in d */
-MIDFUNC(3,mov_w_rR,(W2 d, R4 s, IMM offset))
+MIDFUNC(3,mov_w_rR,(W2 d, RR4 s, IMM offset))
{
if (isconst(s)) {
COMPCALL(mov_w_rm)(d,live.state[s].val+offset);
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,mov_w_rR,(W2 d, R4 s, IMM offset))
+MENDFUNC(3,mov_w_rR,(W2 d, RR4 s, IMM offset))
/* read the word at the address contained in s+offset and store in d */
-MIDFUNC(3,mov_b_rR,(W1 d, R4 s, IMM offset))
+MIDFUNC(3,mov_b_rR,(W1 d, RR4 s, IMM offset))
{
if (isconst(s)) {
COMPCALL(mov_b_rm)(d,live.state[s].val+offset);
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,mov_b_rR,(W1 d, R4 s, IMM offset))
+MENDFUNC(3,mov_b_rR,(W1 d, RR4 s, IMM offset))
/* read the long at the address contained in s+offset and store in d */
-MIDFUNC(3,mov_l_brR,(W4 d, R4 s, IMM offset))
+MIDFUNC(3,mov_l_brR,(W4 d, RR4 s, IMM offset))
{
int sreg=s;
if (isconst(s)) {
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,mov_l_brR,(W4 d, R4 s, IMM offset))
+MENDFUNC(3,mov_l_brR,(W4 d, RR4 s, IMM offset))
/* read the word at the address contained in s+offset and store in d */
-MIDFUNC(3,mov_w_brR,(W2 d, R4 s, IMM offset))
+MIDFUNC(3,mov_w_brR,(W2 d, RR4 s, IMM offset))
{
int sreg=s;
if (isconst(s)) {
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,mov_w_brR,(W2 d, R4 s, IMM offset))
+MENDFUNC(3,mov_w_brR,(W2 d, RR4 s, IMM offset))
/* read the word at the address contained in s+offset and store in d */
-MIDFUNC(3,mov_b_brR,(W1 d, R4 s, IMM offset))
+MIDFUNC(3,mov_b_brR,(W1 d, RR4 s, IMM offset))
{
int sreg=s;
if (isconst(s)) {
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,mov_b_brR,(W1 d, R4 s, IMM offset))
+MENDFUNC(3,mov_b_brR,(W1 d, RR4 s, IMM offset))
-MIDFUNC(3,mov_l_Ri,(R4 d, IMM i, IMM offset))
+MIDFUNC(3,mov_l_Ri,(RR4 d, IMM i, IMM offset))
{
int dreg=d;
if (isconst(d)) {
raw_mov_l_Ri(d,i,offset);
unlock2(d);
}
-MENDFUNC(3,mov_l_Ri,(R4 d, IMM i, IMM offset))
+MENDFUNC(3,mov_l_Ri,(RR4 d, IMM i, IMM offset))
-MIDFUNC(3,mov_w_Ri,(R4 d, IMM i, IMM offset))
+MIDFUNC(3,mov_w_Ri,(RR4 d, IMM i, IMM offset))
{
int dreg=d;
if (isconst(d)) {
raw_mov_w_Ri(d,i,offset);
unlock2(d);
}
-MENDFUNC(3,mov_w_Ri,(R4 d, IMM i, IMM offset))
+MENDFUNC(3,mov_w_Ri,(RR4 d, IMM i, IMM offset))
-MIDFUNC(3,mov_b_Ri,(R4 d, IMM i, IMM offset))
+MIDFUNC(3,mov_b_Ri,(RR4 d, IMM i, IMM offset))
{
int dreg=d;
if (isconst(d)) {
raw_mov_b_Ri(d,i,offset);
unlock2(d);
}
-MENDFUNC(3,mov_b_Ri,(R4 d, IMM i, IMM offset))
+MENDFUNC(3,mov_b_Ri,(RR4 d, IMM i, IMM offset))
/* Warning! OFFSET is byte sized only! */
-MIDFUNC(3,mov_l_Rr,(R4 d, R4 s, IMM offset))
+MIDFUNC(3,mov_l_Rr,(RR4 d, RR4 s, IMM offset))
{
if (isconst(d)) {
COMPCALL(mov_l_mr)(live.state[d].val+offset,s);
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,mov_l_Rr,(R4 d, R4 s, IMM offset))
+MENDFUNC(3,mov_l_Rr,(RR4 d, RR4 s, IMM offset))
-MIDFUNC(3,mov_w_Rr,(R4 d, R2 s, IMM offset))
+MIDFUNC(3,mov_w_Rr,(RR4 d, RR2 s, IMM offset))
{
if (isconst(d)) {
COMPCALL(mov_w_mr)(live.state[d].val+offset,s);
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,mov_w_Rr,(R4 d, R2 s, IMM offset))
+MENDFUNC(3,mov_w_Rr,(RR4 d, RR2 s, IMM offset))
-MIDFUNC(3,mov_b_Rr,(R4 d, R1 s, IMM offset))
+MIDFUNC(3,mov_b_Rr,(RR4 d, RR1 s, IMM offset))
{
if (isconst(d)) {
COMPCALL(mov_b_mr)(live.state[d].val+offset,s);
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,mov_b_Rr,(R4 d, R1 s, IMM offset))
+MENDFUNC(3,mov_b_Rr,(RR4 d, RR1 s, IMM offset))
-MIDFUNC(3,lea_l_brr,(W4 d, R4 s, IMM offset))
+MIDFUNC(3,lea_l_brr,(W4 d, RR4 s, IMM offset))
{
if (isconst(s)) {
COMPCALL(mov_l_ri)(d,live.state[s].val+offset);
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,lea_l_brr,(W4 d, R4 s, IMM offset))
+MENDFUNC(3,lea_l_brr,(W4 d, RR4 s, IMM offset))
-MIDFUNC(5,lea_l_brr_indexed,(W4 d, R4 s, R4 index, IMM factor, IMM offset))
+MIDFUNC(5,lea_l_brr_indexed,(W4 d, RR4 s, RR4 index, IMM factor, IMM offset))
{
CLOBBER_LEA;
s=readreg(s,4);
unlock2(index);
unlock2(s);
}
-MENDFUNC(5,lea_l_brr_indexed,(W4 d, R4 s, R4 index, IMM factor, IMM offset))
+MENDFUNC(5,lea_l_brr_indexed,(W4 d, RR4 s, RR4 index, IMM factor, IMM offset))
/* write d to the long at the address contained in s+offset */
-MIDFUNC(3,mov_l_bRr,(R4 d, R4 s, IMM offset))
+MIDFUNC(3,mov_l_bRr,(RR4 d, RR4 s, IMM offset))
{
int dreg=d;
if (isconst(d)) {
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,mov_l_bRr,(R4 d, R4 s, IMM offset))
+MENDFUNC(3,mov_l_bRr,(RR4 d, RR4 s, IMM offset))
/* write the word at the address contained in s+offset and store in d */
-MIDFUNC(3,mov_w_bRr,(R4 d, R2 s, IMM offset))
+MIDFUNC(3,mov_w_bRr,(RR4 d, RR2 s, IMM offset))
{
int dreg=d;
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,mov_w_bRr,(R4 d, R2 s, IMM offset))
+MENDFUNC(3,mov_w_bRr,(RR4 d, RR2 s, IMM offset))
-MIDFUNC(3,mov_b_bRr,(R4 d, R1 s, IMM offset))
+MIDFUNC(3,mov_b_bRr,(RR4 d, RR1 s, IMM offset))
{
int dreg=d;
if (isconst(d)) {
unlock2(d);
unlock2(s);
}
-MENDFUNC(3,mov_b_bRr,(R4 d, R1 s, IMM offset))
+MENDFUNC(3,mov_b_bRr,(RR4 d, RR1 s, IMM offset))
MIDFUNC(1,gen_bswap_32,(RW4 r))
{
}
MENDFUNC(1,gen_bswap_16,(RW2 r))
-MIDFUNC(2,mov_l_rr,(W4 d, R4 s))
+MIDFUNC(2,mov_l_rr,(W4 d, RR4 s))
{
int olds;
unlock2(s);
#endif
}
-MENDFUNC(2,mov_l_rr,(W4 d, R4 s))
+MENDFUNC(2,mov_l_rr,(W4 d, RR4 s))
-MIDFUNC(2,mov_l_mr,(IMM d, R4 s))
+MIDFUNC(2,mov_l_mr,(IMM d, RR4 s))
{
if (isconst(s)) {
COMPCALL(mov_l_mi)(d,live.state[s].val);
raw_mov_l_mr(d,s);
unlock2(s);
}
-MENDFUNC(2,mov_l_mr,(IMM d, R4 s))
+MENDFUNC(2,mov_l_mr,(IMM d, RR4 s))
-MIDFUNC(2,mov_w_mr,(IMM d, R2 s))
+MIDFUNC(2,mov_w_mr,(IMM d, RR2 s))
{
if (isconst(s)) {
COMPCALL(mov_w_mi)(d,(uae_u16)live.state[s].val);
raw_mov_w_mr(d,s);
unlock2(s);
}
-MENDFUNC(2,mov_w_mr,(IMM d, R2 s))
+MENDFUNC(2,mov_w_mr,(IMM d, RR2 s))
MIDFUNC(2,mov_w_rm,(W2 d, IMM s))
{
}
MENDFUNC(2,mov_w_rm,(W2 d, IMM s))
-MIDFUNC(2,mov_b_mr,(IMM d, R1 s))
+MIDFUNC(2,mov_b_mr,(IMM d, RR1 s))
{
if (isconst(s)) {
COMPCALL(mov_b_mi)(d,(uae_u8)live.state[s].val);
raw_mov_b_mr(d,s);
unlock2(s);
}
-MENDFUNC(2,mov_b_mr,(IMM d, R1 s))
+MENDFUNC(2,mov_b_mr,(IMM d, RR1 s))
MIDFUNC(2,mov_b_rm,(W1 d, IMM s))
{
}
MENDFUNC(2,add_b_mi,(IMM d, IMM s))
-MIDFUNC(2,test_l_ri,(R4 d, IMM i))
+MIDFUNC(2,test_l_ri,(RR4 d, IMM i))
{
CLOBBER_TEST;
d=readreg(d,4);
raw_test_l_ri(d,i);
unlock2(d);
}
-MENDFUNC(2,test_l_ri,(R4 d, IMM i))
+MENDFUNC(2,test_l_ri,(RR4 d, IMM i))
-MIDFUNC(2,test_l_rr,(R4 d, R4 s))
+MIDFUNC(2,test_l_rr,(RR4 d, RR4 s))
{
CLOBBER_TEST;
d=readreg(d,4);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,test_l_rr,(R4 d, R4 s))
+MENDFUNC(2,test_l_rr,(RR4 d, RR4 s))
-MIDFUNC(2,test_w_rr,(R2 d, R2 s))
+MIDFUNC(2,test_w_rr,(RR2 d, RR2 s))
{
CLOBBER_TEST;
d=readreg(d,2);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,test_w_rr,(R2 d, R2 s))
+MENDFUNC(2,test_w_rr,(RR2 d, RR2 s))
-MIDFUNC(2,test_b_rr,(R1 d, R1 s))
+MIDFUNC(2,test_b_rr,(RR1 d, RR1 s))
{
CLOBBER_TEST;
d=readreg(d,1);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,test_b_rr,(R1 d, R1 s))
+MENDFUNC(2,test_b_rr,(RR1 d, RR1 s))
MIDFUNC(2,and_l_ri,(RW4 d, IMM i))
{
}
MENDFUNC(2,and_l_ri,(RW4 d, IMM i))
-MIDFUNC(2,and_l,(RW4 d, R4 s))
+MIDFUNC(2,and_l,(RW4 d, RR4 s))
{
CLOBBER_AND;
s=readreg(s,4);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,and_l,(RW4 d, R4 s))
+MENDFUNC(2,and_l,(RW4 d, RR4 s))
-MIDFUNC(2,and_w,(RW2 d, R2 s))
+MIDFUNC(2,and_w,(RW2 d, RR2 s))
{
CLOBBER_AND;
s=readreg(s,2);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,and_w,(RW2 d, R2 s))
+MENDFUNC(2,and_w,(RW2 d, RR2 s))
-MIDFUNC(2,and_b,(RW1 d, R1 s))
+MIDFUNC(2,and_b,(RW1 d, RR1 s))
{
CLOBBER_AND;
s=readreg(s,1);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,and_b,(RW1 d, R1 s))
+MENDFUNC(2,and_b,(RW1 d, RR1 s))
MIDFUNC(2,or_l_ri,(RW4 d, IMM i))
{
}
MENDFUNC(2,or_l_ri,(RW4 d, IMM i))
-MIDFUNC(2,or_l,(RW4 d, R4 s))
+MIDFUNC(2,or_l,(RW4 d, RR4 s))
{
if (isconst(d) && isconst(s) && !needflags) {
live.state[d].val|=live.state[s].val;
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,or_l,(RW4 d, R4 s))
+MENDFUNC(2,or_l,(RW4 d, RR4 s))
-MIDFUNC(2,or_w,(RW2 d, R2 s))
+MIDFUNC(2,or_w,(RW2 d, RR2 s))
{
CLOBBER_OR;
s=readreg(s,2);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,or_w,(RW2 d, R2 s))
+MENDFUNC(2,or_w,(RW2 d, RR2 s))
-MIDFUNC(2,or_b,(RW1 d, R1 s))
+MIDFUNC(2,or_b,(RW1 d, RR1 s))
{
CLOBBER_OR;
s=readreg(s,1);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,or_b,(RW1 d, R1 s))
+MENDFUNC(2,or_b,(RW1 d, RR1 s))
-MIDFUNC(2,adc_l,(RW4 d, R4 s))
+MIDFUNC(2,adc_l,(RW4 d, RR4 s))
{
CLOBBER_ADC;
s=readreg(s,4);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,adc_l,(RW4 d, R4 s))
+MENDFUNC(2,adc_l,(RW4 d, RR4 s))
-MIDFUNC(2,adc_w,(RW2 d, R2 s))
+MIDFUNC(2,adc_w,(RW2 d, RR2 s))
{
CLOBBER_ADC;
s=readreg(s,2);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,adc_w,(RW2 d, R2 s))
+MENDFUNC(2,adc_w,(RW2 d, RR2 s))
-MIDFUNC(2,adc_b,(RW1 d, R1 s))
+MIDFUNC(2,adc_b,(RW1 d, RR1 s))
{
CLOBBER_ADC;
s=readreg(s,1);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,adc_b,(RW1 d, R1 s))
+MENDFUNC(2,adc_b,(RW1 d, RR1 s))
-MIDFUNC(2,add_l,(RW4 d, R4 s))
+MIDFUNC(2,add_l,(RW4 d, RR4 s))
{
if (isconst(s)) {
COMPCALL(add_l_ri)(d,live.state[s].val);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,add_l,(RW4 d, R4 s))
+MENDFUNC(2,add_l,(RW4 d, RR4 s))
-MIDFUNC(2,add_w,(RW2 d, R2 s))
+MIDFUNC(2,add_w,(RW2 d, RR2 s))
{
if (isconst(s)) {
COMPCALL(add_w_ri)(d,(uae_u16)live.state[s].val);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,add_w,(RW2 d, R2 s))
+MENDFUNC(2,add_w,(RW2 d, RR2 s))
-MIDFUNC(2,add_b,(RW1 d, R1 s))
+MIDFUNC(2,add_b,(RW1 d, RR1 s))
{
if (isconst(s)) {
COMPCALL(add_b_ri)(d,(uae_u8)live.state[s].val);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,add_b,(RW1 d, R1 s))
+MENDFUNC(2,add_b,(RW1 d, RR1 s))
MIDFUNC(2,sub_l_ri,(RW4 d, IMM i))
{
}
MENDFUNC(2,add_b_ri,(RW1 d, IMM i))
-MIDFUNC(2,sbb_l,(RW4 d, R4 s))
+MIDFUNC(2,sbb_l,(RW4 d, RR4 s))
{
CLOBBER_SBB;
s=readreg(s,4);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,sbb_l,(RW4 d, R4 s))
+MENDFUNC(2,sbb_l,(RW4 d, RR4 s))
-MIDFUNC(2,sbb_w,(RW2 d, R2 s))
+MIDFUNC(2,sbb_w,(RW2 d, RR2 s))
{
CLOBBER_SBB;
s=readreg(s,2);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,sbb_w,(RW2 d, R2 s))
+MENDFUNC(2,sbb_w,(RW2 d, RR2 s))
-MIDFUNC(2,sbb_b,(RW1 d, R1 s))
+MIDFUNC(2,sbb_b,(RW1 d, RR1 s))
{
CLOBBER_SBB;
s=readreg(s,1);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,sbb_b,(RW1 d, R1 s))
+MENDFUNC(2,sbb_b,(RW1 d, RR1 s))
-MIDFUNC(2,sub_l,(RW4 d, R4 s))
+MIDFUNC(2,sub_l,(RW4 d, RR4 s))
{
if (isconst(s)) {
COMPCALL(sub_l_ri)(d,live.state[s].val);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,sub_l,(RW4 d, R4 s))
+MENDFUNC(2,sub_l,(RW4 d, RR4 s))
-MIDFUNC(2,sub_w,(RW2 d, R2 s))
+MIDFUNC(2,sub_w,(RW2 d, RR2 s))
{
if (isconst(s)) {
COMPCALL(sub_w_ri)(d,(uae_u16)live.state[s].val);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,sub_w,(RW2 d, R2 s))
+MENDFUNC(2,sub_w,(RW2 d, RR2 s))
-MIDFUNC(2,sub_b,(RW1 d, R1 s))
+MIDFUNC(2,sub_b,(RW1 d, RR1 s))
{
if (isconst(s)) {
COMPCALL(sub_b_ri)(d,(uae_u8)live.state[s].val);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,sub_b,(RW1 d, R1 s))
+MENDFUNC(2,sub_b,(RW1 d, RR1 s))
-MIDFUNC(2,cmp_l,(R4 d, R4 s))
+MIDFUNC(2,cmp_l,(RR4 d, RR4 s))
{
CLOBBER_CMP;
s=readreg(s,4);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,cmp_l,(R4 d, R4 s))
+MENDFUNC(2,cmp_l,(RR4 d, RR4 s))
-MIDFUNC(2,cmp_l_ri,(R4 r, IMM i))
+MIDFUNC(2,cmp_l_ri,(RR4 r, IMM i))
{
CLOBBER_CMP;
r=readreg(r,4);
raw_cmp_l_ri(r,i);
unlock2(r);
}
-MENDFUNC(2,cmp_l_ri,(R4 r, IMM i))
+MENDFUNC(2,cmp_l_ri,(RR4 r, IMM i))
-MIDFUNC(2,cmp_w,(R2 d, R2 s))
+MIDFUNC(2,cmp_w,(RR2 d, RR2 s))
{
CLOBBER_CMP;
s=readreg(s,2);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,cmp_w,(R2 d, R2 s))
+MENDFUNC(2,cmp_w,(RR2 d, RR2 s))
-MIDFUNC(2,cmp_b,(R1 d, R1 s))
+MIDFUNC(2,cmp_b,(RR1 d, RR1 s))
{
CLOBBER_CMP;
s=readreg(s,1);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,cmp_b,(R1 d, R1 s))
+MENDFUNC(2,cmp_b,(RR1 d, RR1 s))
-MIDFUNC(2,xor_l,(RW4 d, R4 s))
+MIDFUNC(2,xor_l,(RW4 d, RR4 s))
{
CLOBBER_XOR;
s=readreg(s,4);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,xor_l,(RW4 d, R4 s))
+MENDFUNC(2,xor_l,(RW4 d, RR4 s))
-MIDFUNC(2,xor_w,(RW2 d, R2 s))
+MIDFUNC(2,xor_w,(RW2 d, RR2 s))
{
CLOBBER_XOR;
s=readreg(s,2);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,xor_w,(RW2 d, R2 s))
+MENDFUNC(2,xor_w,(RW2 d, RR2 s))
-MIDFUNC(2,xor_b,(RW1 d, R1 s))
+MIDFUNC(2,xor_b,(RW1 d, RR1 s))
{
CLOBBER_XOR;
s=readreg(s,1);
unlock2(d);
unlock2(s);
}
-MENDFUNC(2,xor_b,(RW1 d, R1 s))
+MENDFUNC(2,xor_b,(RW1 d, RR1 s))
-MIDFUNC(5,call_r_11,(W4 out1, R4 r, R4 in1, IMM osize, IMM isize))
+MIDFUNC(5,call_r_11,(W4 out1, RR4 r, RR4 in1, IMM osize, IMM isize))
{
clobber_flags();
remove_all_offsets();
live.state[out1].dirtysize=osize;
set_status(out1,DIRTY);
}
-MENDFUNC(5,call_r_11,(W4 out1, R4 r, R4 in1, IMM osize, IMM isize))
+MENDFUNC(5,call_r_11,(W4 out1, RR4 r, RR4 in1, IMM osize, IMM isize))
-MIDFUNC(5,call_r_02,(R4 r, R4 in1, R4 in2, IMM isize1, IMM isize2))
+MIDFUNC(5,call_r_02,(RR4 r, RR4 in1, RR4 in2, IMM isize1, IMM isize2))
{
clobber_flags();
remove_all_offsets();
raw_inc_sp(8);
#endif
}
-MENDFUNC(5,call_r_02,(R4 r, R4 in1, R4 in2, IMM isize1, IMM isize2))
+MENDFUNC(5,call_r_02,(RR4 r, RR4 in1, RR4 in2, IMM isize1, IMM isize2))
MIDFUNC(1,forget_about,(W4 r))
{
}
MENDFUNC(2,fmov_rr,(FW d, FR s))
-MIDFUNC(2,fldcw_m_indexed,(R4 index, IMM base))
+MIDFUNC(2,fldcw_m_indexed,(RR4 index, IMM base))
{
index=readreg(index,4);
raw_fldcw_m_indexed(index,base);
unlock2(index);
}
-MENDFUNC(2,fldcw_m_indexed,(R4 index, IMM base))
+MENDFUNC(2,fldcw_m_indexed,(RR4 index, IMM base))
MIDFUNC(1,ftst_r,(FR r))
{