Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Unified Diff: src/compiler/instruction.cc

Issue 2176173003: [Turbofan] Revert FP register aliasing support on Arm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/instruction.h ('k') | src/compiler/move-optimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/instruction.cc
diff --git a/src/compiler/instruction.cc b/src/compiler/instruction.cc
index 567278b44fcf17ab7358503c080debd3cfbfd2e1..af0bdfe374ec4cc26b87da452b8764c295b757d7 100644
--- a/src/compiler/instruction.cc
+++ b/src/compiler/instruction.cc
@@ -65,14 +65,7 @@ FlagsCondition CommuteFlagsCondition(FlagsCondition condition) {
}
bool InstructionOperand::InterferesWith(const InstructionOperand& that) const {
- if (!IsFPRegister() || !that.IsFPRegister() || kSimpleFPAliasing)
- return EqualsCanonicalized(that);
- // Both operands are fp registers and aliasing is non-simple.
- const LocationOperand& loc1 = *LocationOperand::cast(this);
- const LocationOperand& loc2 = LocationOperand::cast(that);
- return GetRegConfig()->AreAliases(loc1.representation(), loc1.register_code(),
- loc2.representation(),
- loc2.register_code());
+ return EqualsCanonicalized(that);
}
void InstructionOperand::Print(const RegisterConfiguration* config) const {
« no previous file with comments | « src/compiler/instruction.h ('k') | src/compiler/move-optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698