summaryrefslogtreecommitdiff
path: root/compiler/GHC/Platform/RISCV64.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Platform/RISCV64.hs')
-rw-r--r--compiler/GHC/Platform/RISCV64.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/compiler/GHC/Platform/RISCV64.hs b/compiler/GHC/Platform/RISCV64.hs
new file mode 100644
index 0000000000..88754d4838
--- /dev/null
+++ b/compiler/GHC/Platform/RISCV64.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE CPP #-}
+
+module GHC.Platform.RISCV64 where
+
+import GHC.Prelude
+
+#define MACHREGS_NO_REGS 0
+#define MACHREGS_riscv64 1
+#include "../../../includes/CodeGen.Platform.hs"
+