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

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

Issue 974313002: [turbofan] Support for %_DoubleHi, %_DoubleLo and %_ConstructDouble. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Addressed Svens comment. Created 5 years, 9 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
« no previous file with comments | « test/unittests/compiler/node-test-utils.h ('k') | no next file » | 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/unittests/compiler/node-test-utils.h" 5 #include "test/unittests/compiler/node-test-utils.h"
6 6
7 #include "src/assembler.h" 7 #include "src/assembler.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 #include "src/compiler/simplified-operator.h" 9 #include "src/compiler/simplified-operator.h"
10 #include "src/unique.h" 10 #include "src/unique.h"
(...skipping 1573 matching lines...) Expand 10 before | Expand all | Expand 10 after
1584 IS_BINOP_MATCHER(Word64Equal) 1584 IS_BINOP_MATCHER(Word64Equal)
1585 IS_BINOP_MATCHER(Int32AddWithOverflow) 1585 IS_BINOP_MATCHER(Int32AddWithOverflow)
1586 IS_BINOP_MATCHER(Int32Add) 1586 IS_BINOP_MATCHER(Int32Add)
1587 IS_BINOP_MATCHER(Int32Sub) 1587 IS_BINOP_MATCHER(Int32Sub)
1588 IS_BINOP_MATCHER(Int32Mul) 1588 IS_BINOP_MATCHER(Int32Mul)
1589 IS_BINOP_MATCHER(Int32MulHigh) 1589 IS_BINOP_MATCHER(Int32MulHigh)
1590 IS_BINOP_MATCHER(Int32LessThan) 1590 IS_BINOP_MATCHER(Int32LessThan)
1591 IS_BINOP_MATCHER(Uint32LessThan) 1591 IS_BINOP_MATCHER(Uint32LessThan)
1592 IS_BINOP_MATCHER(Uint32LessThanOrEqual) 1592 IS_BINOP_MATCHER(Uint32LessThanOrEqual)
1593 IS_BINOP_MATCHER(Float64Sub) 1593 IS_BINOP_MATCHER(Float64Sub)
1594 IS_BINOP_MATCHER(Float64InsertLowWord32)
1595 IS_BINOP_MATCHER(Float64InsertHighWord32)
1594 #undef IS_BINOP_MATCHER 1596 #undef IS_BINOP_MATCHER
1595 1597
1596 1598
1597 #define IS_UNOP_MATCHER(Name) \ 1599 #define IS_UNOP_MATCHER(Name) \
1598 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \ 1600 Matcher<Node*> Is##Name(const Matcher<Node*>& input_matcher) { \
1599 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \ 1601 return MakeMatcher(new IsUnopMatcher(IrOpcode::k##Name, input_matcher)); \
1600 } 1602 }
1601 IS_UNOP_MATCHER(AnyToBoolean) 1603 IS_UNOP_MATCHER(AnyToBoolean)
1602 IS_UNOP_MATCHER(BooleanNot) 1604 IS_UNOP_MATCHER(BooleanNot)
1603 IS_UNOP_MATCHER(ChangeFloat64ToInt32) 1605 IS_UNOP_MATCHER(ChangeFloat64ToInt32)
1604 IS_UNOP_MATCHER(ChangeFloat64ToUint32) 1606 IS_UNOP_MATCHER(ChangeFloat64ToUint32)
1605 IS_UNOP_MATCHER(ChangeInt32ToFloat64) 1607 IS_UNOP_MATCHER(ChangeInt32ToFloat64)
1606 IS_UNOP_MATCHER(ChangeInt32ToInt64) 1608 IS_UNOP_MATCHER(ChangeInt32ToInt64)
1607 IS_UNOP_MATCHER(ChangeUint32ToFloat64) 1609 IS_UNOP_MATCHER(ChangeUint32ToFloat64)
1608 IS_UNOP_MATCHER(ChangeUint32ToUint64) 1610 IS_UNOP_MATCHER(ChangeUint32ToUint64)
1609 IS_UNOP_MATCHER(TruncateFloat64ToFloat32) 1611 IS_UNOP_MATCHER(TruncateFloat64ToFloat32)
1610 IS_UNOP_MATCHER(TruncateFloat64ToInt32) 1612 IS_UNOP_MATCHER(TruncateFloat64ToInt32)
1611 IS_UNOP_MATCHER(TruncateInt64ToInt32) 1613 IS_UNOP_MATCHER(TruncateInt64ToInt32)
1612 IS_UNOP_MATCHER(Float64Sqrt) 1614 IS_UNOP_MATCHER(Float64Sqrt)
1613 IS_UNOP_MATCHER(Float64Floor) 1615 IS_UNOP_MATCHER(Float64Floor)
1614 IS_UNOP_MATCHER(Float64Ceil) 1616 IS_UNOP_MATCHER(Float64Ceil)
1615 IS_UNOP_MATCHER(Float64RoundTruncate) 1617 IS_UNOP_MATCHER(Float64RoundTruncate)
1616 IS_UNOP_MATCHER(Float64RoundTiesAway) 1618 IS_UNOP_MATCHER(Float64RoundTiesAway)
1619 IS_UNOP_MATCHER(Float64ExtractLowWord32)
1620 IS_UNOP_MATCHER(Float64ExtractHighWord32)
1617 IS_UNOP_MATCHER(NumberToInt32) 1621 IS_UNOP_MATCHER(NumberToInt32)
1618 IS_UNOP_MATCHER(NumberToUint32) 1622 IS_UNOP_MATCHER(NumberToUint32)
1619 IS_UNOP_MATCHER(ObjectIsSmi) 1623 IS_UNOP_MATCHER(ObjectIsSmi)
1620 IS_UNOP_MATCHER(ObjectIsNonNegativeSmi) 1624 IS_UNOP_MATCHER(ObjectIsNonNegativeSmi)
1621 #undef IS_UNOP_MATCHER 1625 #undef IS_UNOP_MATCHER
1622 1626
1623 } // namespace compiler 1627 } // namespace compiler
1624 } // namespace internal 1628 } // namespace internal
1625 } // namespace v8 1629 } // namespace v8
OLDNEW
« no previous file with comments | « test/unittests/compiler/node-test-utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698