[llvm-bugs] [Bug 13803] llvm-mc treats .n suffix as .w suffix for ADC

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 17 04:22:41 PDT 2015


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

John Brawn <john.brawn.123 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |john.brawn.123 at gmail.com
         Resolution|INVALID                     |---

--- Comment #2 from John Brawn <john.brawn.123 at gmail.com> ---
The syntax for encoding T1 is ADC{S}<c>.W, but the assembler syntax for ADC
(immediate) is

  ADC{S}{<c>}{<q>} {<Rd>,} <Rn>, #<const>

where <q> is .N or .W (page A8-301 of the ARMv7-A/R ARMARM revision C.c).

In the ARMARM the .W suffix is listed in the encoding if it's necessary to
distinguish it from other encodings, but in the assembly syntax it's permitted
even when it's not needed to distinguish between encodings (see section A8.2
"Standard assembler syntax fields").

-- 
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/20150817/3abda4d6/attachment.html>


More information about the llvm-bugs mailing list