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: Fix rs6000 fix_trunc TFmode


	Appended is the patch I applied to add the AIX libfuncs.

David

	* config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
	TFmode to SImode libfuncs.

Index: rs6000.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.c,v
retrieving revision 1.571
diff -c -p -r1.571 rs6000.c
*** rs6000.c	12 Jan 2004 08:11:26 -0000	1.571
--- rs6000.c	12 Jan 2004 18:28:18 -0000
*************** rs6000_init_libfuncs (void)
*** 7311,7316 ****
--- 7311,7318 ----
  	  /* AIX library routines for float->int conversion.  */
  	  set_conv_libfunc (sfix_optab, SImode, DFmode, "__itrunc");
  	  set_conv_libfunc (ufix_optab, SImode, DFmode, "__uitrunc");
+ 	  set_conv_libfunc (sfix_optab, SImode, TFmode, "_qitrunc");
+ 	  set_conv_libfunc (ufix_optab, SImode, TFmode, "_quitrunc");
  	}
  
        /* Standard AIX/Darwin/64-bit SVR4 quad floating point routines.  */


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