llvm-6502/test
Mihai Popa 8b36f9e431 Fix Thumb2 aliasing complementary instructions taking modified immediates
There are many Thumb instructions which take 12-bit immediates encoded in a special
8-byte value + 4-byte rotator form. Not all numbers are represented, and it's legal
to transform an assembly instruction to be able to encode the immediate.

For example: AND and BIC are complementary instructions; one can switch the AND
to a BIC as long as the immediate is complemented. 

The intent is to switch one instruction into its complementary one when the immediate
cannot be encoded in the form requested in the original assembly and when the 
complementary immediate is encodable.

The patch addresses two issues:
1. definition of t2SOImmNot immediate - it has to check that the orignal value is
not encoded naturally
2. t2AND and t2BIC instruction aliases which should use the Thumb2 SOImm operand 
rather than the ARM one.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188548 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-16 11:55:44 +00:00
..
Analysis [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Assembler [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Bindings/Ocaml [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Bitcode [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
BugPoint [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
CodeGen [SystemZ] Use SRST to implement strlen and strnlen 2013-08-16 11:41:43 +00:00
DebugInfo [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
ExecutionEngine [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Feature [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
FileCheck [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Instrumentation [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Integer [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
JitListener [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Linker [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
MC Fix Thumb2 aliasing complementary instructions taking modified immediates 2013-08-16 11:55:44 +00:00
Object [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Other [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
TableGen
tools [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Transforms Add missing test for GEP + bitcast transformation 2013-08-16 02:59:17 +00:00
Unit [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 16:22:05 +00:00
Verifier [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
YAMLParser
CMakeLists.txt
lit.cfg [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
lit.site.cfg.in [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 16:22:05 +00:00
Makefile [tests] Remove dead VALGRIND and CLEANED_TESTSUITE makefile variables. 2013-08-08 20:59:27 +00:00
Makefile.tests
TestRunner.sh