summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/add-trick64.ll
Commit message (Collapse)AuthorAgeFilesLines
* consolidate and filecheckize two tests.Chris Lattner2010-02-091-15/+0
| | | | llvm-svn: 95652
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-081-1/+1
| | | | llvm-svn: 81290
* Fun x86 encoding tricks: when adding an immediate value of 128,Dan Gohman2008-10-171-0/+15
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. llvm-svn: 57663
OpenPOWER on IntegriCloud