Skip to content
Snippets Groups Projects
Commit 86ce1825 authored by Roger Sayle's avatar Roger Sayle Committed by Roger Sayle
Browse files

i386.c (ix86_expand_fp_absneg_operator): When SSE isn't available...

	* config/i386/i386.c (ix86_expand_fp_absneg_operator): When SSE
	isn't available, directly generate the simpler x87 patterns without
	the (use (const_int 0)).
	* config/i386/i386.md (*negsf2_1): Enable pre-reload if the SSE
	implementation isn't available.
	(*negdf2_1): Likewise.
	(*negxf2_1): XF mode negation is always done using the x87.
	(*abssf2_1, *absdf2_1, *absxf2_1): Likewise^3 for fabs.

	* gcc.target/i386/387-11.c: New test case.

From-SVN: r114293
parent 222ae291
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment