On 16.12.2016 11:47, Травкин Роман wrote:
> Is this rule correct? In PM0044 STM8 CPU Programming manual popw only
> gets 16bit registers (X, Y)
>
> replace restart {
> popw a
> popw a
> } by {
> popw x
> ; peephole 14a merged pop a into popw x
> } if notUsed('a'), notUsed('x')
>
> This rule is from file
> https://sourceforge.net/p/sdcc/code/HEAD/tree/trunk/sdcc/src/stm8/peeph.def#l412
I fixed the popw issue in revision #9819.
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user