OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 XMMRegister ToDoubleRegister(LOperand* op) const; | 168 XMMRegister ToDoubleRegister(LOperand* op) const; |
169 int ToInteger32(LConstantOperand* op) const; | 169 int ToInteger32(LConstantOperand* op) const; |
170 Operand ToOperand(LOperand* op) const; | 170 Operand ToOperand(LOperand* op) const; |
171 Immediate ToImmediate(LOperand* op); | 171 Immediate ToImmediate(LOperand* op); |
172 | 172 |
173 // Specific math operations - used from DoUnaryMathOperation. | 173 // Specific math operations - used from DoUnaryMathOperation. |
174 void DoMathAbs(LUnaryMathOperation* instr); | 174 void DoMathAbs(LUnaryMathOperation* instr); |
175 void DoMathFloor(LUnaryMathOperation* instr); | 175 void DoMathFloor(LUnaryMathOperation* instr); |
176 void DoMathRound(LUnaryMathOperation* instr); | 176 void DoMathRound(LUnaryMathOperation* instr); |
177 void DoMathSqrt(LUnaryMathOperation* instr); | 177 void DoMathSqrt(LUnaryMathOperation* instr); |
178 void DoMathPowHalf(LUnaryMathOperation* instr); | |
179 | 178 |
180 // Support for recording safepoint and position information. | 179 // Support for recording safepoint and position information. |
181 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); | 180 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); |
182 void RecordSafepointWithRegisters(LPointerMap* pointers, | 181 void RecordSafepointWithRegisters(LPointerMap* pointers, |
183 int arguments, | 182 int arguments, |
184 int deoptimization_index); | 183 int deoptimization_index); |
185 void RecordPosition(int position); | 184 void RecordPosition(int position); |
186 | 185 |
187 static Condition TokenToCondition(Token::Value op, bool is_unsigned); | 186 static Condition TokenToCondition(Token::Value op, bool is_unsigned); |
188 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); | 187 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 private: | 243 private: |
245 LCodeGen* codegen_; | 244 LCodeGen* codegen_; |
246 Label entry_; | 245 Label entry_; |
247 Label exit_; | 246 Label exit_; |
248 Label* external_exit_; | 247 Label* external_exit_; |
249 }; | 248 }; |
250 | 249 |
251 } } // namespace v8::internal | 250 } } // namespace v8::internal |
252 | 251 |
253 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 252 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |