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

Side by Side Diff: test/cctest/compiler/test-machine-operator-reducer.cc

Issue 714613002: Fix bugs in simplified lowering relating to int32/uint32 signs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | « test/cctest/compiler/test-js-typed-lowering.cc ('k') | test/cctest/compiler/test-schedule.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 "test/cctest/cctest.h" 5 #include "test/cctest/cctest.h"
6 6
7 #include "src/base/utils/random-number-generator.h" 7 #include "src/base/utils/random-number-generator.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/compiler/graph-inl.h" 9 #include "src/compiler/graph-inl.h"
10 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 return OpParameter<double>(op); 49 return OpParameter<double>(op);
50 } 50 }
51 51
52 52
53 class ReducerTester : public HandleAndZoneScope { 53 class ReducerTester : public HandleAndZoneScope {
54 public: 54 public:
55 explicit ReducerTester(int num_parameters = 0) 55 explicit ReducerTester(int num_parameters = 0)
56 : isolate(main_isolate()), 56 : isolate(main_isolate()),
57 binop(NULL), 57 binop(NULL),
58 unop(NULL), 58 unop(NULL),
59 machine(main_zone()),
59 common(main_zone()), 60 common(main_zone()),
60 graph(main_zone()), 61 graph(main_zone()),
61 javascript(main_zone()), 62 javascript(main_zone()),
62 typer(&graph, MaybeHandle<Context>()), 63 typer(&graph, MaybeHandle<Context>()),
63 jsgraph(&graph, &common, &javascript, &machine), 64 jsgraph(&graph, &common, &javascript, &machine),
64 maxuint32(Constant<int32_t>(kMaxUInt32)) { 65 maxuint32(Constant<int32_t>(kMaxUInt32)) {
65 Node* s = graph.NewNode(common.Start(num_parameters)); 66 Node* s = graph.NewNode(common.Start(num_parameters));
66 graph.SetStart(s); 67 graph.SetStart(s);
67 } 68 }
68 69
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 // TODO(titzer): test MachineOperatorReducer for Int64Mul 833 // TODO(titzer): test MachineOperatorReducer for Int64Mul
833 // TODO(titzer): test MachineOperatorReducer for Int64UMul 834 // TODO(titzer): test MachineOperatorReducer for Int64UMul
834 // TODO(titzer): test MachineOperatorReducer for Int64Div 835 // TODO(titzer): test MachineOperatorReducer for Int64Div
835 // TODO(titzer): test MachineOperatorReducer for Uint64Div 836 // TODO(titzer): test MachineOperatorReducer for Uint64Div
836 // TODO(titzer): test MachineOperatorReducer for Int64Mod 837 // TODO(titzer): test MachineOperatorReducer for Int64Mod
837 // TODO(titzer): test MachineOperatorReducer for Uint64Mod 838 // TODO(titzer): test MachineOperatorReducer for Uint64Mod
838 // TODO(titzer): test MachineOperatorReducer for Int64Neg 839 // TODO(titzer): test MachineOperatorReducer for Int64Neg
839 // TODO(titzer): test MachineOperatorReducer for ChangeInt32ToFloat64 840 // TODO(titzer): test MachineOperatorReducer for ChangeInt32ToFloat64
840 // TODO(titzer): test MachineOperatorReducer for ChangeFloat64ToInt32 841 // TODO(titzer): test MachineOperatorReducer for ChangeFloat64ToInt32
841 // TODO(titzer): test MachineOperatorReducer for Float64Compare 842 // TODO(titzer): test MachineOperatorReducer for Float64Compare
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-js-typed-lowering.cc ('k') | test/cctest/compiler/test-schedule.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698