OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 | 222 |
223 // Specific math operations - used from DoUnaryMathOperation. | 223 // Specific math operations - used from DoUnaryMathOperation. |
224 void EmitIntegerMathAbs(LUnaryMathOperation* instr); | 224 void EmitIntegerMathAbs(LUnaryMathOperation* instr); |
225 void DoMathAbs(LUnaryMathOperation* instr); | 225 void DoMathAbs(LUnaryMathOperation* instr); |
226 void EmitVFPTruncate(VFPRoundingMode rounding_mode, | 226 void EmitVFPTruncate(VFPRoundingMode rounding_mode, |
227 SwVfpRegister result, | 227 SwVfpRegister result, |
228 DwVfpRegister double_input, | 228 DwVfpRegister double_input, |
229 Register scratch1, | 229 Register scratch1, |
230 Register scratch2); | 230 Register scratch2); |
231 void DoMathFloor(LUnaryMathOperation* instr); | 231 void DoMathFloor(LUnaryMathOperation* instr); |
| 232 void DoMathRound(LUnaryMathOperation* instr); |
232 void DoMathSqrt(LUnaryMathOperation* instr); | 233 void DoMathSqrt(LUnaryMathOperation* instr); |
233 | 234 |
234 // Support for recording safepoint and position information. | 235 // Support for recording safepoint and position information. |
235 void RecordSafepoint(LPointerMap* pointers, | 236 void RecordSafepoint(LPointerMap* pointers, |
236 Safepoint::Kind kind, | 237 Safepoint::Kind kind, |
237 int arguments, | 238 int arguments, |
238 int deoptimization_index); | 239 int deoptimization_index); |
239 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); | 240 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); |
240 void RecordSafepointWithRegisters(LPointerMap* pointers, | 241 void RecordSafepointWithRegisters(LPointerMap* pointers, |
241 int arguments, | 242 int arguments, |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 private: | 324 private: |
324 LCodeGen* codegen_; | 325 LCodeGen* codegen_; |
325 Label entry_; | 326 Label entry_; |
326 Label exit_; | 327 Label exit_; |
327 Label* external_exit_; | 328 Label* external_exit_; |
328 }; | 329 }; |
329 | 330 |
330 } } // namespace v8::internal | 331 } } // namespace v8::internal |
331 | 332 |
332 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 333 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |