summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-02 19:59:05 +0000
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-02 19:59:05 +0000
commit7b26a7b6cfaa696e1d28ed89110dd6b9fbe5fce3 (patch)
treef420b9fe0db9f3462f54afeddef723886e157a6e /gcc
parent805830864bbf4a630e3d4e7055df58197fc413e0 (diff)
downloadppe42-gcc-7b26a7b6cfaa696e1d28ed89110dd6b9fbe5fce3.tar.gz
ppe42-gcc-7b26a7b6cfaa696e1d28ed89110dd6b9fbe5fce3.zip
* config/arm/bpabi.c (__aeabi_ul2d, __aeabi_ul2f): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86986 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/arm/bpabi.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/gcc/config/arm/bpabi.c b/gcc/config/arm/bpabi.c
index 2115aca0433..0ca3d7bc420 100644
--- a/gcc/config/arm/bpabi.c
+++ b/gcc/config/arm/bpabi.c
@@ -27,9 +27,6 @@
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#define VISIBLE __attribute__((visibility("default")))
-extern VISIBLE double __aeabi_ul2d (unsigned long long);
-extern VISIBLE float __aeabi_ul2f (unsigned long long);
extern long long __divdi3 (long long, long long);
extern unsigned long long __udivdi3 (unsigned long long,
unsigned long long);
@@ -38,37 +35,6 @@ extern unsigned long long __gnu_uldivmod_helper (unsigned long long,
unsigned long long,
unsigned long long *);
-/* These functions are based on __floatdidf and __floatdisf, but
- convert unsigned DImode values instead of signed DImode
- values. */
-
-#define WORD_SIZE (sizeof (int) * 8)
-#define HIGH_HALFWORD_COEFF (((unsigned long long) 1) << (WORD_SIZE / 2))
-#define HIGH_WORD_COEFF (((unsigned long long) 1) << WORD_SIZE)
-
-double
-__aeabi_ul2d (unsigned long long u)
-{
- double d = (unsigned) (u >> WORD_SIZE);
- d *= HIGH_HALFWORD_COEFF;
- d *= HIGH_HALFWORD_COEFF;
- d += (unsigned) (u & (HIGH_WORD_COEFF - 1));
-
- return d;
-}
-
-float
-__aeabi_ul2f (unsigned long long u)
-{
- /* Do the calculation in DFmode so that we don't lose any of the
- precision of the high word while multiplying it. */
- double f = (unsigned) (u >> WORD_SIZE);
- f *= HIGH_HALFWORD_COEFF;
- f *= HIGH_HALFWORD_COEFF;
- f += (unsigned) (u & (HIGH_WORD_COEFF - 1));
-
- return (float) f;
-}
long long
__gnu_ldivmod_helper (long long a,
OpenPOWER on IntegriCloud