[cfe-dev] [PATCH 1/2] Add x32 psABI support

Michael Liao michael.liao at intel.com
Thu Jul 5 11:28:44 PDT 2012


- add '-mx32' option
- add linker/gcc-runtime support for x32 psABI

under x86-64 target, based on whether x32 psABI is turned on or off
- populate '_ILP32'/'__ILP32__' or '_LP64/__LP64__'
- set correct widths for data types
- add special handling of sret where pointer types could be packed
  with other 32-bit integer types into a single register
- detect target directly from target arch from target triple instead of
  pointer width

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-start-x32-psABI-support.patch
Type: text/x-patch
Size: 3667 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120705/42b86308/attachment.bin>


More information about the cfe-dev mailing list