Launchpad has imported 5 comments from the remote bug at
http://sourceware.org/bugzilla/show_bug.cgi?id=12715.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-04-29T06:50:15+00:00 Luke Kim wrote:

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.

Reply at: https://bugs.launchpad.net/binutils/+bug/772200/comments/3

------------------------------------------------------------------------
On 2011-04-29T07:02:58+00:00 Luke Kim wrote:

Created attachment 5697
assembly source code

Reply at: https://bugs.launchpad.net/binutils/+bug/772200/comments/4

------------------------------------------------------------------------
On 2011-05-12T12:41:48+00:00 Cvs-commit wrote:

CVSROOT:        /cvs/src
Module name:    src
Changes by:     [email protected] 2011-05-12 12:41:45

Modified files:
        gas            : ChangeLog 
        gas/config     : tc-arm.c 
        gas/testsuite  : ChangeLog 
        gas/testsuite/gas/arm: neon-const.d neon-const.s 

Log message:
        PR gas/12715
        * gas/config/tc-arm.c (parse_big_immediate):  Fix parsing of 64-bit
        immediates on 32-bit hosts.
        * gas/testsuite/gas/arm/neon-const.s: Add testcase for 64-bit Neon 
constants.
        * gas/testsuite/gas/arm/neon-const.d: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4479&r2=1.4480
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-arm.c.diff?cvsroot=src&r1=1.483&r2=1.484
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1897&r2=1.1898
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/neon-const.d.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/neon-const.s.diff?cvsroot=src&r1=1.2&r2=1.3

Reply at: https://bugs.launchpad.net/binutils/+bug/772200/comments/8

------------------------------------------------------------------------
On 2011-05-13T14:19:06+00:00 Cvs-commit wrote:

CVSROOT:        /cvs/src
Module name:    src
Branch:         binutils-2_21-branch
Changes by:     [email protected] 2011-05-13 14:19:04

Modified files:
        gas            : ChangeLog 
        gas/config     : tc-arm.c 
        gas/testsuite  : ChangeLog 
        gas/testsuite/gas/arm: neon-const.d neon-const.s 

Log message:
        Apply from mainline.
        2011-05-12  Matthew Gretton-Dann  <[email protected]>
        PR gas/12715
        * gas/config/tc-arm.c (parse_big_immediate):  Fix parsing of 64-bit
        immediates on 32-bit hosts.
        * gas/testsuite/gas/arm/neon-const.s: Add testcase for 64-bit Neon 
constants.
        * gas/testsuite/gas/arm/neon-const.d: Likewise.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.4320.2.27&r2=1.4320.2.28
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-arm.c.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.471.2.2&r2=1.471.2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.1802.2.9&r2=1.1802.2.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/neon-const.d.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.1&r2=1.1.16.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/neon-const.s.diff?cvsroot=src&only_with_tag=binutils-2_21-branch&r1=1.2&r2=1.2.14.1

Reply at: https://bugs.launchpad.net/binutils/+bug/772200/comments/9

------------------------------------------------------------------------
On 2011-05-13T14:22:11+00:00 Matthew Gretton-Dann wrote:

Fixes committed to both trunk and 2.21 branches.

Reply at: https://bugs.launchpad.net/binutils/+bug/772200/comments/10


** Changed in: binutils
       Status: Unknown => Fix Released

** Changed in: binutils
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/772200

Title:
  Large immediate for neon vmov doesn't work correctly

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to