| OLD | NEW | 
|     1 // Copyright 2014 the V8 project authors. All rights reserved. |     1 // Copyright 2014 the V8 project authors. All rights reserved. | 
|     2 // Use of this source code is governed by a BSD-style license that can be |     2 // Use of this source code is governed by a BSD-style license that can be | 
|     3 // found in the LICENSE file. |     3 // found in the LICENSE file. | 
|     4  |     4  | 
|     5 #include "src/base/adapters.h" |     5 #include "src/base/adapters.h" | 
|     6 #include "src/compiler/instruction-selector-impl.h" |     6 #include "src/compiler/instruction-selector-impl.h" | 
|     7 #include "src/compiler/node-matchers.h" |     7 #include "src/compiler/node-matchers.h" | 
|     8 #include "src/compiler/node-properties.h" |     8 #include "src/compiler/node-properties.h" | 
|     9  |     9  | 
|    10 namespace v8 { |    10 namespace v8 { | 
| (...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   573  |   573  | 
|   574   InstructionOperand outputs[] = { |   574   InstructionOperand outputs[] = { | 
|   575       g.DefineSameAsFirst(node), |   575       g.DefineSameAsFirst(node), | 
|   576       g.DefineAsRegister(NodeProperties::FindProjection(node, 1))}; |   576       g.DefineAsRegister(NodeProperties::FindProjection(node, 1))}; | 
|   577  |   577  | 
|   578   InstructionOperand temps[] = {g.TempRegister()}; |   578   InstructionOperand temps[] = {g.TempRegister()}; | 
|   579  |   579  | 
|   580   Emit(kX87SubPair, 2, outputs, 4, inputs, 1, temps); |   580   Emit(kX87SubPair, 2, outputs, 4, inputs, 1, temps); | 
|   581 } |   581 } | 
|   582  |   582  | 
 |   583 void InstructionSelector::VisitInt32PairMul(Node* node) { UNIMPLEMENTED(); } | 
 |   584  | 
|   583 void InstructionSelector::VisitWord32PairShl(Node* node) { |   585 void InstructionSelector::VisitWord32PairShl(Node* node) { | 
|   584   X87OperandGenerator g(this); |   586   X87OperandGenerator g(this); | 
|   585  |   587  | 
|   586   Node* shift = node->InputAt(2); |   588   Node* shift = node->InputAt(2); | 
|   587   InstructionOperand shift_operand; |   589   InstructionOperand shift_operand; | 
|   588   if (g.CanBeImmediate(shift)) { |   590   if (g.CanBeImmediate(shift)) { | 
|   589     shift_operand = g.UseImmediate(shift); |   591     shift_operand = g.UseImmediate(shift); | 
|   590   } else { |   592   } else { | 
|   591     shift_operand = g.UseFixed(shift, ecx); |   593     shift_operand = g.UseFixed(shift, ecx); | 
|   592   } |   594   } | 
| (...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1563            MachineOperatorBuilder::kFloat32RoundTruncate | |  1565            MachineOperatorBuilder::kFloat32RoundTruncate | | 
|  1564            MachineOperatorBuilder::kFloat64RoundTruncate | |  1566            MachineOperatorBuilder::kFloat64RoundTruncate | | 
|  1565            MachineOperatorBuilder::kFloat32RoundTiesEven | |  1567            MachineOperatorBuilder::kFloat32RoundTiesEven | | 
|  1566            MachineOperatorBuilder::kFloat64RoundTiesEven; |  1568            MachineOperatorBuilder::kFloat64RoundTiesEven; | 
|  1567   return flags; |  1569   return flags; | 
|  1568 } |  1570 } | 
|  1569  |  1571  | 
|  1570 }  // namespace compiler |  1572 }  // namespace compiler | 
|  1571 }  // namespace internal |  1573 }  // namespace internal | 
|  1572 }  // namespace v8 |  1574 }  // namespace v8 | 
| OLD | NEW |