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: New ieee754 support code for ARM


This patch integrates Nicolas Pitre's hand-coded assembly functions for FP 
support into the arm-elf configuration.  I've made some very minor changes 
to the code to enable me to use the code both in thumb-only 
configurations, when interworking and also to allow the code to be built 
for APCS-26 use.  Mostly this is done using macros defined at the top of 
each file (or making use of existing macros), but occasionally it required 
conditional assembly elsewhere in the file.

Testing indicates no regressions either for ARM (-marm) or Thumb (-mthumb) 
code test runs.

Gerald, I think this is worth an entry in the News.  Proposed patch is:

diff -p -r1.393 index.html
*** index.html  23 Aug 2003 07:10:10 -0000      1.393
--- index.html  27 Aug 2003 12:57:31 -0000
*************** to maintain and improve quality.</p>
*** 89,94 ****
--- 89,103 ----
  
  <dl>
  
+ <dt><b>August 27, 2003</b></dt>
+ <dd>
+ Nicolas Pitre has contributed his hand-coded floating-point support code
+ for ARM.  This code is both significantly smaller and faster than the 
+ existing C-based implementation.  The code has already been integrated
+ into the arm-elf configuration; other configurations will be updated
+ in due course.
+ </dd>
+ 
  <dt><b>August 8, 2003</b></dt>
  <dd>
  <a href="gcc-3.3/">GCC 3.3.1</a> has been released.


Are you happy with that?

2003-08-27  Richard Earnshaw  <rearnsha@arm.com>

	* lib1funcs.asm (L_ieee754_sp): New.  Include ieee754-sf.S.
	(L_ieee754_dp): New.  Include ieee754-df.S.
	* arm/ieee754-sf.S: Rework to allow interworking, calling from Thumb,
	and compilation in apcs-26 mode.
	* arm/ieee754-df.S: Likewise.
	* t-arm-elf (DPBIT, FPBIT, fp-bit.c dp-bit.c): Delete rules
	(LIB1ASMFUNCS): Add _ieee754_sp and _ieee754_dp targets.

2003-08-27  Nicolas Pitre  <nico@cam.org>

	* arm/ieee754-sf.S: New.
	* arm/ieee754-df.S: New.

R.

Attachment: asm-fp.patch
Description: asm-fp.patch


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