llvm-6502/test
Dan Gohman 63f97201dc Fun x86 encoding tricks: when adding an immediate value of 128,
use a SUB instruction instead of an ADD, because -128 can be
encoded in an 8-bit signed immediate field, while +128 can't be.
This avoids the need for a 32-bit immediate field in this case.

A similar optimization applies to 64-bit adds with 0x80000000,
with the 32-bit signed immediate field.

To support this, teach tablegen how to handle 64-bit constants.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57663 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-17 01:33:43 +00:00
..
Analysis
Archive
Assembler Fix the .ll grammar rules to allow any type before an 'i32', not just an 2008-10-15 06:16:45 +00:00
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
DebugInfo
ExecutionEngine
Feature
FrontendAda
FrontendC new testcase for PR2797 2008-10-14 06:56:04 +00:00
FrontendC++
FrontendFortran
FrontendObjC fix filetype suffix 2008-10-07 06:41:02 +00:00
FrontendObjC++ This is an objective-c test, not an objective-c++ one. 2008-10-06 18:42:48 +00:00
Integer
lib add support for running the test suite with valgrind. to run it just type 'make VG=1', as in clang 2008-10-07 14:48:14 +00:00
Linker Add global variable to test for consistency 2008-10-15 20:22:44 +00:00
LLVMC
Other Testcase for PR2894. 2008-10-15 22:34:34 +00:00
Scripts
TableGen Fun x86 encoding tricks: when adding an immediate value of 128, 2008-10-17 01:33:43 +00:00
Transforms apply Eli's patch for PR2165 and provide a testcase. 2008-10-16 05:26:51 +00:00
Verifier
Makefile add support for running the test suite with valgrind. to run it just type 'make VG=1', as in clang 2008-10-07 14:48:14 +00:00
Makefile.tests
TestRunner.sh