summaryrefslogtreecommitdiff
path: root/compiler/nativeGen/PPC/CodeGen.hs
diff options
context:
space:
mode:
authorNikita Karetnikov <nikita@karetnikov.org>2015-10-31 12:27:54 +0100
committerBen Gamari <ben@smart-cactus.org>2015-10-31 16:40:38 +0100
commit8160f42b8dad33e47b4c73ed3f9bf889462e7bfe (patch)
tree0752990875cffaac175c28b3a761b1509862af4b /compiler/nativeGen/PPC/CodeGen.hs
parent62f0fbc943307d8522e6c8333caf37c6569ee873 (diff)
downloadhaskell-8160f42b8dad33e47b4c73ed3f9bf889462e7bfe.tar.gz
Add subWordC# on x86ish
This adds a subWordC# primop which implements subtraction with overflow reporting. Reviewers: tibbe, goldfire, rwbarton, bgamari, austin, hvr Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1334 GHC Trac Issues: #10962
Diffstat (limited to 'compiler/nativeGen/PPC/CodeGen.hs')
-rw-r--r--compiler/nativeGen/PPC/CodeGen.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/nativeGen/PPC/CodeGen.hs b/compiler/nativeGen/PPC/CodeGen.hs
index 379bfe2167..e2d86a93aa 100644
--- a/compiler/nativeGen/PPC/CodeGen.hs
+++ b/compiler/nativeGen/PPC/CodeGen.hs
@@ -1468,6 +1468,7 @@ genCCall' dflags gcp target dest_regs args
MO_U_QuotRem {} -> unsupported
MO_U_QuotRem2 {} -> unsupported
MO_Add2 {} -> unsupported
+ MO_SubWordC {} -> unsupported
MO_AddIntC {} -> unsupported
MO_SubIntC {} -> unsupported
MO_U_Mul2 {} -> unsupported