Konstantin,
Please post this as a feature request to improve SDCC. It will get lost in
the mailing list.
Maarten
> Actual TNZ peephole can be extended for one more
> It should help to sdcc_divulong
>
> replace restart {
> ld (%1, %2), a
> tnz a
> } by {
> ld (%1, %2), a
> }
>
> In 3.8.0 srl (x)
Actual TNZ peephole can be extended for one more
It should help to sdcc_divulong
replace restart {
ld (%1, %2), a
tnz a
} by {
ld (%1, %2), a
}
In 3.8.0 srl (x) / inc (x) do redundant loads/store
00102$:
; huffman_iterative.c: 32: state->bit++;
ldw x, (0x05, sp)
ld a, (x) ; <-- next 3 line