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

Side by Side Diff: src/arm/lithium-codegen-arm.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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 // LOperand is loaded into dbl_scratch, unless already a double register. 205 // LOperand is loaded into dbl_scratch, unless already a double register.
206 DoubleRegister EmitLoadDoubleRegister(LOperand* op, 206 DoubleRegister EmitLoadDoubleRegister(LOperand* op,
207 SwVfpRegister flt_scratch, 207 SwVfpRegister flt_scratch,
208 DoubleRegister dbl_scratch); 208 DoubleRegister dbl_scratch);
209 209
210 int ToInteger32(LConstantOperand* op) const; 210 int ToInteger32(LConstantOperand* op) const;
211 Operand ToOperand(LOperand* op); 211 Operand ToOperand(LOperand* op);
212 MemOperand ToMemOperand(LOperand* op) const; 212 MemOperand ToMemOperand(LOperand* op) const;
213 213
214 // Specific math operations - used from DoUnaryMathOperation. 214 // Specific math operations - used from DoUnaryMathOperation.
215 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
215 void DoMathAbs(LUnaryMathOperation* instr); 216 void DoMathAbs(LUnaryMathOperation* instr);
216 void DoMathFloor(LUnaryMathOperation* instr); 217 void DoMathFloor(LUnaryMathOperation* instr);
217 void DoMathSqrt(LUnaryMathOperation* instr); 218 void DoMathSqrt(LUnaryMathOperation* instr);
218 219
219 // Support for recording safepoint and position information. 220 // Support for recording safepoint and position information.
220 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); 221 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index);
221 void RecordSafepointWithRegisters(LPointerMap* pointers, 222 void RecordSafepointWithRegisters(LPointerMap* pointers,
222 int arguments, 223 int arguments,
223 int deoptimization_index); 224 int deoptimization_index);
224 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers, 225 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 private: 301 private:
301 LCodeGen* codegen_; 302 LCodeGen* codegen_;
302 Label entry_; 303 Label entry_;
303 Label exit_; 304 Label exit_;
304 Label* external_exit_; 305 Label* external_exit_;
305 }; 306 };
306 307
307 } } // namespace v8::internal 308 } } // namespace v8::internal
308 309
309 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 310 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698