[PATCH] x32 LEA patterns

David Sehr sehr at google.com
Fri Feb 1 11:06:42 PST 2013


This patch makes two changes relevant to LEA and x32.

1) allows the use of RIP-relative addressing in 32-bit LEA instructions
under x86-64 (ILP32 and LP64)
2) separates the size of address registers in 64-bit LEA instructions from
control by ILP32/LP64.

Tests included.  Please let me know how to proceed.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130201/100e0c6a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x32_lea.patch
Type: application/octet-stream
Size: 4434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130201/100e0c6a/attachment.obj>


More information about the llvm-commits mailing list