1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-27 19:50:10 +00:00

Fixed tests.

This commit is contained in:
jespergravgaard 2019-08-20 00:26:04 +02:00
parent f4777a5876
commit d42c7250af
2 changed files with 4 additions and 4 deletions

View File

@ -133,7 +133,7 @@ public class TestFragments {
"vbuxx=pbuz1_derefidx_vbuc1_band_pbuz2_derefidx_vbuc2", "vbuxx=pbuz1_derefidx_vbuc1_band_pbuz2_derefidx_vbuc2",
"_deref_pbuz1=pbuz2_derefidx_vbuc1_band_pbuz3_derefidx_vbuc2", "_deref_pbuz1=pbuz2_derefidx_vbuc1_band_pbuz3_derefidx_vbuc2",
"pbuz1_derefidx_vbuaa=pbuz2_derefidx_vbuc1_band_pbuz3_derefidx_vbuc2", "pbuz1_derefidx_vbuaa=pbuz2_derefidx_vbuc1_band_pbuz3_derefidx_vbuc2",
"pbuc1_derefidx_pbuz1_derefidx_vbuc2=pbuz1_derefidx_vbuc3"); "pbuc1_derefidx_(pbuz1_derefidx_vbuc2)=pbuz1_derefidx_vbuc3");
testFragments("fragments-complex", signaturesComplex); testFragments("fragments-complex", signaturesComplex);
} }
@ -171,8 +171,8 @@ public class TestFragments {
testFragmentExists("vbsaa=pbsc1_derefidx_vbsz1_minus_pbsc1_derefidx_vbsz2"); testFragmentExists("vbsaa=pbsc1_derefidx_vbsz1_minus_pbsc1_derefidx_vbsz2");
testFragmentExists("vbsaa=pbsc1_derefidx_vbsxx_minus_pbsc1_derefidx_vbsyy"); testFragmentExists("vbsaa=pbsc1_derefidx_vbsxx_minus_pbsc1_derefidx_vbsyy");
testFragmentExists("vbuz1=pbuz2_derefidx_vbuz3_plus_pbuz4_derefidx_pbuz5_derefidx_vbuz3"); testFragmentExists("vbuz1=pbuz2_derefidx_vbuz3_plus_pbuz4_derefidx_(pbuz5_derefidx_vbuz3)");
testFragmentExists("vbuz1=pbuz2_derefidx_pbuz3_derefidx_vbuz4_plus_pbuz5_derefidx_pbuz6_derefidx_vbuz4"); testFragmentExists("vbuz1=pbuz2_derefidx_(pbuz3_derefidx_vbuz4)_plus_pbuz5_derefidx_(pbuz6_derefidx_vbuz4)");
} }

View File

@ -41,7 +41,7 @@ synthesized pbuz1_derefidx_vbuaa=pbuz2_derefidx_vbuc1_band_pbuz3_derefidx_vbuc2
and ({z3}),y and ({z3}),y
ldy $ff ldy $ff
sta ({z1}),y sta ({z1}),y
synthesized pbuc1_derefidx_pbuz1_derefidx_vbuc2=pbuz1_derefidx_vbuc3 < pbuc1_derefidx_pbuz1_derefidx_vbuc2=pbuz1_derefidx_vbuyy < pbuc1_derefidx_pbuz1_derefidx_vbuc2=vbuaa < pbuc1_derefidx_pbuz1_derefidx_vbuyy=vbuaa - clobber:A Y cycles:29.0 synthesized pbuc1_derefidx_(pbuz1_derefidx_vbuc2)=pbuz1_derefidx_vbuc3 < pbuc1_derefidx_(pbuz1_derefidx_vbuc2)=pbuz1_derefidx_vbuyy < pbuc1_derefidx_(pbuz1_derefidx_vbuc2)=vbuaa < pbuc1_derefidx_(pbuz1_derefidx_vbuyy)=vbuaa - clobber:A Y cycles:29.0
ldy #{c3} ldy #{c3}
lda ({z1}),y lda ({z1}),y
ldy #{c2} ldy #{c2}