@hackage inline-asm0.1.1.0

Inline some Assembly in ur Haskell!

inline-asm

When inline C is too safe.

Did you try inline-c, but it's not enough? You need more? Nothing seems to satisfy? inline-asm to the rescue!

For now the usage is pretty straightforward: use defineAsmFun to define the corresponding function, like

defineAsmFun "timesTwo" [t| Word -> Word |] "add %rbx, %rbx"