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]

[PATCH, i386]: Fix 23268


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.

Attachment: pr23268.diff
Description: Binary data


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