ARM64: minor corrections for TF.
BUG= R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/462573002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23049 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
8ece310be8
commit
7125d6b643
@ -611,7 +611,6 @@ void CodeGenerator::AssembleArchBoolean(Instruction* instr,
|
|||||||
}
|
}
|
||||||
__ bind(&check);
|
__ bind(&check);
|
||||||
__ Cset(reg, cc);
|
__ Cset(reg, cc);
|
||||||
__ B(&done);
|
|
||||||
__ Bind(&done);
|
__ Bind(&done);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,7 +184,7 @@ void InstructionSelector::VisitLoad(Node* node) {
|
|||||||
if (g.CanBeImmediate(index, kLoadStoreImm)) {
|
if (g.CanBeImmediate(index, kLoadStoreImm)) {
|
||||||
Emit(opcode | AddressingModeField::encode(kMode_MRI), result,
|
Emit(opcode | AddressingModeField::encode(kMode_MRI), result,
|
||||||
g.UseRegister(base), g.UseImmediate(index));
|
g.UseRegister(base), g.UseImmediate(index));
|
||||||
} else if (g.CanBeImmediate(index, kLoadStoreImm)) {
|
} else if (g.CanBeImmediate(base, kLoadStoreImm)) {
|
||||||
Emit(opcode | AddressingModeField::encode(kMode_MRI), result,
|
Emit(opcode | AddressingModeField::encode(kMode_MRI), result,
|
||||||
g.UseRegister(index), g.UseImmediate(base));
|
g.UseRegister(index), g.UseImmediate(base));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user