diff options
| author | Ashok Thirumurthi <ashok.thirumurthi@intel.com> | 2013-04-25 20:12:45 +0000 | 
|---|---|---|
| committer | Ashok Thirumurthi <ashok.thirumurthi@intel.com> | 2013-04-25 20:12:45 +0000 | 
| commit | 999caf900ae84f666eea7ab5813fb1f446a91651 (patch) | |
| tree | 3a6ad8945ed4e7be619c5b64c6877ce94584f8a0 /clang/lib/CodeGen/ModuleBuilder.cpp | |
| parent | 3626b7e451016c72668e278cc4f751b0b91975e2 (diff) | |
| download | llvm-999caf900ae84f666eea7ab5813fb1f446a91651.zip llvm-999caf900ae84f666eea7ab5813fb1f446a91651.tar.gz llvm-999caf900ae84f666eea7ab5813fb1f446a91651.tar.bz2 | |
Adds 64-bit POSIX support for AVX
- Adds unique enums for ymm registers to the ABI and the POSIX register context.
- Reworks the register context data structures to support a union of FXSAVE and XSAVE
--- Allows the same code base to deal with the FPU independent of the availability of AVX.
- Determine if AVX is supported by attempting to read XSAVE using ptrace.
--- Support an extended register set for avx registers if available.
- Provide a mechanism to assemble/parse register halves into a single ymm buffer for use with RegisterValue.
--- Reworked Read/WriteRegister routines to read/write/parse ymm registers.
Adds tests for ymm register write with read-back, and expressions involving ymm registers.
- Tests vary depending on the availability of an avx register set.
Thanks to Daniel and Matt for their reviews.
llvm-svn: 180572
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
