mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
[PPC64LE] Temporarily disable VSX support in little-endian mode
This is a preliminary patch for the PowerPC64LE support. In stage 1 of the vector support, we will support the VMX (Altivec) instruction set, but will not yet support the VSX instructions. This is merely a staging issue to provide functional vector support as soon as possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210271 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b49c13cc84
commit
e1e0d4f367
@ -156,6 +156,11 @@ void PPCSubtarget::resetSubtargetFeatures(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;
|
||||
}
|
||||
|
||||
/// hasLazyResolverStub - Return true if accesses to the specified global have
|
||||
|
Loading…
Reference in New Issue
Block a user