https://bugs.llvm.org/show_bug.cgi?id=40649

            Bug ID: 40649
           Summary: llvm-objdump unable to disassemble LSE atomic
                    instructions
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-objdump
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

Created attachment 21444
  --> https://bugs.llvm.org/attachment.cgi?id=21444&action=edit
lse.s

$ cat lse.s
.arch_extension lse
.global _entry
.section _entry
  stadd w0, [x1]

$ clang -target aarch64-linux-gnu -c lse.s
$ aarch64-linux-gnu-objdump -D lse.o

lse.o:     file format elf64-littleaarch64


Disassembly of section _entry:

0000000000000000 <_entry>:
   0:   b820003f        stadd   w0, [x1]

$ llvm-objdump -D lse.o 

lse.o:  file format ELF64-aarch64-little

Disassembly of section .strtab:
0000000000000000 .strtab:
       0:       00 5f 65 6e     uqrshl  v0.8h, v24.8h, v5.8h
       4:       74 72 79 00  <unknown>
       8:       2e 74 65 78  <unknown>
       c:       74 00 2e 73  <unknown>
      10:       74 72 74 61  <unknown>
      14:       62 00 2e 73  <unknown>
      18:       79 6d 74 61  <unknown>
      1c:       62 00 24 78  <unknown>
      20:       2e  <unknown>
      21:       30  <unknown>
      22:       00  <unknown>
Disassembly of section _entry:
0000000000000000 $x.0:
       0:       3f 00 20 b8  <unknown>
Disassembly of section .symtab:
0000000000000000 .symtab:
                ...
      18:       1e 00 00 00     udf     #30
      1c:       00 00 03 00  <unknown>
                ...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to