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

Removed rules slowing down the fragment synthesizer awaiting improvements to the synthesizer.

This commit is contained in:
jespergravgaard 2019-03-10 01:14:35 +01:00
parent 6bc35f6c34
commit c89b4bc6b0

View File

@ -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