diff options
author | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-09 00:48:13 +0000 |
---|---|---|
committer | bernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-09 00:48:13 +0000 |
commit | 3acc77d9f46893fbef167a15f7cbee957ebb0d53 (patch) | |
tree | 11456680402b6510cc15ccd72b7085a43bf32769 /gcc/config/m68k/math-68881.h | |
parent | b3f5a382224c7c96e60e3b59936344fcf62bbc22 (diff) | |
download | gcc-3acc77d9f46893fbef167a15f7cbee957ebb0d53.tar.gz |
* config/m68k/m68k.c, config/m68k/m68k.md (SGS, SGS_CMP_ORDER): Remove
code to support SGS assembler. Reformat adjacent code where possible.
* config/m68k/m68k.c (switch_table_difference_label_flag): Remove definition.
* config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Remove support for '%#'.
* config/m68k/linux.h, config/m68k/m68k.c,
* config/m68k/math-68881.h: Replace `%#' with `#' in inline asm macros and
asm_printf() format strings.
* config/m68k/m68kelf.h (ASM_OUTPUT_CASE_END): Remove macro definition.
* config/m68k/linux.h: Update copyright.
* config/m68k/linux.h, config/m68k/m68k.c: Remove traling whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77518 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k/math-68881.h')
-rw-r--r-- | gcc/config/m68k/math-68881.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/config/m68k/math-68881.h b/gcc/config/m68k/math-68881.h index 7b91bc56a5d..6d9f8b2d4a1 100644 --- a/gcc/config/m68k/math-68881.h +++ b/gcc/config/m68k/math-68881.h @@ -57,7 +57,7 @@ ({ \ double huge_val; \ \ - __asm ("fmove%.d %#0x7ff0000000000000,%0" /* Infinity */ \ + __asm ("fmove%.d #0x7ff0000000000000,%0" /* Infinity */ \ : "=f" (huge_val) \ : /* no inputs */); \ huge_val; \ @@ -135,10 +135,10 @@ atan2 (double y, double x) { double pi, pi_over_2; - __asm ("fmovecr%.x %#0,%0" /* extended precision pi */ + __asm ("fmovecr%.x #0,%0" /* extended precision pi */ : "=f" (pi) : /* no inputs */ ); - __asm ("fscale%.b %#-1,%0" /* no loss of accuracy */ + __asm ("fscale%.b #-1,%0" /* no loss of accuracy */ : "=f" (pi_over_2) : "0" (pi)); if (x > 0) @@ -178,7 +178,7 @@ atan2 (double y, double x) double value; errno = EDOM; - __asm ("fmove%.d %#0x7fffffffffffffff,%0" /* quiet NaN */ + __asm ("fmove%.d #0x7fffffffffffffff,%0" /* quiet NaN */ : "=f" (value) : /* no inputs */); return value; @@ -317,7 +317,7 @@ pow (double x, double y) double value; errno = EDOM; - __asm ("fmove%.d %#0x7fffffffffffffff,%0" /* quiet NaN */ + __asm ("fmove%.d #0x7fffffffffffffff,%0" /* quiet NaN */ : "=f" (value) : /* no inputs */); return value; @@ -333,7 +333,7 @@ pow (double x, double y) if (y == temp) { int i = (int) y; - + if ((i & 1) == 0) /* even */ return exp (y * log (-x)); else @@ -344,7 +344,7 @@ pow (double x, double y) double value; errno = EDOM; - __asm ("fmove%.d %#0x7fffffffffffffff,%0" /* quiet NaN */ + __asm ("fmove%.d #0x7fffffffffffffff,%0" /* quiet NaN */ : "=f" (value) : /* no inputs */); return value; @@ -497,7 +497,7 @@ frexp (double x, int *exp) double mantissa; __asm ("fgetexp%.x %1,%0" - : "=f" (float_exponent) /* integer-valued float */ + : "=f" (float_exponent) /* integer-valued float */ : "f" (x)); int_exponent = (int) float_exponent; __asm ("fgetman%.x %1,%0" @@ -505,7 +505,7 @@ frexp (double x, int *exp) : "f" (x)); if (mantissa != 0) { - __asm ("fscale%.b %#-1,%0" + __asm ("fscale%.b #-1,%0" : "=f" (mantissa) /* mantissa /= 2.0 */ : "0" (mantissa)); int_exponent += 1; |