[PATCH, i386]: Fix 23268

Uros Bizjak ubizjak@gmail.com
Tue Aug 16 09:25:00 GMT 2005


Hello!

Attached patch fixes PR target/23268. The problem was in the
lrint<mode>2 expander. The code from expander should be implemented in
a separate pattern that is enabled only up to reload phase. This patch
changes functionality of lrint to be the same as the functionality of
other fist* patterns.

Patch was regtested on i686-pc-linux-gnu. Patch is relative to
20050716 4.1 snapshot, as I can't access CVS ATM, but should apply
cleanly to current CVS.

:ADDPATCH target (i386):

2005-08-16  Uros Bizjak  <uros@kss-loka.si>

	PR target/23268
	* config/i386/i386.md ("*fist<mode>2_1"): New pattern.
	("lrint<mode>2"): Change expander to use "*fist<mode>2_1" pattern.

Uros.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr23268.diff
Type: application/octet-stream
Size: 1870 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050816/be3f6c47/attachment.obj>


More information about the Gcc-patches mailing list