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 ARM floating point formats for execute/ieee/20000320-1.c


ARM platforms using the VFP floating point instruction set, or using the 
same data-format as that instruction set provides (eg ARM10) have 
naturally endian double precision values.

2003-02-03  Richard Earnshaw  <rearnsha@arm.com>

	* gcc.c-torture/exectue/ieee/20000320-1.c: The ARM VFP format is
	'natural-endian'.

Index: 20000320-1.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/20000320-1.c,v
retrieving revision 1.4
diff -p -r1.4 20000320-1.c
*** 20000320-1.c	22 Nov 2001 16:40:42 -0000	1.4
--- 20000320-1.c	3 Feb 2003 10:11:36 -0000
*************** int main()
*** 49,55 ****
      exit (0);
    
    c(0x3690000000000000ULL, 0x00000000U);
! #if (defined __arm__ || defined __thumb__) && ! defined __ARMEB__
    /* The ARM always stores FP numbers in big-wordian format,
       even when running in little-byteian mode.  */
    c(0x0000000136900000ULL, 0x00000001U);
--- 49,55 ----
      exit (0);
    
    c(0x3690000000000000ULL, 0x00000000U);
! #if (defined __arm__ || defined __thumb__) && ! (defined __ARMEB__ || defined __VFP_FP__)
    /* The ARM always stores FP numbers in big-wordian format,
       even when running in little-byteian mode.  */
    c(0x0000000136900000ULL, 0x00000001U);

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