| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Watcom C++ |
Jay Collins wrote in a message to Ed Blackman: > Replace "-ox" with "-otexan", which, of course, is short for "-ot > -oe -ox -oa -on". And it doesn't really make a difference what > order you specify the options in, "texan" is just easier to > remember, than, say "xntae". Note that this optimizes for _speed_, > not size. JC> What switches would be best for SIZE then? Of the above, "-ot" favors time over size, so replace it with "-os" instead. Of the rest, only "-oe" causes code expansion, so omit it. Alias checks (eliminated by "-oa"), stack checks (eliminated by "-ox"), and IEEE-754 compliant divisions (eliminated by "-on") would increase both execution time and size. Therefore, "-osxan" would optimize for size. Remember that, regardless of anything else, "-oa" can cause incorrect code to be generated if the programmer modifies a global via alias. -- Mike ---* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107) SEEN-BY: 12/2442 620/243 624/50 632/348 640/820 690/660 711/409 410 413 430 SEEN-BY: 711/807 808 809 934 942 949 955 712/515 713/888 800/1 7877/2809 @PATH: 323/107 150 3615/50 229/2 12/2442 711/409 808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.