mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 19:24:33 +00:00
[PowerPC 4/4] Enable little-endian support for VSX.
With the foregoing three patches, VSX instructions can be used for little endian. This patch removes the restriction that prevented this, and re-enables the test cases from the first three patches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -154,13 +154,6 @@ void PPCSubtarget::initSubtargetFeatures(StringRef CPU, StringRef FS) {
|
||||
// Determine endianness.
|
||||
IsLittleEndian = (TargetTriple.getArch() == Triple::ppc64le);
|
||||
|
||||
// FIXME: For now, we disable VSX in little-endian mode until endian
|
||||
// issues in those instructions can be addressed.
|
||||
if (IsLittleEndian) {
|
||||
HasVSX = false;
|
||||
HasP8Vector = false;
|
||||
}
|
||||
|
||||
// Determine default ABI.
|
||||
if (TargetABI == PPC_ABI_UNKNOWN) {
|
||||
if (!isDarwin() && IsPPC64) {
|
||||
|
Reference in New Issue
Block a user