Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(724)

Side by Side Diff: src/ia32/lithium-codegen-ia32.h

Issue 6347007: ARM: Implement Math.abs in lithium code generator for the integer and (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
179 void PopulateDeoptimizationData(Handle<Code> code); 179 void PopulateDeoptimizationData(Handle<Code> code);
180 int DefineDeoptimizationLiteral(Handle<Object> literal); 180 int DefineDeoptimizationLiteral(Handle<Object> literal);
181 181
182 void PopulateDeoptimizationLiteralsWithInlinedFunctions(); 182 void PopulateDeoptimizationLiteralsWithInlinedFunctions();
183 183
184 Register ToRegister(int index) const; 184 Register ToRegister(int index) const;
185 XMMRegister ToDoubleRegister(int index) const; 185 XMMRegister ToDoubleRegister(int index) const;
186 int ToInteger32(LConstantOperand* op) const; 186 int ToInteger32(LConstantOperand* op) 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 private: 275 private:
275 LCodeGen* codegen_; 276 LCodeGen* codegen_;
276 Label entry_; 277 Label entry_;
277 Label exit_; 278 Label exit_;
278 Label* external_exit_; 279 Label* external_exit_;
279 }; 280 };
280 281
281 } } // namespace v8::internal 282 } } // namespace v8::internal
282 283
283 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 284 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698