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

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

Issue 145693002: A64: Implement HRandom. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Next try Created 6 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
« no previous file with comments | « src/a64/lithium-a64.cc ('k') | src/a64/lithium-codegen-a64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 bool is_done() const { return status_ == DONE; } 151 bool is_done() const { return status_ == DONE; }
152 bool is_aborted() const { return status_ == ABORTED; } 152 bool is_aborted() const { return status_ == ABORTED; }
153 153
154 // Return a double scratch register which can be used locally 154 // Return a double scratch register which can be used locally
155 // when generating code for a lithium instruction. 155 // when generating code for a lithium instruction.
156 DoubleRegister double_scratch() { return crankshaft_fp_scratch; } 156 DoubleRegister double_scratch() { return crankshaft_fp_scratch; }
157 157
158 // Deferred code support. 158 // Deferred code support.
159 void DoDeferredNumberTagD(LNumberTagD* instr); 159 void DoDeferredNumberTagD(LNumberTagD* instr);
160 void DoDeferredStackCheck(LStackCheck* instr); 160 void DoDeferredStackCheck(LStackCheck* instr);
161 void DoDeferredRandom(LRandom* instr);
161 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 162 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
162 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 163 void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
163 void DoDeferredMathAbsTagged(LMathAbsTagged* instr, 164 void DoDeferredMathAbsTagged(LMathAbsTagged* instr,
164 Label* exit, 165 Label* exit,
165 Label* allocation_entry); 166 Label* allocation_entry);
166 167
167 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; 168 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 };
168 void DoDeferredNumberTagI(LInstruction* instr, 169 void DoDeferredNumberTagI(LInstruction* instr,
169 LOperand* value, 170 LOperand* value,
170 LOperand* temp1, 171 LOperand* temp1,
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 472
472 protected: 473 protected:
473 MacroAssembler* masm() const { return codegen_->masm(); } 474 MacroAssembler* masm() const { return codegen_->masm(); }
474 475
475 LCodeGen* codegen_; 476 LCodeGen* codegen_;
476 }; 477 };
477 478
478 } } // namespace v8::internal 479 } } // namespace v8::internal
479 480
480 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ 481 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_
OLDNEW
« no previous file with comments | « src/a64/lithium-a64.cc ('k') | src/a64/lithium-codegen-a64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698