From 228f76d4dfe9a8a9b50e4c5ac8161a991fc8107c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 23 May 2017 00:47:19 +0200 Subject: sparc: cleanup sparc64 bits and unused soft-fp Remove a lot of unused 64 Bit header stuff. --- libc/sysdeps/linux/sparc/fpu_control.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'libc/sysdeps/linux/sparc/fpu_control.h') diff --git a/libc/sysdeps/linux/sparc/fpu_control.h b/libc/sysdeps/linux/sparc/fpu_control.h index 0a00044f9..57f1dbb67 100644 --- a/libc/sysdeps/linux/sparc/fpu_control.h +++ b/libc/sysdeps/linux/sparc/fpu_control.h @@ -1,6 +1,5 @@ /* FPU control word bits. SPARC version. Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. - This file is part of the GNU C Library. Contributed by Miguel de Icaza The GNU C Library is free software; you can redistribute it and/or @@ -22,7 +21,6 @@ #include -#include /* masking of interrupts */ #define _FPU_MASK_IM 0x08000000 @@ -58,13 +56,8 @@ /* Type of the control word. */ typedef unsigned long int fpu_control_t; -#if __WORDSIZE == 64 -# define _FPU_GETCW(cw) __asm__ ("stx %%fsr,%0" : "=m" (*&cw)) -# define _FPU_SETCW(cw) __asm__ ("ldx %0,%%fsr" : : "m" (*&cw)) -#else -# define _FPU_GETCW(cw) __asm__ ("st %%fsr,%0" : "=m" (*&cw)) -# define _FPU_SETCW(cw) __asm__ ("ld %0,%%fsr" : : "m" (*&cw)) -#endif +#define _FPU_GETCW(cw) __asm__ ("st %%fsr,%0" : "=m" (*&cw)) +#define _FPU_SETCW(cw) __asm__ ("ld %0,%%fsr" : : "m" (*&cw)) #if 0 /* Default control word set at startup. */ -- cgit v1.2.3