aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m68k/math-68881.h
diff options
context:
space:
mode:
authorBernardo Innocenti <bernie@develer.com>2004-02-09 01:48:13 +0100
committerBernardo Innocenti <bernie@gcc.gnu.org>2004-02-09 01:48:13 +0100
commit3b4b85c945f850219212333d236f617b24b3515f (patch)
tree11456680402b6510cc15ccd72b7085a43bf32769 /gcc/config/m68k/math-68881.h
parent413b591234e6820305614cf4ebcdd1ba2f239054 (diff)
downloadgcc-3b4b85c945f850219212333d236f617b24b3515f.zip
gcc-3b4b85c945f850219212333d236f617b24b3515f.tar.gz
gcc-3b4b85c945f850219212333d236f617b24b3515f.tar.bz2
m68k.c, m68k.md (SGS, [...]): Remove code to support SGS assembler.
* 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. From-SVN: r77518
Diffstat (limited to 'gcc/config/m68k/math-68881.h')
-rw-r--r--gcc/config/m68k/math-68881.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/config/m68k/math-68881.h b/gcc/config/m68k/math-68881.h
index 7b91bc5..6d9f8b2 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;