From 2717305800114828efe70e9e1dd0414adf539dce Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 24 Mar 2011 21:52:09 +0100 Subject: [PATCH] i386.md (ix86_print_operand): Output DFmode const_double correctly. * config/i386/i386.md (ix86_print_operand): Output DFmode const_double correctly. From-SVN: r171424 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 7 +------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4e2732a9c0d..ad0a1302c5e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-03-24 Uros Bizjak + + * config/i386/i386.md (ix86_print_operand): Output DFmode const_double + correctly. + 2011-03-24 Jakub Jelinek PR debug/48204 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 17f09757253..415cefddf77 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -14408,12 +14408,7 @@ ix86_print_operand (FILE *file, rtx x, int code) if (ASSEMBLER_DIALECT == ASM_ATT) putc ('$', file); - /* We can use %d if the number is <32 bits and positive. */ - if (l[1] || l[0] < 0) - fprintf (file, "0x%lx%08lx", - (unsigned long) l[1], (unsigned long) l[0]); - else - fprintf (file, HOST_WIDE_INT_PRINT_DEC, l[0]); + fprintf (file, "0x%lx%08lx", l[1] & 0xffffffff, l[0] & 0xffffffff); } /* These float cases don't actually occur as immediate operands. */ -- 2.30.2