bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/3184] New: gas doesn't handle nig integers correctly


From: miro dot kropacek at gmail dot com
Subject: [Bug gas/3184] New: gas doesn't handle nig integers correctly
Date: 7 Sep 2006 09:07:28 -0000

Concretly, this bug applies to 2.13.2.1-2 version for FreeMiNT distribution 
(http://sparemint.atariforge.net/sparemint/html/packages/binutils.html).

Try this:

fmove.l #65536*32768,register

after you assemble it for m68k (I used -m68020-60 switch) the result is crap 
(bad number in fp0). I have to write this instead:

fmove.l #32768,d0
swap d0
fmove.l d0,fp0

or (i'm not sure, though)

fmove.l #0x80000000,fp0

(it seems like integer overflow with numbers > 2^31)

I do apologize if this bug was already fixed but I'm new to all this bug 
reporting...

-- 
           Summary: gas doesn't handle nig integers correctly
           Product: binutils
           Version: 2.13.1
            Status: NEW
          Severity: critical
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: miro dot kropacek at gmail dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: m68k/freemint
  GCC host triplet: m68k/freemint
GCC target triplet: m68k/freemint


http://sourceware.org/bugzilla/show_bug.cgi?id=3184

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]