This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [3.4-BIB] Optimize cvtsd2ss for Athlon/K8


> 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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]