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

Side by Side Diff: src/arm/lithium-arm.h

Issue 63423004: Introduce %_IsMinusZero. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: extended test case Created 7 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 | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 V(CheckInstanceType) \ 65 V(CheckInstanceType) \
66 V(CheckNonSmi) \ 66 V(CheckNonSmi) \
67 V(CheckMaps) \ 67 V(CheckMaps) \
68 V(CheckMapValue) \ 68 V(CheckMapValue) \
69 V(CheckSmi) \ 69 V(CheckSmi) \
70 V(CheckValue) \ 70 V(CheckValue) \
71 V(ClampDToUint8) \ 71 V(ClampDToUint8) \
72 V(ClampIToUint8) \ 72 V(ClampIToUint8) \
73 V(ClampTToUint8) \ 73 V(ClampTToUint8) \
74 V(ClassOfTestAndBranch) \ 74 V(ClassOfTestAndBranch) \
75 V(CompareMinusZeroAndBranch) \
75 V(CompareNumericAndBranch) \ 76 V(CompareNumericAndBranch) \
76 V(CmpObjectEqAndBranch) \ 77 V(CmpObjectEqAndBranch) \
77 V(CmpHoleAndBranch) \ 78 V(CmpHoleAndBranch) \
78 V(CmpMapAndBranch) \ 79 V(CmpMapAndBranch) \
79 V(CmpT) \ 80 V(CmpT) \
80 V(ConstantD) \ 81 V(ConstantD) \
81 V(ConstantE) \ 82 V(ConstantE) \
82 V(ConstantI) \ 83 V(ConstantI) \
83 V(ConstantS) \ 84 V(ConstantS) \
84 V(ConstantT) \ 85 V(ConstantT) \
(...skipping 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
921 inputs_[0] = object; 922 inputs_[0] = object;
922 } 923 }
923 924
924 LOperand* object() { return inputs_[0]; } 925 LOperand* object() { return inputs_[0]; }
925 926
926 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch") 927 DECLARE_CONCRETE_INSTRUCTION(CmpHoleAndBranch, "cmp-hole-and-branch")
927 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch) 928 DECLARE_HYDROGEN_ACCESSOR(CompareHoleAndBranch)
928 }; 929 };
929 930
930 931
932 class LCompareMinusZeroAndBranch V8_FINAL : public LControlInstruction<1, 1> {
933 public:
934 LCompareMinusZeroAndBranch(LOperand* value, LOperand* temp) {
935 inputs_[0] = value;
936 temps_[0] = temp;
937 }
938
939 LOperand* value() { return inputs_[0]; }
940 LOperand* temp() { return temps_[0]; }
941
942 DECLARE_CONCRETE_INSTRUCTION(CompareMinusZeroAndBranch,
943 "cmp-minus-zero-and-branch")
944 DECLARE_HYDROGEN_ACCESSOR(CompareMinusZeroAndBranch)
945 };
946
947
931 class LIsObjectAndBranch V8_FINAL : public LControlInstruction<1, 1> { 948 class LIsObjectAndBranch V8_FINAL : public LControlInstruction<1, 1> {
932 public: 949 public:
933 LIsObjectAndBranch(LOperand* value, LOperand* temp) { 950 LIsObjectAndBranch(LOperand* value, LOperand* temp) {
934 inputs_[0] = value; 951 inputs_[0] = value;
935 temps_[0] = temp; 952 temps_[0] = temp;
936 } 953 }
937 954
938 LOperand* value() { return inputs_[0]; } 955 LOperand* value() { return inputs_[0]; }
939 LOperand* temp() { return temps_[0]; } 956 LOperand* temp() { return temps_[0]; }
940 957
(...skipping 1978 matching lines...) Expand 10 before | Expand all | Expand 10 after
2919 2936
2920 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2937 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2921 }; 2938 };
2922 2939
2923 #undef DECLARE_HYDROGEN_ACCESSOR 2940 #undef DECLARE_HYDROGEN_ACCESSOR
2924 #undef DECLARE_CONCRETE_INSTRUCTION 2941 #undef DECLARE_CONCRETE_INSTRUCTION
2925 2942
2926 } } // namespace v8::internal 2943 } } // namespace v8::internal
2927 2944
2928 #endif // V8_ARM_LITHIUM_ARM_H_ 2945 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698