https://sourceware.org/bugzilla/show_bug.cgi?id=20553

            Bug ID: 20553
           Summary: Bug in objdump when disassembling fmul,fmla and fmls
           Product: binutils
           Version: 2.26
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: weixiangyu at huawei dot com
  Target Milestone: ---

1. Overview:
  I have recently found that 3 half-precision instructions( e.g. FMUL <Vd>.<T>,
<Vn>.<T>, <Vm>.<Ts>[<index>] ) have some problems when doing disassemble: the
insn can't be recognized when its index is larger than 1. 

2. Steps to reproduce:

wxy@linux-e9000:~/work> cat test.s
fmla v0.8h, v1.8h, v2.h[2]
fmls v0.8h, v1.8h, v2.h[2]
fmul v0.8h, v1.8h, v2.h[2]

wxy@linux-e9000:~/work> aarch64_be-linux-gnu-gcc -c test.s
wxy@linux-e9000:~/work> aarch64_be-linux-gnu-objdump -d test.o

3. Actual results

test.o:     file format elf64-bigaarch64

Disassembly of section .text:

0000000000000000 <.text>:
   0:   4f221020        .inst   0x4f221020 ; undefined
   4:   4f225020        .inst   0x4f225020 ; undefined
   8:   4f229020        .inst   0x4f229020 ; undefined

My toolchain was built with binutils 2.26 and gcc-4.9.3, and as far as I
know,this problem also exists in binutils 2.27.

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