[GHC] #9430: implement more arithmetic operations natively in the LLVM backend
GHC
ghc-devs at haskell.org
Mon Aug 3 10:24:22 UTC 2015
#9430: implement more arithmetic operations natively in the LLVM backend
-------------------------------------+-------------------------------------
Reporter: rwbarton | Owner: michalt
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler (LLVM) | Version: 7.9
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Runtime | Test Case:
performance bug | primops/should_run/T9430
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by bgamari):
Here is the current state of things as I understand them.
||= MachOp =||= LLVM construct =||= commit =||
|| MO_Add2 || @llvm.uadd.with.overflow.* ||
b1d1c652908ecd7bfcf13cf2e5dd06ac7926992c/ghc ||
|| MO_AddIntC || @llvm.sadd.with.overflow.* ||
b1d1c652908ecd7bfcf13cf2e5dd06ac7926992c/ghc ||
|| MO_SubIntC || @llvm.ssub.with.overflow.* ||
b1d1c652908ecd7bfcf13cf2e5dd06ac7926992c/ghc ||
|| MO_U_Mul2 || mul i64/i128? || TODO ||
|| MO_U_QuotRem2 || udiv i64/i128? ||
92f5385d8b2be50848a2496199a481f299f4b53a/ghc ||
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9430#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list