bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/13843] New: Negative immediate for vmov fails on 32-bit host


From: ams at sourceware dot org
Subject: [Bug gas/13843] New: Negative immediate for vmov fails on 32-bit host
Date: Wed, 14 Mar 2012 12:07:29 +0000

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

             Bug #: 13843
           Summary: Negative immediate for vmov fails on 32-bit host
           Product: binutils
           Version: 2.23 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified
              Host: i686-pc-linux-gnu armv7l-unknown-linux-gnu
            Target: arm


These two inputs are supposed to give the same output:

        vmov.i64        d21, #-65536  @ di
        vmov.i64        d21, #0xffffffffffff0000  @ di

But the actual disassembly looks like this:

   0:   efc0 5e3c       vmov.i64        d21, #0x00000000ffff0000
   4:   ffc7 5e3c       vmov.i64        d21, #0xffffffffffff0000

The negative decimal constant has been truncated to 32 bits.

This bug appears to only occur on 32-bit hosts. (I've reproduced it on i686 and
armv7a, but not on x86_64.)

This may be related to bug 12715, although that's already been fixed.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

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