From d459332be1ef1e6ce4f6ddd3f281ba68bfbc24c1 Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Sun, 17 Mar 2019 22:52:25 +0100 Subject: [PATCH] Updated tests with better ASM --- src/test/ref/fragments-assignment-copy.log | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/test/ref/fragments-assignment-copy.log b/src/test/ref/fragments-assignment-copy.log index a451830b0..da3337cb9 100644 --- a/src/test/ref/fragments-assignment-copy.log +++ b/src/test/ref/fragments-assignment-copy.log @@ -95,16 +95,21 @@ vbuxx=pbuc1_derefidx_vbuaa < vbuxx=pbuc1_derefidx_vbuxx < vbuaa=pbuc1_derefidx_v tax lda {c1},x tax +vbuxx=pbuc1_derefidx_vbuaa < vbuxx=pbuc1_derefidx_vbuyy - clobber:X Y cycles:6.5 + tay + ldx {c1},y vbuxx=pbuc1_derefidx_vbuxx < vbuaa=pbuc1_derefidx_vbuxx - clobber:A X cycles:6.5 lda {c1},x tax -vbuxx=pbuc1_derefidx_vbuyy < vbuaa=pbuc1_derefidx_vbuyy - clobber:A X cycles:6.5 - lda {c1},y - tax +*vbuxx=pbuc1_derefidx_vbuyy - clobber:X cycles:4.5 + ldx {c1},y vbuxx=pbuc1_derefidx_vbuz1 < vbuxx=pbuc1_derefidx_vbuxx < vbuaa=pbuc1_derefidx_vbuxx - clobber:A X cycles:9.5 ldx {z1} lda {c1},x tax +vbuxx=pbuc1_derefidx_vbuz1 < vbuxx=pbuc1_derefidx_vbuyy - clobber:X Y cycles:7.5 + ldy {z1} + ldx {c1},y CANNOT SYNTHESIZE vbuxx=pbuc1_derefidx_vbuc1 CANNOT SYNTHESIZE vbuxx=pbuc1_derefidx_vbuc2 *vbuxx=vbuc1 - clobber:X cycles:2.0 @@ -282,6 +287,9 @@ vbuz1=pbuc1_derefidx_vbuxx < vbuyy=pbuc1_derefidx_vbuxx - clobber:Y cycles:7.5 vbuz1=pbuc1_derefidx_vbuyy < vbuaa=pbuc1_derefidx_vbuyy - clobber:A cycles:7.5 lda {c1},y sta {z1} +vbuz1=pbuc1_derefidx_vbuyy < vbuxx=pbuc1_derefidx_vbuyy - clobber:X cycles:7.5 + ldx {c1},y + stx {z1} vbuz1=pbuc1_derefidx_vbuz1 < vbuaa=pbuc1_derefidx_vbuz1 < vbuaa=pbuc1_derefidx_vbuxx - clobber:A X cycles:10.5 ldx {z1} lda {c1},x