GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2021-08-18T22:59:32Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/20145Let LLVM and Unregisterized lower greater than native sized primops2021-08-18T22:59:32ZJohn EricsonLet LLVM and Unregisterized lower greater than native sized primopsWhen using the LLVM or Unregisterized backends and compiling primops for prim types exceeding the native width, we should avoid our C stubs and let LLVM/C lower them more efficiently in-line.
NCG needs to call slow FFI functions where w...When using the LLVM or Unregisterized backends and compiling primops for prim types exceeding the native width, we should avoid our C stubs and let LLVM/C lower them more efficiently in-line.
NCG needs to call slow FFI functions where we "borrow" the C compiler's implementation, but there is no reason why we need to do that for LLVM or C.⊥John EricsonJohn Ericson