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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 bool is_tagged); | 179 bool is_tagged); |
180 void PopulateDeoptimizationData(Handle<Code> code); | 180 void PopulateDeoptimizationData(Handle<Code> code); |
181 int DefineDeoptimizationLiteral(Handle<Object> literal); | 181 int DefineDeoptimizationLiteral(Handle<Object> literal); |
182 | 182 |
183 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); | 183 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); |
184 | 184 |
185 Register ToRegister(int index) const; | 185 Register ToRegister(int index) const; |
186 XMMRegister ToDoubleRegister(int index) const; | 186 XMMRegister ToDoubleRegister(int index) const; |
187 | 187 |
188 // Specific math operations - used from DoUnaryMathOperation. | 188 // Specific math operations - used from DoUnaryMathOperation. |
| 189 void EmitIntegerMathAbs(LUnaryMathOperation* instr); |
189 void DoMathAbs(LUnaryMathOperation* instr); | 190 void DoMathAbs(LUnaryMathOperation* instr); |
190 void DoMathFloor(LUnaryMathOperation* instr); | 191 void DoMathFloor(LUnaryMathOperation* instr); |
191 void DoMathRound(LUnaryMathOperation* instr); | 192 void DoMathRound(LUnaryMathOperation* instr); |
192 void DoMathSqrt(LUnaryMathOperation* instr); | 193 void DoMathSqrt(LUnaryMathOperation* instr); |
193 void DoMathPowHalf(LUnaryMathOperation* instr); | 194 void DoMathPowHalf(LUnaryMathOperation* instr); |
194 void DoMathLog(LUnaryMathOperation* instr); | 195 void DoMathLog(LUnaryMathOperation* instr); |
195 void DoMathCos(LUnaryMathOperation* instr); | 196 void DoMathCos(LUnaryMathOperation* instr); |
196 void DoMathSin(LUnaryMathOperation* instr); | 197 void DoMathSin(LUnaryMathOperation* instr); |
197 | 198 |
198 // Support for recording safepoint and position information. | 199 // Support for recording safepoint and position information. |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 private: | 285 private: |
285 LCodeGen* codegen_; | 286 LCodeGen* codegen_; |
286 Label entry_; | 287 Label entry_; |
287 Label exit_; | 288 Label exit_; |
288 Label* external_exit_; | 289 Label* external_exit_; |
289 }; | 290 }; |
290 | 291 |
291 } } // namespace v8::internal | 292 } } // namespace v8::internal |
292 | 293 |
293 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 294 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |