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

Unified Diff: src/compiler/ppc/code-generator-ppc.cc

Issue 1360603003: [arm64] Implement Float(32|64)(Min|Max) using fcsel. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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/ppc/code-generator-ppc.cc
diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc
index 3d99b06eb91efb400042fb2f456b1830ab6718f2..46e9b3e62e5f2d8e973cf59625c1629ce439ab0e 100644
--- a/src/compiler/ppc/code-generator-ppc.cc
+++ b/src/compiler/ppc/code-generator-ppc.cc
@@ -31,6 +31,7 @@ class PPCOperandConverter final : public InstructionOperandConverter {
switch (instr_->flags_mode()) {
case kFlags_branch:
case kFlags_set:
+ case kFlags_select:
return SetRC;
case kFlags_none:
return LeaveRC;
@@ -1280,6 +1281,13 @@ void CodeGenerator::AssembleArchBoolean(Instruction* instr,
}
+void CodeGenerator::AssembleArchSelect(Instruction* instr,
+ FlagsCondition condition) {
+ // Unsupported.
+ UNREACHABLE();
+}
+
+
void CodeGenerator::AssembleArchLookupSwitch(Instruction* instr) {
PPCOperandConverter i(this, instr);
Register input = i.InputRegister(0);

Powered by Google App Engine
This is Rietveld 408576698