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

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

Issue 11299328: Implement basic array prefetching hints in Hydrogen. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years 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/hydrogen-instructions.cc ('k') | src/ia32/lithium-codegen-ia32.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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 XMMRegister ToDoubleRegister(int index) const; 254 XMMRegister ToDoubleRegister(int index) const;
255 int ToInteger32(LConstantOperand* op) const; 255 int ToInteger32(LConstantOperand* op) const;
256 256
257 double ToDouble(LConstantOperand* op) const; 257 double ToDouble(LConstantOperand* op) const;
258 Operand BuildFastArrayOperand(LOperand* elements_pointer, 258 Operand BuildFastArrayOperand(LOperand* elements_pointer,
259 LOperand* key, 259 LOperand* key,
260 Representation key_representation, 260 Representation key_representation,
261 ElementsKind elements_kind, 261 ElementsKind elements_kind,
262 uint32_t offset, 262 uint32_t offset,
263 uint32_t additional_index = 0); 263 uint32_t additional_index = 0);
264 void InsertArrayPrefetch(const Operand& operand,
265 LOperand* prefetch_distance,
266 ElementsKind elements_kind,
267 Register scratch);
264 268
265 // Specific math operations - used from DoUnaryMathOperation. 269 // Specific math operations - used from DoUnaryMathOperation.
266 void EmitIntegerMathAbs(LUnaryMathOperation* instr); 270 void EmitIntegerMathAbs(LUnaryMathOperation* instr);
267 void DoMathAbs(LUnaryMathOperation* instr); 271 void DoMathAbs(LUnaryMathOperation* instr);
268 void DoMathFloor(LUnaryMathOperation* instr); 272 void DoMathFloor(LUnaryMathOperation* instr);
269 void DoMathRound(LUnaryMathOperation* instr); 273 void DoMathRound(LUnaryMathOperation* instr);
270 void DoMathSqrt(LUnaryMathOperation* instr); 274 void DoMathSqrt(LUnaryMathOperation* instr);
271 void DoMathLog(LUnaryMathOperation* instr); 275 void DoMathLog(LUnaryMathOperation* instr);
272 void DoMathTan(LUnaryMathOperation* instr); 276 void DoMathTan(LUnaryMathOperation* instr);
273 void DoMathCos(LUnaryMathOperation* instr); 277 void DoMathCos(LUnaryMathOperation* instr);
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 LCodeGen* codegen_; 435 LCodeGen* codegen_;
432 Label entry_; 436 Label entry_;
433 Label exit_; 437 Label exit_;
434 Label* external_exit_; 438 Label* external_exit_;
435 int instruction_index_; 439 int instruction_index_;
436 }; 440 };
437 441
438 } } // namespace v8::internal 442 } } // namespace v8::internal
439 443
440 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 444 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698