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

Side by Side Diff: src/compiler/x64/code-generator-x64.cc

Issue 469213002: [turbofan] Introduce WordRor machine operator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix BUILD.gn Created 6 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 | Annotate | Revision Log
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/x64/instruction-codes-x64.h » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/compiler/code-generator-impl.h" 7 #include "src/compiler/code-generator-impl.h"
8 #include "src/compiler/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
9 #include "src/compiler/node-matchers.h" 9 #include "src/compiler/node-matchers.h"
10 #include "src/compiler/node-properties-inl.h" 10 #include "src/compiler/node-properties-inl.h"
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 break; 363 break;
364 case kX64Shr: 364 case kX64Shr:
365 ASSEMBLE_SHIFT(shrq, 6); 365 ASSEMBLE_SHIFT(shrq, 6);
366 break; 366 break;
367 case kX64Sar32: 367 case kX64Sar32:
368 ASSEMBLE_SHIFT(sarl, 5); 368 ASSEMBLE_SHIFT(sarl, 5);
369 break; 369 break;
370 case kX64Sar: 370 case kX64Sar:
371 ASSEMBLE_SHIFT(sarq, 6); 371 ASSEMBLE_SHIFT(sarq, 6);
372 break; 372 break;
373 case kX64Ror32:
374 ASSEMBLE_SHIFT(rorl, 5);
375 break;
376 case kX64Ror:
377 ASSEMBLE_SHIFT(rorq, 6);
378 break;
373 case kX64Push: { 379 case kX64Push: {
374 RegisterOrOperand input = i.InputRegisterOrOperand(0); 380 RegisterOrOperand input = i.InputRegisterOrOperand(0);
375 if (input.type == kRegister) { 381 if (input.type == kRegister) {
376 __ pushq(input.reg); 382 __ pushq(input.reg);
377 } else { 383 } else {
378 __ pushq(input.operand); 384 __ pushq(input.operand);
379 } 385 }
380 break; 386 break;
381 } 387 }
382 case kX64PushI: 388 case kX64PushI:
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 } 984 }
979 985
980 986
981 void CodeGenerator::AddNopForSmiCodeInlining() { __ nop(); } 987 void CodeGenerator::AddNopForSmiCodeInlining() { __ nop(); }
982 988
983 #undef __ 989 #undef __
984 990
985 } // namespace internal 991 } // namespace internal
986 } // namespace compiler 992 } // namespace compiler
987 } // namespace v8 993 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/x64/instruction-codes-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698