Suppressing code motion of constant values...
Alan Lehotsky
lehotsky@tiac.net
Fri Apr 24 06:54:00 GMT 1998
There was a code snippet and discussion of the idea of
suppressing hoisting constants outside of loops at
lower optimization levels.
I thought at the time that this wasn't a winner for me, but in
looking at some generated code for the SHARC DSP chip, it
appears that this is causing me to use more registers than
I need.
Can someone resend that code fragment? It was a patch to loop.c
if I remember correctly.
-- Al Lehotsky
------------------------------------------------------------------------
Quality Software Management
http://www.tiac.net/users/lehotsky
lehotsky@tiac.net
(978)371-2219 Voice
(978)371-2382 Fax/Data
Software Process Improvement and Management Consulting
Language Design and Compiler Implementation
More information about the Gcc
mailing list