]> gcc.gnu.org Git - gcc.git/commitdiff
(ASM_OUTPUT_FLOAT_OPERAND): Use CODE.
authorTom Wood <wood@gnu.org>
Mon, 12 Apr 1993 23:53:15 +0000 (23:53 +0000)
committerTom Wood <wood@gnu.org>
Mon, 12 Apr 1993 23:53:15 +0000 (23:53 +0000)
From-SVN: r4110

gcc/config/m68k/next.h

index cdc60fb7ca04481271f1c436c3d9bfd76c4d3622..c336d67fbe031b6a1dcee30eb959afd433c485d9 100644 (file)
@@ -99,7 +99,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
   do {                                                                 \
     long hex;                                                          \
     REAL_VALUE_TO_TARGET_SINGLE (VALUE, hex);                          \
-    fprintf (FILE, "#0b%x", hex);                                      \
+    fprintf (FILE, "#0%c%x", (CODE) == 'f' ? 'b' : 'x', hex);          \
   } while (0)
 #else
 #define ASM_OUTPUT_FLOAT_OPERAND(CODE,FILE,VALUE)                      \
This page took 0.071805 seconds and 5 git commands to generate.