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

Side by Side Diff: test/compiler-unittests/graph-unittest.cc

Issue 484103002: [turbofan] Add TruncateFloat64ToInt32 machine operator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Disable test-run-machops/RunTruncateFloat64ToInt32P on arm64. Created 6 years, 4 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 "test/compiler-unittests/graph-unittest.h" 5 #include "test/compiler-unittests/graph-unittest.h"
6 6
7 #include <ostream> // NOLINT(readability/streams) 7 #include <ostream> // NOLINT(readability/streams)
8 8
9 #include "src/compiler/node-properties-inl.h" 9 #include "src/compiler/node-properties-inl.h"
10 10
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 673
674 674
675 #define IS_UNOP_MATCHER(Name) \ 675 #define IS_UNOP_MATCHER(Name) \
676 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ 676 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \
677 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ 677 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \
678 } 678 }
679 IS_UNOP_MATCHER(ChangeFloat64ToInt32) 679 IS_UNOP_MATCHER(ChangeFloat64ToInt32)
680 IS_UNOP_MATCHER(ChangeInt32ToFloat64) 680 IS_UNOP_MATCHER(ChangeInt32ToFloat64)
681 IS_UNOP_MATCHER(ChangeInt32ToInt64) 681 IS_UNOP_MATCHER(ChangeInt32ToInt64)
682 IS_UNOP_MATCHER(ChangeUint32ToUint64) 682 IS_UNOP_MATCHER(ChangeUint32ToUint64)
683 IS_UNOP_MATCHER(TruncateFloat64ToInt32)
683 IS_UNOP_MATCHER(TruncateInt64ToInt32) 684 IS_UNOP_MATCHER(TruncateInt64ToInt32)
684 #undef IS_UNOP_MATCHER 685 #undef IS_UNOP_MATCHER
685 686
686 } // namespace compiler 687 } // namespace compiler
687 } // namespace internal 688 } // namespace internal
688 } // namespace v8 689 } // namespace v8
OLDNEW
« no previous file with comments | « test/compiler-unittests/graph-unittest.h ('k') | test/compiler-unittests/instruction-selector-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698