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

Side by Side Diff: runtime/vm/constants_dbc.h

Issue 2463593002: VM: Enable branch merging of isnan, isinf. (Closed)
Patch Set: addressed comments Created 4 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
« no previous file with comments | « runtime/vm/branch_optimizer.cc ('k') | runtime/vm/intermediate_language.h » ('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 (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef RUNTIME_VM_CONSTANTS_DBC_H_ 5 #ifndef RUNTIME_VM_CONSTANTS_DBC_H_
6 #define RUNTIME_VM_CONSTANTS_DBC_H_ 6 #define RUNTIME_VM_CONSTANTS_DBC_H_
7 7
8 #include "platform/globals.h" 8 #include "platform/globals.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "platform/utils.h" 10 #include "platform/utils.h"
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 V(DMax, A_B_C, reg, reg, reg) \ 722 V(DMax, A_B_C, reg, reg, reg) \
723 V(DCos, A_D, reg, reg, ___) \ 723 V(DCos, A_D, reg, reg, ___) \
724 V(DSin, A_D, reg, reg, ___) \ 724 V(DSin, A_D, reg, reg, ___) \
725 V(DPow, A_B_C, reg, reg, reg) \ 725 V(DPow, A_B_C, reg, reg, reg) \
726 V(DMod, A_B_C, reg, reg, reg) \ 726 V(DMod, A_B_C, reg, reg, reg) \
727 V(DTruncate, A_D, reg, reg, ___) \ 727 V(DTruncate, A_D, reg, reg, ___) \
728 V(DFloor, A_D, reg, reg, ___) \ 728 V(DFloor, A_D, reg, reg, ___) \
729 V(DCeil, A_D, reg, reg, ___) \ 729 V(DCeil, A_D, reg, reg, ___) \
730 V(DoubleToFloat, A_D, reg, reg, ___) \ 730 V(DoubleToFloat, A_D, reg, reg, ___) \
731 V(FloatToDouble, A_D, reg, reg, ___) \ 731 V(FloatToDouble, A_D, reg, reg, ___) \
732 V(DoubleIsNaN, A_D, reg, reg, ___) \ 732 V(DoubleIsNaN, A, reg, ___, ___) \
733 V(DoubleIsInfinite, A_D, reg, reg, ___) \ 733 V(DoubleIsInfinite, A, reg, ___, ___) \
734 V(StoreStaticTOS, D, lit, ___, ___) \ 734 V(StoreStaticTOS, D, lit, ___, ___) \
735 V(PushStatic, D, lit, ___, ___) \ 735 V(PushStatic, D, lit, ___, ___) \
736 V(InitStaticTOS, 0, ___, ___, ___) \ 736 V(InitStaticTOS, 0, ___, ___, ___) \
737 V(IfNeStrictTOS, 0, ___, ___, ___) \ 737 V(IfNeStrictTOS, 0, ___, ___, ___) \
738 V(IfEqStrictTOS, 0, ___, ___, ___) \ 738 V(IfEqStrictTOS, 0, ___, ___, ___) \
739 V(IfNeStrictNumTOS, 0, ___, ___, ___) \ 739 V(IfNeStrictNumTOS, 0, ___, ___, ___) \
740 V(IfEqStrictNumTOS, 0, ___, ___, ___) \ 740 V(IfEqStrictNumTOS, 0, ___, ___, ___) \
741 V(IfNeStrict, A_D, reg, reg, ___) \ 741 V(IfNeStrict, A_D, reg, reg, ___) \
742 V(IfEqStrict, A_D, reg, reg, ___) \ 742 V(IfEqStrict, A_D, reg, reg, ___) \
743 V(IfLe, A_D, reg, reg, ___) \ 743 V(IfLe, A_D, reg, reg, ___) \
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 960
961 // After a comparison, the condition NEXT_IS_TRUE means the following 961 // After a comparison, the condition NEXT_IS_TRUE means the following
962 // instruction is executed if the comparision is true and skipped over overwise. 962 // instruction is executed if the comparision is true and skipped over overwise.
963 // Conidition NEXT_IS_FALSE means the following instruction is executed if the 963 // Conidition NEXT_IS_FALSE means the following instruction is executed if the
964 // comparison is false and skipped over otherwise. 964 // comparison is false and skipped over otherwise.
965 enum Condition { NEXT_IS_TRUE, NEXT_IS_FALSE }; 965 enum Condition { NEXT_IS_TRUE, NEXT_IS_FALSE };
966 966
967 } // namespace dart 967 } // namespace dart
968 968
969 #endif // RUNTIME_VM_CONSTANTS_DBC_H_ 969 #endif // RUNTIME_VM_CONSTANTS_DBC_H_
OLDNEW
« no previous file with comments | « runtime/vm/branch_optimizer.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698