Index: src/compiler/s390/instruction-selector-s390.cc |
diff --git a/src/compiler/s390/instruction-selector-s390.cc b/src/compiler/s390/instruction-selector-s390.cc |
index 1b1bd2f624d0295072ab7fae6b0df26e83bd13d2..cf4be39a1c78ac783e4beee1f1f15867c9b7baa1 100644 |
--- a/src/compiler/s390/instruction-selector-s390.cc |
+++ b/src/compiler/s390/instruction-selector-s390.cc |
@@ -1202,14 +1202,14 @@ void InstructionSelector::VisitFloat32Sqrt(Node* node) { |
void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, |
InstructionCode opcode) { |
S390OperandGenerator g(this); |
- Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0)) |
+ Emit(opcode, g.DefineAsFixed(node, d1), g.UseFixed(node->InputAt(0), d1)) |
->MarkAsCall(); |
} |
void InstructionSelector::VisitFloat64Ieee754Binop(Node* node, |
InstructionCode opcode) { |
S390OperandGenerator g(this); |
- Emit(opcode, g.DefineAsFixed(node, d0), g.UseFixed(node->InputAt(0), d0), |
+ Emit(opcode, g.DefineAsFixed(node, d1), g.UseFixed(node->InputAt(0), d1), |
g.UseFixed(node->InputAt(1), d2)) |
->MarkAsCall(); |
} |