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

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

Issue 6164005: ARM: Implement DoDivI in the lithium code generator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge/benchmarks
Patch Set: Issue numbers for TODOs. 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Try to generate code for the entire chunk, but it may fail if the 64 // Try to generate code for the entire chunk, but it may fail if the
65 // chunk contains constructs we cannot handle. Returns true if the 65 // chunk contains constructs we cannot handle. Returns true if the
66 // code generation attempt succeeded. 66 // code generation attempt succeeded.
67 bool GenerateCode(); 67 bool GenerateCode();
68 68
69 // Finish the code by setting stack height, safepoint, and bailout 69 // Finish the code by setting stack height, safepoint, and bailout
70 // information on it. 70 // information on it.
71 void FinishCode(Handle<Code> code); 71 void FinishCode(Handle<Code> code);
72 72
73 // Deferred code support. 73 // Deferred code support.
74 void DoDeferredDivI(LDivI* instr);
74 void DoDeferredNumberTagD(LNumberTagD* instr); 75 void DoDeferredNumberTagD(LNumberTagD* instr);
75 void DoDeferredNumberTagI(LNumberTagI* instr); 76 void DoDeferredNumberTagI(LNumberTagI* instr);
76 void DoDeferredTaggedToI(LTaggedToI* instr); 77 void DoDeferredTaggedToI(LTaggedToI* instr);
77 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); 78 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr);
78 void DoDeferredStackCheck(LGoto* instr); 79 void DoDeferredStackCheck(LGoto* instr);
79 80
80 // Parallel move support. 81 // Parallel move support.
81 void DoParallelMove(LParallelMove* move); 82 void DoParallelMove(LParallelMove* move);
82 83
83 // Emit frame translation commands for an environment. 84 // Emit frame translation commands for an environment.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // Specific math operations - used from DoUnaryMathOperation. 191 // Specific math operations - used from DoUnaryMathOperation.
191 void DoMathAbs(LUnaryMathOperation* instr); 192 void DoMathAbs(LUnaryMathOperation* instr);
192 void DoMathFloor(LUnaryMathOperation* instr); 193 void DoMathFloor(LUnaryMathOperation* instr);
193 void DoMathSqrt(LUnaryMathOperation* instr); 194 void DoMathSqrt(LUnaryMathOperation* instr);
194 195
195 // Support for recording safepoint and position information. 196 // Support for recording safepoint and position information.
196 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index); 197 void RecordSafepoint(LPointerMap* pointers, int deoptimization_index);
197 void RecordSafepointWithRegisters(LPointerMap* pointers, 198 void RecordSafepointWithRegisters(LPointerMap* pointers,
198 int arguments, 199 int arguments,
199 int deoptimization_index); 200 int deoptimization_index);
201 void RecordSafepointWithRegistersAndDoubles(LPointerMap* pointers,
202 int arguments,
203 int deoptimization_index);
200 void RecordPosition(int position); 204 void RecordPosition(int position);
201 205
202 static Condition TokenToCondition(Token::Value op, bool is_unsigned); 206 static Condition TokenToCondition(Token::Value op, bool is_unsigned);
203 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL); 207 void EmitGoto(int block, LDeferredCode* deferred_stack_check = NULL);
204 void EmitBranch(int left_block, int right_block, Condition cc); 208 void EmitBranch(int left_block, int right_block, Condition cc);
205 void EmitCmpI(LOperand* left, LOperand* right); 209 void EmitCmpI(LOperand* left, LOperand* right);
206 void EmitNumberUntagD(Register input, 210 void EmitNumberUntagD(Register input,
207 DoubleRegister result, 211 DoubleRegister result,
208 LEnvironment* env); 212 LEnvironment* env);
209 213
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 private: 277 private:
274 LCodeGen* codegen_; 278 LCodeGen* codegen_;
275 Label entry_; 279 Label entry_;
276 Label exit_; 280 Label exit_;
277 Label* external_exit_; 281 Label* external_exit_;
278 }; 282 };
279 283
280 } } // namespace v8::internal 284 } } // namespace v8::internal
281 285
282 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ 286 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698