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

Unified Diff: src/compiler/gap-resolver.h

Issue 2410673002: [Turbofan] Add concept of FP register aliasing on ARM 32. (Closed)
Patch Set: Move helper fn / macro into OperandSet class. Created 4 years, 2 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
Index: src/compiler/gap-resolver.h
diff --git a/src/compiler/gap-resolver.h b/src/compiler/gap-resolver.h
index 19806f568a82faf27b5d6e60f12b195d1bed5208..fc48b2b98376fb80ae03935167a476fce52cef29 100644
--- a/src/compiler/gap-resolver.h
+++ b/src/compiler/gap-resolver.h
@@ -26,18 +26,21 @@ class GapResolver final {
InstructionOperand* destination) = 0;
};
- explicit GapResolver(Assembler* assembler) : assembler_(assembler) {}
+ explicit GapResolver(Assembler* assembler)
+ : assembler_(assembler), split_rep_(MachineRepresentation::kSimd128) {}
// Resolve a set of parallel moves, emitting assembler instructions.
- void Resolve(ParallelMove* parallel_move) const;
+ void Resolve(ParallelMove* parallel_move);
private:
- // Perform the given move, possibly requiring other moves to satisfy
- // dependencies.
- void PerformMove(ParallelMove* moves, MoveOperands* move) const;
+ // Performs the given move, possibly performing other moves to unblock the
+ // destination operand.
+ void PerformMove(ParallelMove* moves, MoveOperands* move);
// Assembler used to emit moves and save registers.
Assembler* const assembler_;
+
+ MachineRepresentation split_rep_;
Jarin 2016/10/18 11:44:28 Please, describe what this field means.
bbudge 2016/10/19 00:32:20 Done.
};
} // namespace compiler

Powered by Google App Engine
This is Rietveld 408576698