summaryrefslogtreecommitdiff
path: root/compiler/cmm/PprC.hs
diff options
context:
space:
mode:
authoralexbiehl <alex.biehl@gmail.com>2017-10-29 20:47:26 -0400
committerBen Gamari <ben@smart-cactus.org>2017-10-29 21:51:00 -0400
commit7673561555ae354fd9eed8de1e57c681906e2d49 (patch)
tree783602c83122f0567c935d9e6f3c85d0b18649ee /compiler/cmm/PprC.hs
parentcecd2f2d708d419878205ddd8b87bba18e6483d9 (diff)
downloadhaskell-7673561555ae354fd9eed8de1e57c681906e2d49.tar.gz
Turn `compareByteArrays#` out-of-line primop into inline primop
Depends on D4090 Reviewers: austin, bgamari, erikd, simonmar, alexbiehl Reviewed By: bgamari Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D4091
Diffstat (limited to 'compiler/cmm/PprC.hs')
-rw-r--r--compiler/cmm/PprC.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/cmm/PprC.hs b/compiler/cmm/PprC.hs
index 0fcadc2bec..1ddd1cd266 100644
--- a/compiler/cmm/PprC.hs
+++ b/compiler/cmm/PprC.hs
@@ -786,6 +786,7 @@ pprCallishMachOp_for_C mop
MO_Memcpy _ -> text "memcpy"
MO_Memset _ -> text "memset"
MO_Memmove _ -> text "memmove"
+ MO_Memcmp _ -> text "memcmp"
(MO_BSwap w) -> ptext (sLit $ bSwapLabel w)
(MO_PopCnt w) -> ptext (sLit $ popCntLabel w)
(MO_Clz w) -> ptext (sLit $ clzLabel w)