[PATCH] Fix Thumb2 CPS syntax

Mihail Popa mihail.popa at gmail.com
Fri Aug 9 02:16:48 PDT 2013


Hi. Please review the attached patch.

This fixes the Thumb2 CPS assembly syntax.
In Thumb1, only one variant is supported: CPS{effect} {flags}

Thumb2 supports three:
CPS{effect}.W {flags}
CPS{effect} {flags} {mode}
CPS {mode}

Canonically, .W should be used only when ambiguity is present between
encodings of different width.
The wide suffix is still accepted for the latter two forms via aliases.

Regards,
Mihai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130809/0f3260ad/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LLVM-824.t2cps.patch
Type: application/octet-stream
Size: 3953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130809/0f3260ad/attachment.obj>


More information about the llvm-commits mailing list