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

Side by Side Diff: src/IceAssemblerX8664.h

Issue 1397933002: Start incorporating the ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nit and add URL. Created 5 years, 2 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/IceAssemblerX8632.h ('k') | src/IceAssemblerX86Base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceAssemblerX8664.h - Assembler for x86-64 ---*- C++ -*-===// 1 //===- subzero/src/IceAssemblerX8664.h - Assembler for x86-64 ---*- C++ -*-===//
2 // 2 //
3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
4 // for details. All rights reserved. Use of this source code is governed by a 4 // for details. All rights reserved. Use of this source code is governed by a
5 // BSD-style license that can be found in the LICENSE file. 5 // BSD-style license that can be found in the LICENSE file.
6 // 6 //
7 // Modified by the Subzero authors. 7 // Modified by the Subzero authors.
8 // 8 //
9 //===----------------------------------------------------------------------===// 9 //===----------------------------------------------------------------------===//
10 // 10 //
(...skipping 27 matching lines...) Expand all
38 namespace X8664 { 38 namespace X8664 {
39 39
40 using Immediate = ::Ice::X86Internal::Immediate; 40 using Immediate = ::Ice::X86Internal::Immediate;
41 using Label = ::Ice::X86Internal::Label; 41 using Label = ::Ice::X86Internal::Label;
42 42
43 class AssemblerX8664 : public X86Internal::AssemblerX86Base<TargetX8664> { 43 class AssemblerX8664 : public X86Internal::AssemblerX86Base<TargetX8664> {
44 AssemblerX8664(const AssemblerX8664 &) = delete; 44 AssemblerX8664(const AssemblerX8664 &) = delete;
45 AssemblerX8664 &operator=(const AssemblerX8664 &) = delete; 45 AssemblerX8664 &operator=(const AssemblerX8664 &) = delete;
46 46
47 public: 47 public:
48 explicit AssemblerX8664(bool use_far_branches = false) 48 explicit AssemblerX8664(GlobalContext *Ctx, bool use_far_branches = false)
49 : X86Internal::AssemblerX86Base<TargetX8664>(Asm_X8664, 49 : X86Internal::AssemblerX86Base<TargetX8664>(Asm_X8664, Ctx,
50 use_far_branches) {} 50 use_far_branches) {}
51 ~AssemblerX8664() override = default; 51 ~AssemblerX8664() override = default;
52 52
53 static bool classof(const Assembler *Asm) { 53 static bool classof(const Assembler *Asm) {
54 return Asm->getKind() == Asm_X8664; 54 return Asm->getKind() == Asm_X8664;
55 } 55 }
56 }; 56 };
57 57
58 } // end of namespace X8664 58 } // end of namespace X8664
59 } // end of namespace Ice 59 } // end of namespace Ice
60 60
61 #endif // SUBZERO_SRC_ICEASSEMBLERX8664_H 61 #endif // SUBZERO_SRC_ICEASSEMBLERX8664_H
OLDNEW
« no previous file with comments | « src/IceAssemblerX8632.h ('k') | src/IceAssemblerX86Base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698