llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc
Justin Hibbits d52990c71b Introduce codegen for the Signal Processing Engine
Summary:
The Signal Processing Engine (SPE) is found on NXP/Freescale e500v1,
e500v2, and several e200 cores.  This adds support targeting the e500v2,
as this is more common than the e500v1, and is in SoCs still on the
market.

This patch is very intrusive because the SPE is binary incompatible with
the traditional FPU.  After discussing with others, the cleanest
solution was to make both SPE and FPU features on top of a base PowerPC
subset, so all FPU instructions are now wrapped with HasFPU predicates.

Supported by this are:
* Code generation following the SPE ABI at the LLVM IR level (calling
conventions)
* Single- and Double-precision math at the level supported by the APU.

Still to do:
* Vector operations
* SPE intrinsics

As this changes the Callee-saved register list order, one test, which
tests the precise generated code, was updated to account for the new
register order.

Reviewed by: nemanjai
Differential Revision: https://reviews.llvm.org/D44830

llvm-svn: 337347
2018-07-18 04:25:10 +00:00
..
CMakeLists.txt
LLVMBuild.txt
PPCAsmBackend.cpp [MC] Pass MCSubtargetInfo to fixupNeedsRelaxation and applyFixup 2018-06-06 09:40:06 +00:00
PPCELFObjectWriter.cpp [PowerPC] Add support for high and higha symbol modifiers on tls modifers. 2018-06-15 19:47:16 +00:00
PPCFixupKinds.h Don't repeat name in comment and format. NFC. 2017-06-28 17:23:13 +00:00
PPCMCAsmInfo.cpp PowerPC: support the separator character in the IAS 2017-10-24 16:19:56 +00:00
PPCMCAsmInfo.h
PPCMCCodeEmitter.cpp Support: Simplify endian stream interface. NFCI. 2018-05-18 19:46:24 +00:00
PPCMCExpr.cpp [PPC64] Support "symbol@high" and "symbol@higha" symbol modifers. 2018-06-15 19:47:11 +00:00
PPCMCExpr.h [PPC64] Support "symbol@high" and "symbol@higha" symbol modifers. 2018-06-15 19:47:11 +00:00
PPCMCTargetDesc.cpp First step towards more human-friendly PPC assembler output: 2017-11-29 23:05:56 +00:00
PPCMCTargetDesc.h MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
PPCMachObjectWriter.cpp MC: Separate creating a generic object writer from creating a target object writer. NFCI. 2018-05-21 19:20:29 +00:00
PPCPredicates.cpp
PPCPredicates.h Introduce codegen for the Signal Processing Engine 2018-07-18 04:25:10 +00:00