diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-03-03 21:10:14 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-03-03 21:10:14 -0800 |
commit | cf126a147c108497ef8a387dc869a4c24a9622ed (patch) | |
tree | 43bc6fb625be489254b9b06862bf3d0c1afdf66e /lisplib.c | |
parent | d6b6dfcf6b8adcb6c2fbc453c2c0fcbf3a27cbc3 (diff) | |
download | txr-cf126a147c108497ef8a387dc869a4c24a9622ed.tar.gz txr-cf126a147c108497ef8a387dc869a4c24a9622ed.tar.bz2 txr-cf126a147c108497ef8a387dc869a4c24a9622ed.zip |
compiler: another late-peephole pattern.
* share/txr/stdlib/optimize.tl (late-peephole): Add a
6-instruction pattern which is seen in pattern-matching code
in optimize.tlo and compiler.tlo. This can be tidied up a
little bit, reducing the instructions to 5, eliminating
redundant comparisons and threading a jump. At this point we
are probably working too hard for too little gain. More
effort in other areas like common subexpression elimination
could produce bigger wins.
Diffstat (limited to 'lisplib.c')
0 files changed, 0 insertions, 0 deletions