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

Side by Side Diff: src/compiler/arm64/code-generator-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.cc ('k') | src/compiler/arm64/instruction-selector-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/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"
11 #include "src/compiler/node-properties-inl.h" 11 #include "src/compiler/node-properties-inl.h"
12 #include "src/scopes.h" 12 #include "src/scopes.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 namespace internal { 15 namespace internal {
16 namespace compiler { 16 namespace compiler {
17 17
18 #if V8_TURBOFAN_TARGET
19
18 #define __ masm()-> 20 #define __ masm()->
19 21
20 22
21 // Adds Arm64-specific methods to convert InstructionOperands. 23 // Adds Arm64-specific methods to convert InstructionOperands.
22 class Arm64OperandConverter V8_FINAL : public InstructionOperandConverter { 24 class Arm64OperandConverter V8_FINAL : public InstructionOperandConverter {
23 public: 25 public:
24 Arm64OperandConverter(CodeGenerator* gen, Instruction* instr) 26 Arm64OperandConverter(CodeGenerator* gen, Instruction* instr)
25 : InstructionOperandConverter(gen, instr) {} 27 : InstructionOperandConverter(gen, instr) {}
26 28
27 Register InputRegister32(int index) { 29 Register InputRegister32(int index) {
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 } 845 }
844 Address instr_address = code->instruction_start() + start_pc; 846 Address instr_address = code->instruction_start() + start_pc;
845 847
846 v8::internal::Instruction* instr = 848 v8::internal::Instruction* instr =
847 reinterpret_cast<v8::internal::Instruction*>(instr_address); 849 reinterpret_cast<v8::internal::Instruction*>(instr_address);
848 return instr->IsMovz() && instr->Rd() == xzr.code() && instr->SixtyFourBits(); 850 return instr->IsMovz() && instr->Rd() == xzr.code() && instr->SixtyFourBits();
849 } 851 }
850 852
851 #endif // DEBUG 853 #endif // DEBUG
852 854
855 #endif // V8_TURBOFAN_TARGET
856
853 } // namespace compiler 857 } // namespace compiler
854 } // namespace internal 858 } // namespace internal
855 } // namespace v8 859 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/compiler/arm64/instruction-selector-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698