OLD | NEW |
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 2674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2685 // Declare methods that deal with the individual node types. | 2685 // Declare methods that deal with the individual node types. |
2686 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); | 2686 #define DECLARE_DO(type) LInstruction* Do##type(H##type* node); |
2687 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 2687 HYDROGEN_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
2688 #undef DECLARE_DO | 2688 #undef DECLARE_DO |
2689 | 2689 |
2690 LInstruction* DoMultiplyAdd(HMul* mul, HValue* addend); | 2690 LInstruction* DoMultiplyAdd(HMul* mul, HValue* addend); |
2691 LInstruction* DoMultiplySub(HValue* minuend, HMul* mul); | 2691 LInstruction* DoMultiplySub(HValue* minuend, HMul* mul); |
2692 LInstruction* DoRSub(HSub* instr); | 2692 LInstruction* DoRSub(HSub* instr); |
2693 | 2693 |
2694 static bool HasMagicNumberForDivisor(int32_t divisor); | 2694 static bool HasMagicNumberForDivisor(int32_t divisor); |
2695 static HValue* SimplifiedDividendForMathFloorOfDiv(HValue* val); | |
2696 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); | 2695 static HValue* SimplifiedDivisorForMathFloorOfDiv(HValue* val); |
2697 | 2696 |
2698 LInstruction* DoMathFloor(HUnaryMathOperation* instr); | 2697 LInstruction* DoMathFloor(HUnaryMathOperation* instr); |
2699 LInstruction* DoMathRound(HUnaryMathOperation* instr); | 2698 LInstruction* DoMathRound(HUnaryMathOperation* instr); |
2700 LInstruction* DoMathAbs(HUnaryMathOperation* instr); | 2699 LInstruction* DoMathAbs(HUnaryMathOperation* instr); |
2701 LInstruction* DoMathLog(HUnaryMathOperation* instr); | 2700 LInstruction* DoMathLog(HUnaryMathOperation* instr); |
2702 LInstruction* DoMathSin(HUnaryMathOperation* instr); | 2701 LInstruction* DoMathSin(HUnaryMathOperation* instr); |
2703 LInstruction* DoMathCos(HUnaryMathOperation* instr); | 2702 LInstruction* DoMathCos(HUnaryMathOperation* instr); |
2704 LInstruction* DoMathTan(HUnaryMathOperation* instr); | 2703 LInstruction* DoMathTan(HUnaryMathOperation* instr); |
2705 LInstruction* DoMathExp(HUnaryMathOperation* instr); | 2704 LInstruction* DoMathExp(HUnaryMathOperation* instr); |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2833 | 2832 |
2834 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2833 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2835 }; | 2834 }; |
2836 | 2835 |
2837 #undef DECLARE_HYDROGEN_ACCESSOR | 2836 #undef DECLARE_HYDROGEN_ACCESSOR |
2838 #undef DECLARE_CONCRETE_INSTRUCTION | 2837 #undef DECLARE_CONCRETE_INSTRUCTION |
2839 | 2838 |
2840 } } // namespace v8::internal | 2839 } } // namespace v8::internal |
2841 | 2840 |
2842 #endif // V8_ARM_LITHIUM_ARM_H_ | 2841 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |