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

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

Issue 23851028: MIPS: Improve code generation for the HRandom instruction. (Closed) Base URL: https://github.com/v8/v8.git@gbl
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | src/mips/lithium-codegen-mips.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 void DoDeferredNumberTagD(LNumberTagD* instr); 140 void DoDeferredNumberTagD(LNumberTagD* instr);
141 141
142 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; 142 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 };
143 void DoDeferredNumberTagI(LInstruction* instr, 143 void DoDeferredNumberTagI(LInstruction* instr,
144 LOperand* value, 144 LOperand* value,
145 IntegerSignedness signedness); 145 IntegerSignedness signedness);
146 146
147 void DoDeferredTaggedToI(LTaggedToI* instr); 147 void DoDeferredTaggedToI(LTaggedToI* instr);
148 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); 148 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr);
149 void DoDeferredStackCheck(LStackCheck* instr); 149 void DoDeferredStackCheck(LStackCheck* instr);
150 void DoDeferredRandom(LRandom* instr);
151 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); 150 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr);
152 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); 151 void DoDeferredStringCharFromCode(LStringCharFromCode* instr);
153 void DoDeferredAllocate(LAllocate* instr); 152 void DoDeferredAllocate(LAllocate* instr);
154 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, 153 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr,
155 Label* map_check); 154 Label* map_check);
156 155
157 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object); 156 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object);
158 157
159 // Parallel move support. 158 // Parallel move support.
160 void DoParallelMove(LParallelMove* move); 159 void DoParallelMove(LParallelMove* move);
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 LCodeGen* codegen_; 517 LCodeGen* codegen_;
519 Label entry_; 518 Label entry_;
520 Label exit_; 519 Label exit_;
521 Label* external_exit_; 520 Label* external_exit_;
522 int instruction_index_; 521 int instruction_index_;
523 }; 522 };
524 523
525 } } // namespace v8::internal 524 } } // namespace v8::internal
526 525
527 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 526 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698