Dear users of the z80 backend,

I intend to remove some z80 peephole rules. You might want to check if
you are affected (by compiling your source usign current SDCC 3.6.9
#10025 or later with --fverbose-asm, and checking the output, e.g. using
a command like "grep peephole 21c test.asm".

While peephole rules are a quick way to get a bit of optimization, often
improvements in code generation and register allocation can result in
even better code (and also make old peephole rules obsolete).

None of these rules is currently used in the regression tests for z80.

Keeping unused and untested rules comes with a maintainance burden and a
risk for bugs, so rules that are no longer used should be removed once
in a while.

If one of the rules that I want to remove happens to be used by SDCC
when compiling your code, please report on the list, and I well keep it.
Ideally, you would also provide a small some compileable source example
that SDCC uses the rule for.

Here is the list of rules to be removed:

5
14
21
21a
21c
30
38
39
49f
49g
51b
51c
51d
51ethen
58
59
66
71
73
74
84
85
91
92
97
105
108
109
110
111a
111c
118
119If y
120
121
122
122a
123
126
128
129
130
131
132
140
141a
146

Philipp

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to