diff options
author | James Molloy <james.molloy@arm.com> | 2014-08-01 12:42:11 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2014-08-01 12:42:11 +0000 |
commit | 137ce60ecfe86a6b9b99ccbb42493f4bced7bbcf (patch) | |
tree | aaf203cb869a12e5e78e3e08542f7e5d57bc0eb9 /clang/tools/c-index-test/c-index-test.c | |
parent | d6807dafb3acbc7c48c1020cf028325960997ed1 (diff) | |
download | bcm5719-llvm-137ce60ecfe86a6b9b99ccbb42493f4bced7bbcf.tar.gz bcm5719-llvm-137ce60ecfe86a6b9b99ccbb42493f4bced7bbcf.zip |
Allow only disassembling of M-class MSR masks that the assembler knows how to assemble back.
Note: The current code in DecodeMSRMask() rejects the unpredictable A/R MSR mask '0000' with Fail. The code in the patch follows this style and rejects unpredictable M-class MSR masks also with Fail (instead of SoftFail). If SoftFail is preferred in this case then additional changes to ARMInstPrinter (to print non-symbolic masks) and ARMAsmParser (to parse non-symbolic masks) will be needed.
Patch by Petr Pavlu!
llvm-svn: 214505
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
0 files changed, 0 insertions, 0 deletions