forked from OSchip/llvm-project
No functional changes, comment the fix I just put in
llvm-svn: 7590
This commit is contained in:
parent
01349f463c
commit
9c9b4c54fa
|
@ -54,9 +54,8 @@ void CodeEmitterGen::run(std::ostream &o) {
|
||||||
std::map<std::string, bool> OpContinuous;
|
std::map<std::string, bool> OpContinuous;
|
||||||
for (unsigned i = 0, e = Vals.size(); i != e; ++i) {
|
for (unsigned i = 0, e = Vals.size(); i != e; ++i) {
|
||||||
if (!Vals[i].getPrefix() && !Vals[i].getValue()->isComplete() &&
|
if (!Vals[i].getPrefix() && !Vals[i].getValue()->isComplete() &&
|
||||||
/* ignore annul and predict bits since no one sets them yet */
|
// ignore annul and predict bits since no one sets them yet
|
||||||
Vals[i].getName() != "annul" && Vals[i].getName() != "predict")
|
Vals[i].getName() != "annul" && Vals[i].getName() != "predict") {
|
||||||
{
|
|
||||||
// Is the operand continuous? If so, we can just mask and OR it in
|
// Is the operand continuous? If so, we can just mask and OR it in
|
||||||
// instead of doing it bit-by-bit, saving a lot in runtime cost.
|
// instead of doing it bit-by-bit, saving a lot in runtime cost.
|
||||||
const BitsInit *InstInit = BI;
|
const BitsInit *InstInit = BI;
|
||||||
|
@ -112,6 +111,8 @@ void CodeEmitterGen::run(std::ostream &o) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If we have found no bit in "Inst" which comes from this field, then
|
||||||
|
// this is not an operand!!
|
||||||
if (beginBitInInst != -1) {
|
if (beginBitInInst != -1) {
|
||||||
o << " // op" << op << ": " << Vals[i].getName() << "\n"
|
o << " // op" << op << ": " << Vals[i].getName() << "\n"
|
||||||
<< " int64_t op" << op
|
<< " int64_t op" << op
|
||||||
|
|
Loading…
Reference in New Issue