<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:codeman.consulting@gmail.com" title="Gordon Keiser <codeman.consulting@gmail.com>"> <span class="fn">Gordon Keiser</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - llvm-mc does not parse the .w suffix on ldr and str instructions"
   href="https://bugs.llvm.org/show_bug.cgi?id=13801">bug 13801</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;">CC</td>
           <td>
                
           </td>
           <td>codeman.consulting@gmail.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - llvm-mc does not parse the .w suffix on ldr and str instructions"
   href="https://bugs.llvm.org/show_bug.cgi?id=13801#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - llvm-mc does not parse the .w suffix on ldr and str instructions"
   href="https://bugs.llvm.org/show_bug.cgi?id=13801">bug 13801</a>
              from <span class="vcard"><a class="email" href="mailto:codeman.consulting@gmail.com" title="Gordon Keiser <codeman.consulting@gmail.com>"> <span class="fn">Gordon Keiser</span></a>
</span></b>
        <pre>Encoding T4 ARMv6T2, ARMv7
LDR<c> <Rt>, [<Rn>, #-<imm8>]
LDR<c> <Rt>, [<Rn>], #+/-<imm8>
LDR<c> <Rt>, [<Rn>, #+/-<imm8>]!

The T4 encoding doesn't use the .W modifier, that indicates that T3 should be
used, according to ARM manuals.  

T3 specifies .W so that forces generation of it. 

Encoding T3 ARMv6T2, ARMv7
LDR<c>.W <Rt>, [<Rn>{, #<imm12>}]

In addition T3 zero-extends an imm12 and is incapable of subtraction.  T4 has a
sign bit.</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>