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

Side by Side Diff: test/unittests/compiler/node-test-utils.h

Issue 677433002: Add floor, ceil, round (truncate) instructions for ia32, x64 (if SSE4.1) and (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix integer overflow. 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
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 #ifndef V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 5 #ifndef V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
6 #define V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 6 #define V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
7 7
8 #include "src/compiler/machine-operator.h" 8 #include "src/compiler/machine-operator.h"
9 #include "src/compiler/machine-type.h" 9 #include "src/compiler/machine-type.h"
10 #include "testing/gmock/include/gmock/gmock.h" 10 #include "testing/gmock/include/gmock/gmock.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher); 133 Matcher<Node*> IsChangeFloat64ToInt32(const Matcher<Node*>& input_matcher);
134 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher); 134 Matcher<Node*> IsChangeFloat64ToUint32(const Matcher<Node*>& input_matcher);
135 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher); 135 Matcher<Node*> IsChangeInt32ToFloat64(const Matcher<Node*>& input_matcher);
136 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher); 136 Matcher<Node*> IsChangeInt32ToInt64(const Matcher<Node*>& input_matcher);
137 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher); 137 Matcher<Node*> IsChangeUint32ToFloat64(const Matcher<Node*>& input_matcher);
138 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher); 138 Matcher<Node*> IsChangeUint32ToUint64(const Matcher<Node*>& input_matcher);
139 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher); 139 Matcher<Node*> IsTruncateFloat64ToFloat32(const Matcher<Node*>& input_matcher);
140 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher); 140 Matcher<Node*> IsTruncateFloat64ToInt32(const Matcher<Node*>& input_matcher);
141 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher); 141 Matcher<Node*> IsTruncateInt64ToInt32(const Matcher<Node*>& input_matcher);
142 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher); 142 Matcher<Node*> IsFloat64Sqrt(const Matcher<Node*>& input_matcher);
143 Matcher<Node*> IsFloat64Floor(const Matcher<Node*>& input_matcher);
144 Matcher<Node*> IsFloat64Ceil(const Matcher<Node*>& input_matcher);
145 Matcher<Node*> IsFloat64RoundTruncate(const Matcher<Node*>& input_matcher);
146 Matcher<Node*> IsFloat64RoundTiesAway(const Matcher<Node*>& input_matcher);
143 147
144 } // namespace compiler 148 } // namespace compiler
145 } // namespace internal 149 } // namespace internal
146 } // namespace v8 150 } // namespace v8
147 151
148 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_ 152 #endif // V8_UNITTESTS_COMPILER_NODE_TEST_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698