<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:renato.golin@linaro.org" title="Renato Golin <renato.golin@linaro.org>"> <span class="fn">Renato Golin</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - ARM Assembler does not support syntax for implementation defined DSB instructions"
   href="https://llvm.org/bugs/show_bug.cgi?id=13138">bug 13138</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - ARM Assembler does not support syntax for implementation defined DSB instructions"
   href="https://llvm.org/bugs/show_bug.cgi?id=13138#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - ARM Assembler does not support syntax for implementation defined DSB instructions"
   href="https://llvm.org/bugs/show_bug.cgi?id=13138">bug 13138</a>
              from <span class="vcard"><a class="email" href="mailto:renato.golin@linaro.org" title="Renato Golin <renato.golin@linaro.org>"> <span class="fn">Renato Golin</span></a>
</span></b>
        <pre>$ llvm-mc -triple armv7 dsb.s 
    .text
    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
    .text
    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
-show-encoding
    .text
    dsb    osh                     @ encoding: [0x43,0xf0,0x7f,0xf5]
                                        @ <MCInst #100 DSB
                                        @  <MCOperand Imm:3>>


LGTM.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>