projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
merge upstream
[ghc-hetmet.git]
/
compiler
/
cmm
/
CmmMachOp.hs
diff --git
a/compiler/cmm/CmmMachOp.hs
b/compiler/cmm/CmmMachOp.hs
index
5e1ac16
..
6e89035
100644
(file)
--- a/
compiler/cmm/CmmMachOp.hs
+++ b/
compiler/cmm/CmmMachOp.hs
@@
-459,7
+459,15
@@
data CallishMachOp
| MO_F32_Sqrt
| MO_WriteBarrier
| MO_Touch -- Keep variables live (when using interior pointers)
| MO_F32_Sqrt
| MO_WriteBarrier
| MO_Touch -- Keep variables live (when using interior pointers)
+
+ -- Note that these three MachOps all take 1 extra parameter than the
+ -- standard C lib versions. The extra (last) parameter contains
+ -- alignment of the pointers. Used for optimisation in backends.
+ | MO_Memcpy
+ | MO_Memset
+ | MO_Memmove
deriving (Eq, Show)
pprCallishMachOp :: CallishMachOp -> SDoc
pprCallishMachOp mo = text (show mo)
deriving (Eq, Show)
pprCallishMachOp :: CallishMachOp -> SDoc
pprCallishMachOp mo = text (show mo)
+