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

Unified Diff: src/IceAssemblerX8664.h

Issue 1202533003: Extracts an TargetX86Base target which will be used as the common X86{32,64} implementation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Makefile.standalone ('k') | src/IceInst.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceAssemblerX8664.h
diff --git a/src/IceAssemblerX8664.h b/src/IceAssemblerX8664.h
new file mode 100644
index 0000000000000000000000000000000000000000..3ed52a88c6d5bd307b72e469f3a646a7954ac95a
--- /dev/null
+++ b/src/IceAssemblerX8664.h
@@ -0,0 +1,63 @@
+//===- subzero/src/IceAssemberX8664.h - Assembler for x86-64 ----*- C++ -*-===//
+//
+// The Subzero Code Generator
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements the Assembler class for x86-64.h.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef SUBZERO_SRC_ICEASSEMBLERX8664_H
+#define SUBZERO_SRC_ICEASSEMBLERX8664_H
+
+#include "IceAssembler.h"
+
+namespace Ice {
+namespace X8664 {
+
+class AssemblerX8664 final : public Assembler {
+ AssemblerX8664(const AssemblerX8664 &) = delete;
+ AssemblerX8664 &operator=(const AssemblerX8664 &) = delete;
+
+public:
+ explicit AssemblerX8664(bool use_far_branches = false) : Assembler() {
+ llvm::report_fatal_error("Not yet implemented");
+ }
+
+ void alignFunction() override {
+ llvm::report_fatal_error("Not yet implemented");
+ }
+
+ void padWithNop(intptr_t Padding) override {
+ llvm::report_fatal_error("Not yet implemented");
+ }
+
+ SizeT getBundleAlignLog2Bytes() const override {
+ llvm::report_fatal_error("Not yet implemented");
+ }
+
+ const char *getNonExecPadDirective() const override {
+ llvm::report_fatal_error("Not yet implemented");
+ }
+
+ llvm::ArrayRef<uint8_t> getNonExecBundlePadding() const override {
+ llvm::report_fatal_error("Not yet implemented");
+ }
+
+ void bindCfgNodeLabel(SizeT NodeNumber) override {
+ llvm::report_fatal_error("Not yet implemented");
+ }
+
+ bool fixupIsPCRel(FixupKind Kind) const override {
+ llvm::report_fatal_error("Not yet implemented");
+ }
+};
+
+} // end of namespace X8664
+} // end of namespace Ice
+
+#endif // SUBZERO_SRC_ICEASSEMBLERX8664_H
« no previous file with comments | « Makefile.standalone ('k') | src/IceInst.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698