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

Side by Side Diff: src/compiler/arm64/code-generator-arm64.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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/arm64/macro-assembler-arm64.h" 7 #include "src/arm64/macro-assembler-arm64.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 break; 261 break;
262 case kArm64Shr32: 262 case kArm64Shr32:
263 ASSEMBLE_SHIFT(Lsr, 32); 263 ASSEMBLE_SHIFT(Lsr, 32);
264 break; 264 break;
265 case kArm64Sar: 265 case kArm64Sar:
266 ASSEMBLE_SHIFT(Asr, 64); 266 ASSEMBLE_SHIFT(Asr, 64);
267 break; 267 break;
268 case kArm64Sar32: 268 case kArm64Sar32:
269 ASSEMBLE_SHIFT(Asr, 32); 269 ASSEMBLE_SHIFT(Asr, 32);
270 break; 270 break;
271 case kArm64Ror:
272 ASSEMBLE_SHIFT(Ror, 64);
273 break;
274 case kArm64Ror32:
275 ASSEMBLE_SHIFT(Ror, 32);
276 break;
271 case kArm64CallCodeObject: { 277 case kArm64CallCodeObject: {
272 if (instr->InputAt(0)->IsImmediate()) { 278 if (instr->InputAt(0)->IsImmediate()) {
273 Handle<Code> code = Handle<Code>::cast(i.InputHeapObject(0)); 279 Handle<Code> code = Handle<Code>::cast(i.InputHeapObject(0));
274 __ Call(code, RelocInfo::CODE_TARGET); 280 __ Call(code, RelocInfo::CODE_TARGET);
275 RecordSafepoint(instr->pointer_map(), Safepoint::kSimple, 0, 281 RecordSafepoint(instr->pointer_map(), Safepoint::kSimple, 0,
276 Safepoint::kNoLazyDeopt); 282 Safepoint::kNoLazyDeopt);
277 } else { 283 } else {
278 Register reg = i.InputRegister(0); 284 Register reg = i.InputRegister(0);
279 int entry = Code::kHeaderSize - kHeapObjectTag; 285 int entry = Code::kHeaderSize - kHeapObjectTag;
280 __ Ldr(reg, MemOperand(reg, entry)); 286 __ Ldr(reg, MemOperand(reg, entry));
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 } 834 }
829 835
830 836
831 void CodeGenerator::AddNopForSmiCodeInlining() { __ movz(xzr, 0); } 837 void CodeGenerator::AddNopForSmiCodeInlining() { __ movz(xzr, 0); }
832 838
833 #undef __ 839 #undef __
834 840
835 } // namespace compiler 841 } // namespace compiler
836 } // namespace internal 842 } // namespace internal
837 } // namespace v8 843 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/instruction-selector-arm.cc ('k') | src/compiler/arm64/instruction-codes-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698