[PATCH, i386]: Fix PR 43733, bootstrap fails on Solaris 10 x86 with GNU as 2.15 and --with-arch=core2

Uros Bizjak ubizjak@gmail.com
Thu May 20 19:14:00 GMT 2010


Hello!

Attached patch checks support for sahf in 64bit mode and rewrites logic
to output sahf accordingly.

2010-05-20  Uros Bizjak  <ubizjak@gmail.com>

	PR target/43733
	* configure.ac (gcc_cv_as_ix86_sahf): Switch to 64bit mode.
	* configure: Regenerate.
	* config.in: Regenerate.
	* config/i386/i386.md (x86_sahf_1): Conditionally output 0x9e
	instead of sahf only for 64bit targets.

Patch was tested on x86_64-pc-linux-gnu, and also by the reporter.

Patch was committed to mainline, will be committed to other branches
after a couple of days.

Uros.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100520/d094dac6/attachment.txt>


More information about the Gcc-patches mailing list