[GHC] #9430: implement more arithmetic operations natively in the LLVM backend
GHC
ghc-devs at haskell.org
Mon Aug 3 09:15:04 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 Ben Gamari <ben@…>):
In [changeset:"92f5385d8b2be50848a2496199a481f299f4b53a/ghc" 92f5385/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="92f5385d8b2be50848a2496199a481f299f4b53a"
Support MO_U_QuotRem2 in LLVM backend
This adds support for MO_U_QuotRem2 in LLVM backend. Similarly to
MO_U_Mul2 we use the standard LLVM instructions (in this case 'udiv'
and 'urem') but do the computation on double the word width (e.g., for
64-bit we will do them on 128 registers).
Test Plan: validate
Reviewers: rwbarton, austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1100
GHC Trac Issues: #9430
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9430#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list