mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 19:02:35 +00:00
Change VFPNeonA8 definition to make the code easier to read.
llvm-svn: 126298
This commit is contained in:
parent
c0c38e8673
commit
98e040ea71
@ -134,7 +134,7 @@ def GenericDomain : Domain<0>;
|
||||
def VFPDomain : Domain<1>; // Instructions in VFP domain only
|
||||
def NeonDomain : Domain<2>; // Instructions in Neon domain only
|
||||
def VFPNeonDomain : Domain<3>; // Instructions in both VFP & Neon domains
|
||||
def VFPNeonA8Domain : Domain<7>; // Instructions in VFP & Neon under A8
|
||||
def VFPNeonA8Domain : Domain<5>; // Instructions in VFP & Neon under A8
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// ARM special operands.
|
||||
|
@ -45,13 +45,8 @@ namespace {
|
||||
}
|
||||
|
||||
static bool inNEONDomain(unsigned Domain, bool isA8) {
|
||||
if (Domain & ARMII::DomainNEON) {
|
||||
// Some instructions only go down NEON pipeline when executed on CortexA8.
|
||||
if (Domain & ARMII::DomainNEONA8)
|
||||
return isA8;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return (Domain & ARMII::DomainNEON) ||
|
||||
(isA8 && (Domain & ARMII::DomainNEONA8));
|
||||
}
|
||||
|
||||
bool NEONMoveFixPass::InsertMoves(MachineBasicBlock &MBB) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user