Deleted Added
full compact
arm-gcc.h (245084) arm-gcc.h (255361)
1/* $NetBSD: arm-gcc.h,v 1.2 2001/02/21 18:09:25 bjh21 Exp $ */
1/* $NetBSD: arm-gcc.h,v 1.2 2001/02/21 18:09:25 bjh21 Exp $ */
2/* $FreeBSD: head/lib/libc/arm/softfloat/arm-gcc.h 245084 2013-01-06 00:49:06Z andrew $ */
2/* $FreeBSD: head/lib/libc/arm/softfloat/arm-gcc.h 255361 2013-09-07 14:04:10Z andrew $ */
3
4/*
5-------------------------------------------------------------------------------
6One of the macros `BIGENDIAN' or `LITTLEENDIAN' must be defined.
7-------------------------------------------------------------------------------
8*/
9#ifdef __ARMEB__
10#define BIGENDIAN

--- 75 unchanged lines hidden (view full) ---

86
87/*
88-------------------------------------------------------------------------------
89The ARM FPA is odd in that it stores doubles high-order word first, no matter
90what the endianness of the CPU. VFP is sane.
91-------------------------------------------------------------------------------
92*/
93#if defined(SOFTFLOAT_FOR_GCC)
3
4/*
5-------------------------------------------------------------------------------
6One of the macros `BIGENDIAN' or `LITTLEENDIAN' must be defined.
7-------------------------------------------------------------------------------
8*/
9#ifdef __ARMEB__
10#define BIGENDIAN

--- 75 unchanged lines hidden (view full) ---

86
87/*
88-------------------------------------------------------------------------------
89The ARM FPA is odd in that it stores doubles high-order word first, no matter
90what the endianness of the CPU. VFP is sane.
91-------------------------------------------------------------------------------
92*/
93#if defined(SOFTFLOAT_FOR_GCC)
94#if defined(__VFP_FP__) || defined(__ARMEB__)
94#if defined (__ARM_EABI__) || defined(__VFP_FP__) || defined(__ARMEB__)
95#define FLOAT64_DEMANGLE(a) (a)
96#define FLOAT64_MANGLE(a) (a)
97#else
98#define FLOAT64_DEMANGLE(a) ((((a) & 0xfffffffful) << 32) | ((a) >> 32))
99#define FLOAT64_MANGLE(a) FLOAT64_DEMANGLE(a)
100#endif
101#endif
95#define FLOAT64_DEMANGLE(a) (a)
96#define FLOAT64_MANGLE(a) (a)
97#else
98#define FLOAT64_DEMANGLE(a) ((((a) & 0xfffffffful) << 32) | ((a) >> 32))
99#define FLOAT64_MANGLE(a) FLOAT64_DEMANGLE(a)
100#endif
101#endif