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

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

Issue 181453002: Reset trunk to 3.24.35.4 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 V(LoadFunctionPrototype) \ 119 V(LoadFunctionPrototype) \
120 V(LoadGlobalCell) \ 120 V(LoadGlobalCell) \
121 V(LoadGlobalGeneric) \ 121 V(LoadGlobalGeneric) \
122 V(LoadKeyed) \ 122 V(LoadKeyed) \
123 V(LoadKeyedGeneric) \ 123 V(LoadKeyedGeneric) \
124 V(LoadNamedField) \ 124 V(LoadNamedField) \
125 V(LoadNamedGeneric) \ 125 V(LoadNamedGeneric) \
126 V(LoadRoot) \ 126 V(LoadRoot) \
127 V(MapEnumLength) \ 127 V(MapEnumLength) \
128 V(MathAbs) \ 128 V(MathAbs) \
129 V(MathClz32) \
130 V(MathExp) \ 129 V(MathExp) \
131 V(MathFloor) \ 130 V(MathFloor) \
132 V(MathFloorOfDiv) \ 131 V(MathFloorOfDiv) \
133 V(MathLog) \ 132 V(MathLog) \
134 V(MathMinMax) \ 133 V(MathMinMax) \
135 V(MathPowHalf) \ 134 V(MathPowHalf) \
136 V(MathRound) \ 135 V(MathRound) \
137 V(MathSqrt) \ 136 V(MathSqrt) \
138 V(ModI) \ 137 V(ModI) \
139 V(MulI) \ 138 V(MulI) \
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 explicit LMathLog(LOperand* value) { 775 explicit LMathLog(LOperand* value) {
777 inputs_[0] = value; 776 inputs_[0] = value;
778 } 777 }
779 778
780 LOperand* value() { return inputs_[0]; } 779 LOperand* value() { return inputs_[0]; }
781 780
782 DECLARE_CONCRETE_INSTRUCTION(MathLog, "math-log") 781 DECLARE_CONCRETE_INSTRUCTION(MathLog, "math-log")
783 }; 782 };
784 783
785 784
786 class LMathClz32 V8_FINAL : public LTemplateInstruction<1, 1, 0> {
787 public:
788 explicit LMathClz32(LOperand* value) {
789 inputs_[0] = value;
790 }
791
792 LOperand* value() { return inputs_[0]; }
793
794 DECLARE_CONCRETE_INSTRUCTION(MathClz32, "math-clz32")
795 };
796
797
798 class LMathExp V8_FINAL : public LTemplateInstruction<1, 1, 2> { 785 class LMathExp V8_FINAL : public LTemplateInstruction<1, 1, 2> {
799 public: 786 public:
800 LMathExp(LOperand* value, 787 LMathExp(LOperand* value,
801 LOperand* temp1, 788 LOperand* temp1,
802 LOperand* temp2) { 789 LOperand* temp2) {
803 inputs_[0] = value; 790 inputs_[0] = value;
804 temps_[0] = temp1; 791 temps_[0] = temp1;
805 temps_[1] = temp2; 792 temps_[1] = temp2;
806 ExternalReference::InitializeMathExpData(); 793 ExternalReference::InitializeMathExpData();
807 } 794 }
(...skipping 1810 matching lines...) Expand 10 before | Expand all | Expand 10 after
2618 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 2605 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
2619 #undef DECLARE_DO 2606 #undef DECLARE_DO
2620 2607
2621 LInstruction* DoMathFloor(HUnaryMathOperation* instr); 2608 LInstruction* DoMathFloor(HUnaryMathOperation* instr);
2622 LInstruction* DoMathRound(HUnaryMathOperation* instr); 2609 LInstruction* DoMathRound(HUnaryMathOperation* instr);
2623 LInstruction* DoMathAbs(HUnaryMathOperation* instr); 2610 LInstruction* DoMathAbs(HUnaryMathOperation* instr);
2624 LInstruction* DoMathLog(HUnaryMathOperation* instr); 2611 LInstruction* DoMathLog(HUnaryMathOperation* instr);
2625 LInstruction* DoMathExp(HUnaryMathOperation* instr); 2612 LInstruction* DoMathExp(HUnaryMathOperation* instr);
2626 LInstruction* DoMathSqrt(HUnaryMathOperation* instr); 2613 LInstruction* DoMathSqrt(HUnaryMathOperation* instr);
2627 LInstruction* DoMathPowHalf(HUnaryMathOperation* instr); 2614 LInstruction* DoMathPowHalf(HUnaryMathOperation* instr);
2628 LInstruction* DoMathClz32(HUnaryMathOperation* instr);
2629 2615
2630 private: 2616 private:
2631 enum Status { 2617 enum Status {
2632 UNUSED, 2618 UNUSED,
2633 BUILDING, 2619 BUILDING,
2634 DONE, 2620 DONE,
2635 ABORTED 2621 ABORTED
2636 }; 2622 };
2637 2623
2638 LPlatformChunk* chunk() const { return chunk_; } 2624 LPlatformChunk* chunk() const { return chunk_; }
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
2755 2741
2756 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2742 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2757 }; 2743 };
2758 2744
2759 #undef DECLARE_HYDROGEN_ACCESSOR 2745 #undef DECLARE_HYDROGEN_ACCESSOR
2760 #undef DECLARE_CONCRETE_INSTRUCTION 2746 #undef DECLARE_CONCRETE_INSTRUCTION
2761 2747
2762 } } // namespace v8::internal 2748 } } // namespace v8::internal
2763 2749
2764 #endif // V8_IA32_LITHIUM_IA32_H_ 2750 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698