From c89b4bc6b059f1f3e60614851f58eee7b8249dd8 Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Sun, 10 Mar 2019 01:14:35 +0100 Subject: [PATCH] Removed rules slowing down the fragment synthesizer awaiting improvements to the synthesizer. --- .../kickc/fragment/AsmFragmentTemplateSynthesisRule.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/dk/camelot64/kickc/fragment/AsmFragmentTemplateSynthesisRule.java b/src/main/java/dk/camelot64/kickc/fragment/AsmFragmentTemplateSynthesisRule.java index b9a8fc001..eef66ae1b 100644 --- a/src/main/java/dk/camelot64/kickc/fragment/AsmFragmentTemplateSynthesisRule.java +++ b/src/main/java/dk/camelot64/kickc/fragment/AsmFragmentTemplateSynthesisRule.java @@ -473,6 +473,7 @@ class AsmFragmentTemplateSynthesisRule { // Rewrite constant byte values to constant word values synths.add(new AsmFragmentTemplateSynthesisRule("(.*)vb(.)c1(.*)", null, null , "$1vw$2c1$3", null, null)); synths.add(new AsmFragmentTemplateSynthesisRule("(.*)vb(.)c2(.*)", null, null , "$1vw$2c2$3", null, null)); + /* // Rewrite constant word values to constant dword values synths.add(new AsmFragmentTemplateSynthesisRule("(.*)vw(.)c1(.*)", null, null , "$1vd$2c1$3", null, null)); synths.add(new AsmFragmentTemplateSynthesisRule("(.*)vw(.)c2(.*)", null, null , "$1vd$2c2$3", null, null)); @@ -482,6 +483,7 @@ class AsmFragmentTemplateSynthesisRule { // Rewrite constant unsigned word values to constant signed dword values synths.add(new AsmFragmentTemplateSynthesisRule("(.*)vwuc1(.*)", null, null , "$1vdsc1$2", null, null)); synths.add(new AsmFragmentTemplateSynthesisRule("(.*)vwuc2(.*)", null, null , "$1vdsc2$2", null, null)); + */ /* // Rewrite any zeropage pointer as an unsigned word zeropage values