Philipp Klaus Krause schreef op 2020-06-15 11:34:
Am 15.06.20 um 11:04 schrieb Maarten Brock:

This sounds like an excellent job for the peephole optimizer.
Are there restrictions on the operand that should be checked?

Maarten

Padauk t0sn and t1sn need an operand that is either an __sfr, and in the
lower half of the __data address space.

Is that "either ... or" or "both ... and"?

This probably requires a new peephole support function to verify these
restrictions. If the address of the sfr is known at compile time this
should be doable.

Maarten


_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to