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

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

Issue 190383002: Handle non-power-of-2 divisors in division-like operations (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 6 years, 9 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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 LOperand* index, 219 LOperand* index,
220 String::Encoding encoding); 220 String::Encoding encoding);
221 void DeoptimizeBranch( 221 void DeoptimizeBranch(
222 LEnvironment* environment, 222 LEnvironment* environment,
223 BranchType branch_type, Register reg = NoReg, int bit = -1, 223 BranchType branch_type, Register reg = NoReg, int bit = -1,
224 Deoptimizer::BailoutType* override_bailout_type = NULL); 224 Deoptimizer::BailoutType* override_bailout_type = NULL);
225 void Deoptimize(LEnvironment* environment, 225 void Deoptimize(LEnvironment* environment,
226 Deoptimizer::BailoutType* override_bailout_type = NULL); 226 Deoptimizer::BailoutType* override_bailout_type = NULL);
227 void DeoptimizeIf(Condition cc, LEnvironment* environment); 227 void DeoptimizeIf(Condition cc, LEnvironment* environment);
228 void DeoptimizeIfZero(Register rt, LEnvironment* environment); 228 void DeoptimizeIfZero(Register rt, LEnvironment* environment);
229 void DeoptimizeIfNotZero(Register rt, LEnvironment* environment);
229 void DeoptimizeIfNegative(Register rt, LEnvironment* environment); 230 void DeoptimizeIfNegative(Register rt, LEnvironment* environment);
230 void DeoptimizeIfSmi(Register rt, LEnvironment* environment); 231 void DeoptimizeIfSmi(Register rt, LEnvironment* environment);
231 void DeoptimizeIfNotSmi(Register rt, LEnvironment* environment); 232 void DeoptimizeIfNotSmi(Register rt, LEnvironment* environment);
232 void DeoptimizeIfRoot(Register rt, 233 void DeoptimizeIfRoot(Register rt,
233 Heap::RootListIndex index, 234 Heap::RootListIndex index,
234 LEnvironment* environment); 235 LEnvironment* environment);
235 void DeoptimizeIfNotRoot(Register rt, 236 void DeoptimizeIfNotRoot(Register rt,
236 Heap::RootListIndex index, 237 Heap::RootListIndex index,
237 LEnvironment* environment); 238 LEnvironment* environment);
238 void ApplyCheckIf(Condition cc, LBoundsCheck* check); 239 void ApplyCheckIf(Condition cc, LBoundsCheck* check);
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 465
465 protected: 466 protected:
466 MacroAssembler* masm() const { return codegen_->masm(); } 467 MacroAssembler* masm() const { return codegen_->masm(); }
467 468
468 LCodeGen* codegen_; 469 LCodeGen* codegen_;
469 }; 470 };
470 471
471 } } // namespace v8::internal 472 } } // namespace v8::internal
472 473
473 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ 474 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698