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

           Summary: Large immediate for neon vmov assembled incorrectly
                    with as built with --enable-targets=x86_64-linux-gnu
           Product: binutils
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassig...@sources.redhat.com
        ReportedBy: nereu...@gmail.com


ujkim@DO-ujkim04:~/work/toolchain-bug/as-2.21/neon-immediate-moves$ cat
neon-large-immediate-moves.s
.cpu cortex-a9
.fpu neon
.text

vmov.i64 d9,#0xffffffffffffffff

ujkim@DO-ujkim04:~/work/toolchain-bug/as-2.21/neon-immediate-moves$
arm-linux-gnueabi-as neon-large-immediate-moves.s

ujkim@DO-ujkim04:~/work/toolchain-bug/as-2.21/neon-immediate-moves$
arm-linux-gnueabi-objdump -d a.out

a.out: file format elf32-littlearm

Disassembly of section .text:

00000000 <.text>:
   0:    f2809e3f vmov.i64    d9, #0x00000000ffffffff

The immediate value should be 0xffffffffffffffff but the assembled result are
ox00000000ffffffff

The toolchain is configured with following option.
../configure --host=i486-linux-gnu         --build=i486-linux-gnu
--target=arm-linux-gnueabi --prefix=/tmp/cross/usr  --enable-shared
--enable-plugins --enable-targets=x86_64-linux-gnu --disable-werror 
--enable-ld=default --enable-gold

If I remove '--enable-targets=x86_64-linux-gnu' from the configure args, it
seems no problem.

-- 
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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to