[llvm-bugs] [Bug 13138] ARM Assembler does not support syntax for implementation defined DSB instructions

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Dec 9 08:59:12 PST 2015


Renato Golin <renato.golin at linaro.org> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Renato Golin <renato.golin at linaro.org> ---
$ llvm-mc -triple armv7 dsb.s 
    dsb    sy
    dsb    #0x0
    dsb    #0x1
    dsb    oshst
    dsb    osh
    dsb    #0x4
    dsb    #0x5
    dsb    nshst
    dsb    nsh
    dsb    #0x8
    dsb    #0x9
    dsb    ishst
    dsb    ish
    dsb    #0xc
    dsb    #0xd
    dsb    st
    dsb    sy

$ echo "DSB #0x3" | llvm-mc -triple armv7 -show-inst -show-encoding
    dsb    osh                     @ encoding: [0x43,0xf0,0x7f,0xf5]
                                        @ <MCInst #100 DSB
                                        @  <MCOperand Imm:3>>
$ echo 0x43 0xf0 0x7f 0xf5 | llvm-mc -triple armv7 -disassemble -show-inst
    dsb    osh                     @ encoding: [0x43,0xf0,0x7f,0xf5]
                                        @ <MCInst #100 DSB
                                        @  <MCOperand Imm:3>>


You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151209/f1760e12/attachment.html>

More information about the llvm-bugs mailing list