summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2014-08-01 12:42:11 +0000
committerJames Molloy <james.molloy@arm.com>2014-08-01 12:42:11 +0000
commit137ce60ecfe86a6b9b99ccbb42493f4bced7bbcf (patch)
treeaaf203cb869a12e5e78e3e08542f7e5d57bc0eb9 /clang/tools/c-index-test/c-index-test.c
parentd6807dafb3acbc7c48c1020cf028325960997ed1 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud