mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
No functional changes, comment the fix I just put in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7590 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d7efef9d14
commit
ffaee37556
@ -54,9 +54,8 @@ void CodeEmitterGen::run(std::ostream &o) {
|
||||
std::map<std::string, bool> OpContinuous;
|
||||
for (unsigned i = 0, e = Vals.size(); i != e; ++i) {
|
||||
if (!Vals[i].getPrefix() && !Vals[i].getValue()->isComplete() &&
|
||||
/* ignore annul and predict bits since no one sets them yet */
|
||||
Vals[i].getName() != "annul" && Vals[i].getName() != "predict")
|
||||
{
|
||||
// ignore annul and predict bits since no one sets them yet
|
||||
Vals[i].getName() != "annul" && Vals[i].getName() != "predict") {
|
||||
// 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.
|
||||
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) {
|
||||
o << " // op" << op << ": " << Vals[i].getName() << "\n"
|
||||
<< " int64_t op" << op
|
||||
|
@ -54,9 +54,8 @@ void CodeEmitterGen::run(std::ostream &o) {
|
||||
std::map<std::string, bool> OpContinuous;
|
||||
for (unsigned i = 0, e = Vals.size(); i != e; ++i) {
|
||||
if (!Vals[i].getPrefix() && !Vals[i].getValue()->isComplete() &&
|
||||
/* ignore annul and predict bits since no one sets them yet */
|
||||
Vals[i].getName() != "annul" && Vals[i].getName() != "predict")
|
||||
{
|
||||
// ignore annul and predict bits since no one sets them yet
|
||||
Vals[i].getName() != "annul" && Vals[i].getName() != "predict") {
|
||||
// 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.
|
||||
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) {
|
||||
o << " // op" << op << ": " << Vals[i].getName() << "\n"
|
||||
<< " int64_t op" << op
|
||||
|
Loading…
x
Reference in New Issue
Block a user