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/compiler/arm64/instruction-selector-arm64.cc

Issue 444503003: Cleanup V8_TURBOFAN_TARGET definition. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | « no previous file | src/compiler/code-generator.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 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/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace compiler { 10 namespace compiler {
11 11
12 #if V8_TURBOFAN_TARGET
13
14 enum ImmediateMode { 12 enum ImmediateMode {
15 kArithimeticImm, // 12 bit unsigned immediate shifted left 0 or 12 bits 13 kArithimeticImm, // 12 bit unsigned immediate shifted left 0 or 12 bits
16 kShift32Imm, // 0 - 31 14 kShift32Imm, // 0 - 31
17 kShift64Imm, // 0 -63 15 kShift64Imm, // 0 -63
18 kLogical32Imm, 16 kLogical32Imm,
19 kLogical64Imm, 17 kLogical64Imm,
20 kLoadStoreImm, // unsigned 9 bit or signed 7 bit 18 kLoadStoreImm, // unsigned 9 bit or signed 7 bit
21 kNoImmediate 19 kNoImmediate
22 }; 20 };
23 21
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 call_instr->MarkAsControl(); 655 call_instr->MarkAsControl();
658 } 656 }
659 657
660 // Caller clean up of stack for C-style calls. 658 // Caller clean up of stack for C-style calls.
661 if (is_c_frame && aligned_push_count > 0) { 659 if (is_c_frame && aligned_push_count > 0) {
662 DCHECK(deoptimization == NULL && continuation == NULL); 660 DCHECK(deoptimization == NULL && continuation == NULL);
663 Emit(kArm64Drop | MiscField::encode(aligned_push_count), NULL); 661 Emit(kArm64Drop | MiscField::encode(aligned_push_count), NULL);
664 } 662 }
665 } 663 }
666 664
667 #endif // V8_TURBOFAN_TARGET
668
669 } // namespace compiler 665 } // namespace compiler
670 } // namespace internal 666 } // namespace internal
671 } // namespace v8 667 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/code-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698