[PATCH] ARM: fix CPS decoding

Amaury de la Vieuville Amaury.DeLaVieuville at arm.com
Fri Jun 7 07:47:58 PDT 2013


Hi,

This patch fixes the decoding of CPS in some cases where it is ambiguous
with QADD.
CPS is ambiguous with several other instructions, their decoders check
for pred==0xf but do not check the rest of the encoding, we have to
check for this in decodeCPSInstruction().
This is usually done at the call site but I think in this case - as
there are many of them - it is better to do that directly in the decode
method of the instruction. 

Thanks,
Amaury 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cps.diff
Type: application/octet-stream
Size: 4926 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130607/d8b0ea0c/attachment.obj>


More information about the llvm-commits mailing list