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: [PATCH 5/5] Use preferred_for_speed in i386.md


On 10/17/2014 10:54 AM, Richard Sandiford wrote:
> Undo the original fix for 61630 and use preferred_for_speed in the
> problematic pattern.
>
> I've not written many gcc.target/i386 tests so the markup might need
> some work.

Final lra.c change is ok for me too.
>
>
> gcc/
> 	* lra.c (lra): Remove call to recog_init.
> 	* config/i386/i386.md (preferred_for_speed): New attribute
> 	(*float<SWI48:mode><MODEF:mode>2_sse): Override it instead of
> 	"enabled".
>
> gcc/testsuite/
> 	* gcc.target/i386/conversion-2.c: New test.
>
>


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