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

Side by Side Diff: src/compiler/simplified-lowering.cc

Issue 500343002: [turbofan] Add backend support for load/store float32 values. (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
« no previous file with comments | « src/compiler/machine-type.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/simplified-lowering.h" 5 #include "src/compiler/simplified-lowering.h"
6 6
7 #include <deque> 7 #include <deque>
8 #include <queue> 8 #include <queue>
9 9
10 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // representation changes between uses that demand a particular 47 // representation changes between uses that demand a particular
48 // representation and nodes that produce a different representation. 48 // representation and nodes that produce a different representation.
49 LOWER 49 LOWER
50 }; 50 };
51 51
52 52
53 class RepresentationSelector { 53 class RepresentationSelector {
54 public: 54 public:
55 // Information for each node tracked during the fixpoint. 55 // Information for each node tracked during the fixpoint.
56 struct NodeInfo { 56 struct NodeInfo {
57 MachineTypeUnion use : 14; // Union of all usages for the node. 57 MachineTypeUnion use : 15; // Union of all usages for the node.
58 bool queued : 1; // Bookkeeping for the traversal. 58 bool queued : 1; // Bookkeeping for the traversal.
59 bool visited : 1; // Bookkeeping for the traversal. 59 bool visited : 1; // Bookkeeping for the traversal.
60 MachineTypeUnion output : 14; // Output type of the node. 60 MachineTypeUnion output : 15; // Output type of the node.
61 }; 61 };
62 62
63 RepresentationSelector(JSGraph* jsgraph, Zone* zone, 63 RepresentationSelector(JSGraph* jsgraph, Zone* zone,
64 RepresentationChanger* changer) 64 RepresentationChanger* changer)
65 : jsgraph_(jsgraph), 65 : jsgraph_(jsgraph),
66 count_(jsgraph->graph()->NodeCount()), 66 count_(jsgraph->graph()->NodeCount()),
67 info_(zone->NewArray<NodeInfo>(count_)), 67 info_(zone->NewArray<NodeInfo>(count_)),
68 nodes_(NodeVector::allocator_type(zone)), 68 nodes_(NodeVector::allocator_type(zone)),
69 replacements_(NodeVector::allocator_type(zone)), 69 replacements_(NodeVector::allocator_type(zone)),
70 contains_js_nodes_(false), 70 contains_js_nodes_(false),
(...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 break; 1000 break;
1001 default: 1001 default:
1002 UNREACHABLE(); 1002 UNREACHABLE();
1003 break; 1003 break;
1004 } 1004 }
1005 } 1005 }
1006 1006
1007 } // namespace compiler 1007 } // namespace compiler
1008 } // namespace internal 1008 } // namespace internal
1009 } // namespace v8 1009 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-type.cc ('k') | src/compiler/x64/code-generator-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698