| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 XMMRegister ToDoubleRegister(int index) const; | 267 XMMRegister ToDoubleRegister(int index) const; |
| 268 int ToInteger32(LConstantOperand* op) const; | 268 int ToInteger32(LConstantOperand* op) const; |
| 269 | 269 |
| 270 double ToDouble(LConstantOperand* op) const; | 270 double ToDouble(LConstantOperand* op) const; |
| 271 Operand BuildFastArrayOperand(LOperand* elements_pointer, | 271 Operand BuildFastArrayOperand(LOperand* elements_pointer, |
| 272 LOperand* key, | 272 LOperand* key, |
| 273 Representation key_representation, | 273 Representation key_representation, |
| 274 ElementsKind elements_kind, | 274 ElementsKind elements_kind, |
| 275 uint32_t offset, | 275 uint32_t offset, |
| 276 uint32_t additional_index = 0); | 276 uint32_t additional_index = 0); |
| 277 void InsertArrayPrefetch(const Operand& operand, |
| 278 LOperand* prefetch_distance, |
| 279 ElementsKind elements_kind, |
| 280 Register scratch); |
| 277 | 281 |
| 278 // Specific math operations - used from DoUnaryMathOperation. | 282 // Specific math operations - used from DoUnaryMathOperation. |
| 279 void EmitIntegerMathAbs(LUnaryMathOperation* instr); | 283 void EmitIntegerMathAbs(LUnaryMathOperation* instr); |
| 280 void DoMathAbs(LUnaryMathOperation* instr); | 284 void DoMathAbs(LUnaryMathOperation* instr); |
| 281 void DoMathFloor(LUnaryMathOperation* instr); | 285 void DoMathFloor(LUnaryMathOperation* instr); |
| 282 void DoMathRound(LUnaryMathOperation* instr); | 286 void DoMathRound(LUnaryMathOperation* instr); |
| 283 void DoMathSqrt(LUnaryMathOperation* instr); | 287 void DoMathSqrt(LUnaryMathOperation* instr); |
| 284 void DoMathLog(LUnaryMathOperation* instr); | 288 void DoMathLog(LUnaryMathOperation* instr); |
| 285 void DoMathTan(LUnaryMathOperation* instr); | 289 void DoMathTan(LUnaryMathOperation* instr); |
| 286 void DoMathCos(LUnaryMathOperation* instr); | 290 void DoMathCos(LUnaryMathOperation* instr); |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 LCodeGen* codegen_; | 463 LCodeGen* codegen_; |
| 460 Label entry_; | 464 Label entry_; |
| 461 Label exit_; | 465 Label exit_; |
| 462 Label* external_exit_; | 466 Label* external_exit_; |
| 463 int instruction_index_; | 467 int instruction_index_; |
| 464 }; | 468 }; |
| 465 | 469 |
| 466 } } // namespace v8::internal | 470 } } // namespace v8::internal |
| 467 | 471 |
| 468 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 472 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |