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

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

Issue 2226103002: PPC/s390: Implement VisitFloat32Neg/VisitFloat64Neg and instr lcebr for s390 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/s390/code-generator-s390.cc
diff --git a/src/compiler/s390/code-generator-s390.cc b/src/compiler/s390/code-generator-s390.cc
index 5af45ff2975fa0e37fbbed1c8289f1677bb0cf45..3a092dd287d40e54e447b232ae15c943b661147a 100644
--- a/src/compiler/s390/code-generator-s390.cc
+++ b/src/compiler/s390/code-generator-s390.cc
@@ -1517,6 +1517,9 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
__ fidbra(i.OutputDoubleRegister(), i.InputDoubleRegister(0),
v8::internal::Assembler::FIDBRA_ROUND_TO_NEAREST_AWAY_FROM_0);
break;
+ case kS390_NegFloat:
+ ASSEMBLE_FLOAT_UNOP(lcebr);
+ break;
case kS390_NegDouble:
ASSEMBLE_FLOAT_UNOP(lcdbr);
break;

Powered by Google App Engine
This is Rietveld 408576698