[llvm-bugs] [Bug 30374] v8.1a CASP accepts register pairs with non-even low register (UNALLOCATED according to spec)

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 17 06:37:05 PDT 2020


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

John Brawn <john.brawn at arm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.brawn at arm.com
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from John Brawn <john.brawn at arm.com> ---
With current trunk, assembling

        .text
        casp x0, x1, x10, x11, [x4]
        casp x1, x0, x10, x11, [x4]     
        casp x0, x1, x11, x10, [x4]

I get

tmp.s:3:14: error: expected first even register of a consecutive same-size
even/odd register pair
        casp x1, x0, x10, x11, [x4]     
             ^
tmp.s:4:22: error: expected first even register of a consecutive same-size
even/odd register pair
        casp x0, x1, x11, x10, [x4]
                     ^
so it looks like we're correctly giving an error here.

-- 
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/20200917/6974d536/attachment.html>


More information about the llvm-bugs mailing list