mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 15:38:57 +00:00
* Stop ignoring cc registers, since we actually use them in branches.
* Added comment as to why we are still ignoring predict and annul bits. llvm-svn: 6636
This commit is contained in:
parent
9dea456cbd
commit
de307f15d4
@ -63,8 +63,8 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
|
|||||||
for (unsigned i = 0, e = Vals.size(); i != e; ++i) {
|
for (unsigned i = 0, e = Vals.size(); i != e; ++i) {
|
||||||
if (Vals[i].getName() != "Inst" &&
|
if (Vals[i].getName() != "Inst" &&
|
||||||
!Vals[i].getValue()->isComplete() &&
|
!Vals[i].getValue()->isComplete() &&
|
||||||
|
/* ignore annul and predict bits since no one sets them yet */
|
||||||
Vals[i].getName() != "annul" &&
|
Vals[i].getName() != "annul" &&
|
||||||
Vals[i].getName() != "cc" &&
|
|
||||||
Vals[i].getName() != "predict")
|
Vals[i].getName() != "predict")
|
||||||
{
|
{
|
||||||
o << " // op" << op << ": " << Vals[i].getName() << "\n"
|
o << " // op" << op << ": " << Vals[i].getName() << "\n"
|
||||||
@ -105,6 +105,7 @@ void CodeEmitterGen::createEmitter(std::ostream &o) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
// ignore annul and predict bits since no one sets them yet
|
||||||
if (Vals[f].getName() == "annul" || Vals[f].getName() == "predict")
|
if (Vals[f].getName() == "annul" || Vals[f].getName() == "predict")
|
||||||
--Offset;
|
--Offset;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user