From c8470713623c22b28edb6249520cdf78df504433 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Fri, 17 Apr 1992 22:37:55 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r767 --- gcc/config/ns32k/ns32k.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/gcc/config/ns32k/ns32k.c b/gcc/config/ns32k/ns32k.c index 0cb876cfa30..8dd0f03fade 100644 --- a/gcc/config/ns32k/ns32k.c +++ b/gcc/config/ns32k/ns32k.c @@ -374,9 +374,9 @@ print_operand (file, x, code) char code; { if (code == '$') - PUT_IMMEDIATE_PREFIX(file); + PUT_IMMEDIATE_PREFIX (file); else if (code == '?') - PUT_EXTERNAL_PREFIX(file); + PUT_EXTERNAL_PREFIX (file); else if (GET_CODE (x) == REG) fprintf (file, "%s", reg_names[REGNO (x)]); else if (GET_CODE (x) == MEM) @@ -422,6 +422,11 @@ print_operand (file, x, code) u.i[0] = CONST_DOUBLE_LOW (x); u.i[1] = CONST_DOUBLE_HIGH (x); PUT_IMMEDIATE_PREFIX (file); #ifdef SEQUENT_ASM + /* We have no way of winning if we can't get the bits + for a sequent floating point number. */ +#if HOST_FLOAT_FORMAT != TARGET_FLOAT_FORMAT + abort (); +#endif { union { float f; long l; } uu; uu.f = u.d; @@ -434,7 +439,10 @@ print_operand (file, x, code) } else { - PUT_IMMEDIATE_PREFIX(file); +#ifndef NO_IMMEDIATE_PREFIX_IF_SYMBOLIC + if (GET_CODE (x) == CONST_INT) +#endif + PUT_IMMEDIATE_PREFIX(file); output_addr_const (file, x); } } @@ -656,9 +664,15 @@ print_operand_address (file, addr) if (GET_CODE (indexexp) != REG || REGNO (indexexp) >= 8) abort (); +#ifdef UTEK_ASM + fprintf (file, "[%c`%s]", + scales[scale], + reg_names[REGNO (indexexp)]); +#else fprintf (file, "[%s:%c]", reg_names[REGNO (indexexp)], scales[scale]); +#endif } } -- 2.30.2