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

Side by Side Diff: src/compiler/instruction-selector.cc

Issue 596703004: [turbofan] Add backend support for float32. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/compiler/instruction-selector.h" 5 #include "src/compiler/instruction-selector.h"
6 6
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties-inl.h" 9 #include "src/compiler/node-properties-inl.h"
10 #include "src/compiler/pipeline.h" 10 #include "src/compiler/pipeline.h"
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 case IrOpcode::kInt64UDiv: 563 case IrOpcode::kInt64UDiv:
564 return VisitInt64UDiv(node); 564 return VisitInt64UDiv(node);
565 case IrOpcode::kInt64Mod: 565 case IrOpcode::kInt64Mod:
566 return VisitInt64Mod(node); 566 return VisitInt64Mod(node);
567 case IrOpcode::kInt64UMod: 567 case IrOpcode::kInt64UMod:
568 return VisitInt64UMod(node); 568 return VisitInt64UMod(node);
569 case IrOpcode::kInt64LessThan: 569 case IrOpcode::kInt64LessThan:
570 return VisitInt64LessThan(node); 570 return VisitInt64LessThan(node);
571 case IrOpcode::kInt64LessThanOrEqual: 571 case IrOpcode::kInt64LessThanOrEqual:
572 return VisitInt64LessThanOrEqual(node); 572 return VisitInt64LessThanOrEqual(node);
573 case IrOpcode::kChangeFloat32ToFloat64:
574 return MarkAsDouble(node), VisitChangeFloat32ToFloat64(node);
573 case IrOpcode::kChangeInt32ToFloat64: 575 case IrOpcode::kChangeInt32ToFloat64:
574 return MarkAsDouble(node), VisitChangeInt32ToFloat64(node); 576 return MarkAsDouble(node), VisitChangeInt32ToFloat64(node);
575 case IrOpcode::kChangeUint32ToFloat64: 577 case IrOpcode::kChangeUint32ToFloat64:
576 return MarkAsDouble(node), VisitChangeUint32ToFloat64(node); 578 return MarkAsDouble(node), VisitChangeUint32ToFloat64(node);
577 case IrOpcode::kChangeFloat64ToInt32: 579 case IrOpcode::kChangeFloat64ToInt32:
578 return VisitChangeFloat64ToInt32(node); 580 return VisitChangeFloat64ToInt32(node);
579 case IrOpcode::kChangeFloat64ToUint32: 581 case IrOpcode::kChangeFloat64ToUint32:
580 return VisitChangeFloat64ToUint32(node); 582 return VisitChangeFloat64ToUint32(node);
581 case IrOpcode::kChangeInt32ToInt64: 583 case IrOpcode::kChangeInt32ToInt64:
582 return VisitChangeInt32ToInt64(node); 584 return VisitChangeInt32ToInt64(node);
583 case IrOpcode::kChangeUint32ToUint64: 585 case IrOpcode::kChangeUint32ToUint64:
584 return VisitChangeUint32ToUint64(node); 586 return VisitChangeUint32ToUint64(node);
587 case IrOpcode::kTruncateFloat64ToFloat32:
588 return MarkAsDouble(node), VisitTruncateFloat64ToFloat32(node);
585 case IrOpcode::kTruncateFloat64ToInt32: 589 case IrOpcode::kTruncateFloat64ToInt32:
586 return VisitTruncateFloat64ToInt32(node); 590 return VisitTruncateFloat64ToInt32(node);
587 case IrOpcode::kTruncateInt64ToInt32: 591 case IrOpcode::kTruncateInt64ToInt32:
588 return VisitTruncateInt64ToInt32(node); 592 return VisitTruncateInt64ToInt32(node);
589 case IrOpcode::kFloat64Add: 593 case IrOpcode::kFloat64Add:
590 return MarkAsDouble(node), VisitFloat64Add(node); 594 return MarkAsDouble(node), VisitFloat64Add(node);
591 case IrOpcode::kFloat64Sub: 595 case IrOpcode::kFloat64Sub:
592 return MarkAsDouble(node), VisitFloat64Sub(node); 596 return MarkAsDouble(node), VisitFloat64Sub(node);
593 case IrOpcode::kFloat64Mul: 597 case IrOpcode::kFloat64Mul:
594 return MarkAsDouble(node), VisitFloat64Mul(node); 598 return MarkAsDouble(node), VisitFloat64Mul(node);
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 1096
1093 1097
1094 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation, 1098 void InstructionSelector::VisitCall(Node* call, BasicBlock* continuation,
1095 BasicBlock* deoptimization) {} 1099 BasicBlock* deoptimization) {}
1096 1100
1097 #endif // !V8_TURBOFAN_BACKEND 1101 #endif // !V8_TURBOFAN_BACKEND
1098 1102
1099 } // namespace compiler 1103 } // namespace compiler
1100 } // namespace internal 1104 } // namespace internal
1101 } // namespace v8 1105 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ia32/instruction-selector-ia32-unittest.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698