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, i386] x87 fops can handle HImodes (PR 17688)


On Mon, Mar 07, 2005 at 04:43:58PM +0100, Uros Bizjak wrote:
> Patch was bootstrapped on pentium4-pc-linux-gnu, regtested for c and 
> c++. OK for mainline?

Please also bootstrap for i386-linux, so that you excersise
your new patterns.

> BTW: Should I mention a PR in ChangeLog, as this is an enhancement?

Yes.

> 	* config/i386/i386.c (x86_use_himode_fiop): New.
> 	(x86_use_simode_fiop): Rename from x86_use_fiop.
> 	* config/i386/i386.h (x86_use_himode_fiop): Declare.
> 	(TARGET_USE_HIMODE_FIOP): New.
> 	(x86_use_simode_fiop): Rename from x86_use_fiop.
> 	(TARGET_USE_SIMODE_FIOP): Rename from TARGET_USE_FIOP.
> 	
> 	* config/i386/i386.md (X87MODEI): New mode macro define.
> 	(*cmpfp_<mode>): Rename from *cmpfp_si.  Use X87MODEI mode macro
> 	to implement x87 FP compare with HImode input operands.
> 	(*fp_jcc_8<mode>_387, splitter): Rename from *fp_jcc_8_387.
> 	Use X87MODEI mode macro to handle HImode input operands.
> 	(*fop_sf_2<mode>_i387, *fop_sf_3<mode>_i387, *fop_df_2<mode>_i387,
> 	*fop_df_3<mode>_i387, *fop_xf_2<mode>_i387, *fop_xf_3<mode>_i387):
> 	Renamed from *fop_sf_2_i387, *fop_sf_3_i387, *fop_df_2_i387,
> 	*fop_df_3_i387, *fop_xf_2_i387, *fop_xf_3_i387. Use X87MODEI mode
> 	macro to implement x87 operators with HImode input operands.
> 	(fop splitters): Use X87MODEI mode macro to handle HImode
> 	input operands.

Ok with the i386 bootstrap.


r~


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