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

Side by Side Diff: src/x64/assembler-x64.h

Issue 160272: X64: Added inline keyed load/store and a bunch of other missing functions. (Closed)
Patch Set: Addressed review comments, and fixed bugs introduced by updating. Created 11 years, 4 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 | « src/ic.h ('k') | src/x64/assembler-x64.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 285
286 // ----------------------------------------------------------------------------- 286 // -----------------------------------------------------------------------------
287 // Machine instruction Operands 287 // Machine instruction Operands
288 288
289 enum ScaleFactor { 289 enum ScaleFactor {
290 times_1 = 0, 290 times_1 = 0,
291 times_2 = 1, 291 times_2 = 1,
292 times_4 = 2, 292 times_4 = 2,
293 times_8 = 3, 293 times_8 = 3,
294 times_int_size = times_4, 294 times_int_size = times_4,
295 times_half_pointer_size = times_4,
295 times_pointer_size = times_8 296 times_pointer_size = times_8
296 }; 297 };
297 298
298 299
299 class Operand BASE_EMBEDDED { 300 class Operand BASE_EMBEDDED {
300 public: 301 public:
301 // [base + disp/r] 302 // [base + disp/r]
302 Operand(Register base, int32_t disp); 303 Operand(Register base, int32_t disp);
303 304
304 // [base + index*scale + disp/r] 305 // [base + index*scale + disp/r]
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 private: 1212 private:
1212 Assembler* assembler_; 1213 Assembler* assembler_;
1213 #ifdef DEBUG 1214 #ifdef DEBUG
1214 int space_before_; 1215 int space_before_;
1215 #endif 1216 #endif
1216 }; 1217 };
1217 1218
1218 } } // namespace v8::internal 1219 } } // namespace v8::internal
1219 1220
1220 #endif // V8_X64_ASSEMBLER_X64_H_ 1221 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/ic.h ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698