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

Side by Side Diff: src/arm64/disasm-arm64.h

Issue 2819093002: Revert "Reland "ARM64: Add NEON support"" (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « src/arm64/deoptimizer-arm64.cc ('k') | src/arm64/disasm-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 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 #ifndef V8_ARM64_DISASM_ARM64_H 5 #ifndef V8_ARM64_DISASM_ARM64_H
6 #define V8_ARM64_DISASM_ARM64_H 6 #define V8_ARM64_DISASM_ARM64_H
7 7
8 #include "src/arm64/assembler-arm64.h"
9 #include "src/arm64/decoder-arm64.h" 8 #include "src/arm64/decoder-arm64.h"
10 #include "src/arm64/instructions-arm64.h" 9 #include "src/arm64/instructions-arm64.h"
11 #include "src/globals.h" 10 #include "src/globals.h"
12 #include "src/utils.h" 11 #include "src/utils.h"
13 12
14 namespace v8 { 13 namespace v8 {
15 namespace internal { 14 namespace internal {
16 15
17 16
18 class DisassemblingDecoder : public DecoderVisitor { 17 class DisassemblingDecoder : public DecoderVisitor {
19 public: 18 public:
20 DisassemblingDecoder(); 19 DisassemblingDecoder();
21 DisassemblingDecoder(char* text_buffer, int buffer_size); 20 DisassemblingDecoder(char* text_buffer, int buffer_size);
22 virtual ~DisassemblingDecoder(); 21 virtual ~DisassemblingDecoder();
23 char* GetOutput(); 22 char* GetOutput();
24 23
25 // Declare all Visitor functions. 24 // Declare all Visitor functions.
26 #define DECLARE(A) void Visit##A(Instruction* instr); 25 #define DECLARE(A) void Visit##A(Instruction* instr);
27 VISITOR_LIST(DECLARE) 26 VISITOR_LIST(DECLARE)
28 #undef DECLARE 27 #undef DECLARE
29 28
30 protected: 29 protected:
31 virtual void ProcessOutput(Instruction* instr); 30 virtual void ProcessOutput(Instruction* instr);
32 31
33 // Default output functions. The functions below implement a default way of
34 // printing elements in the disassembly. A sub-class can override these to
35 // customize the disassembly output.
36
37 // Prints the name of a register.
38 virtual void AppendRegisterNameToOutput(const CPURegister& reg);
39
40 void Format(Instruction* instr, const char* mnemonic, const char* format); 32 void Format(Instruction* instr, const char* mnemonic, const char* format);
41 void Substitute(Instruction* instr, const char* string); 33 void Substitute(Instruction* instr, const char* string);
42 int SubstituteField(Instruction* instr, const char* format); 34 int SubstituteField(Instruction* instr, const char* format);
43 int SubstituteRegisterField(Instruction* instr, const char* format); 35 int SubstituteRegisterField(Instruction* instr, const char* format);
44 int SubstituteImmediateField(Instruction* instr, const char* format); 36 int SubstituteImmediateField(Instruction* instr, const char* format);
45 int SubstituteLiteralField(Instruction* instr, const char* format); 37 int SubstituteLiteralField(Instruction* instr, const char* format);
46 int SubstituteBitfieldImmediateField(Instruction* instr, const char* format); 38 int SubstituteBitfieldImmediateField(Instruction* instr, const char* format);
47 int SubstituteShiftField(Instruction* instr, const char* format); 39 int SubstituteShiftField(Instruction* instr, const char* format);
48 int SubstituteExtendField(Instruction* instr, const char* format); 40 int SubstituteExtendField(Instruction* instr, const char* format);
49 int SubstituteConditionField(Instruction* instr, const char* format); 41 int SubstituteConditionField(Instruction* instr, const char* format);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 82
91 private: 83 private:
92 FILE *stream_; 84 FILE *stream_;
93 }; 85 };
94 86
95 87
96 } // namespace internal 88 } // namespace internal
97 } // namespace v8 89 } // namespace v8
98 90
99 #endif // V8_ARM64_DISASM_ARM64_H 91 #endif // V8_ARM64_DISASM_ARM64_H
OLDNEW
« no previous file with comments | « src/arm64/deoptimizer-arm64.cc ('k') | src/arm64/disasm-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698