![]() | ||
| Home | SwiftX Archive | SwiftForth Archive | |

Given:
: RDROP ( R: x -- ) R> DROP ;
see rdrop
4CD2 4 #Q A7 ADD 588F
4CD4 RTS 4E75 ok
I compliment Forth Inc on the SwiftX optimizer which produced one ADD
instead of a pop and call to drop.
Given:
: dwb1 2 >R RDROP ;
see dwb1
6E68A 2 #Q D0 MOV 7002
6E68C D0 A7 -) MOV 2F00
6E68E RDROP AB JMP 4EF84CD2 ok
The jump to RDROP is longer than the contents of RDROP. It would be
terrific if the optimizer had an option to in-line small words.
Wish for see dwb1:
2 #Q D0 MOV
D0 A7 -) MOV
4 #Q A7 ADD
RTS
----------------------------------------------------------------------
swiftx_at_forth.com The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe swiftx" to listar_at_forth.com
For help with listar commands, send subject "help" to listar_at_forth.com
Archives are located at http://www.forth.com/swiftx -- check them out!
----------------------------------------------------------------------
THIS LIST IS NOT FOR BUG REPORTS! Send bug reports to support_at_forth.com.
Received on Fri May 03 2002 - 13:37:07 PDT
This archive was generated by hypermail 2.2.0 : Mon Dec 01 2008 - 03:04:47 PST