Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gcc/gcc From gcc-patches:
details: https://anonhg.NetBSD.org/src/rev/161ebc7adfaf
branches: trunk
changeset: 554473:161ebc7adfaf
user: matt <matt%NetBSD.org@localhost>
date: Tue Oct 28 19:08:12 2003 +0000
description:
>From gcc-patches:
* real.c (encode_ieee_single): Ensure proper promotion.
Back out change to i386.c
diffstat:
gnu/dist/gcc/gcc/config/i386/i386.c | 2 +-
gnu/dist/gcc/gcc/real.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r b46c75860cf1 -r 161ebc7adfaf gnu/dist/gcc/gcc/config/i386/i386.c
--- a/gnu/dist/gcc/gcc/config/i386/i386.c Tue Oct 28 18:35:06 2003 +0000
+++ b/gnu/dist/gcc/gcc/config/i386/i386.c Tue Oct 28 19:08:12 2003 +0000
@@ -7083,7 +7083,7 @@
if (ASSEMBLER_DIALECT == ASM_ATT)
putc ('$', file);
- fprintf (file, "0x%lx", l & 0xffffffff);
+ fprintf (file, "0x%lx", l);
}
/* These float cases don't actually occur as immediate operands. */
diff -r b46c75860cf1 -r 161ebc7adfaf gnu/dist/gcc/gcc/real.c
--- a/gnu/dist/gcc/gcc/real.c Tue Oct 28 18:35:06 2003 +0000
+++ b/gnu/dist/gcc/gcc/real.c Tue Oct 28 19:08:12 2003 +0000
@@ -2612,9 +2612,10 @@
const REAL_VALUE_TYPE *r;
{
unsigned long image, sig, exp;
+ unsigned sign = r->sign;
bool denormal = (r->sig[SIGSZ-1] & SIG_MSB) == 0;
- image = r->sign << 31;
+ image = sign << 31;
sig = (r->sig[SIGSZ-1] >> (HOST_BITS_PER_LONG - 24)) & 0x7fffff;
switch (r->class)
Home |
Main Index |
Thread Index |
Old Index