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

Side by Side Diff: src/compiler/arm64/instruction-selector-arm64.cc

Issue 416233003: Extend TF test coverage to unsupported targets. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Properly disabled ARM64 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/arm64/code-generator-arm64.cc ('k') | src/compiler/arm64/linkage-arm64.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
12 enum ImmediateMode { 14 enum ImmediateMode {
13 kArithimeticImm, // 12 bit unsigned immediate shifted left 0 or 12 bits 15 kArithimeticImm, // 12 bit unsigned immediate shifted left 0 or 12 bits
14 kShift32Imm, // 0 - 31 16 kShift32Imm, // 0 - 31
15 kShift64Imm, // 0 -63 17 kShift64Imm, // 0 -63
16 kLogical32Imm, 18 kLogical32Imm,
17 kLogical64Imm, 19 kLogical64Imm,
18 kLoadStoreImm, // unsigned 9 bit or signed 7 bit 20 kLoadStoreImm, // unsigned 9 bit or signed 7 bit
19 kNoImmediate 21 kNoImmediate
20 }; 22 };
21 23
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 call_instr->MarkAsControl(); 653 call_instr->MarkAsControl();
652 } 654 }
653 655
654 // Caller clean up of stack for C-style calls. 656 // Caller clean up of stack for C-style calls.
655 if (is_c_frame && aligned_push_count > 0) { 657 if (is_c_frame && aligned_push_count > 0) {
656 ASSERT(deoptimization == NULL && continuation == NULL); 658 ASSERT(deoptimization == NULL && continuation == NULL);
657 Emit(kArm64Drop | MiscField::encode(aligned_push_count), NULL); 659 Emit(kArm64Drop | MiscField::encode(aligned_push_count), NULL);
658 } 660 }
659 } 661 }
660 662
663 #endif // V8_TURBOFAN_TARGET
664
661 } // namespace compiler 665 } // namespace compiler
662 } // namespace internal 666 } // namespace internal
663 } // namespace v8 667 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/code-generator-arm64.cc ('k') | src/compiler/arm64/linkage-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698