[3.4-BIB] Optimize cvtsd2ss for Athlon/K8

Jan Hubicka jh@suse.cz
Wed Nov 27 02:11:00 GMT 2002


> On Tue, Nov 26, 2002 at 11:02:23PM +0100, Jan Hubicka wrote:
> > !    /* Athlon optimizes partial-register FPS special case, thus avoiding the
> > !       need for extra instructions beforehand  */
> > !    && (!TARGET_SSE_PARTIAL_REGS || TARGET_ATHLON_K8)"
> 
> Seems like it'd be a good idea to pull this into yet
> another target macro.
You mean something like
TARGET_SSE_CVTSD2SS_SPECIAL_CASE and replace all TARGET_ATHLON_K8 with
that?
Perhaps I can create TARGET_SSE_PARTIAL_REGS_FOR_CVTSD2SS
but then TARGET_SSE_PARTIAL_REGS will have weird definition...

Honza
> 
> 
> r~



More information about the Gcc-patches mailing list