[GHC] #7116: Missing optimisation: strength reduction of floating-point multiplication
GHC
cvs-ghc at haskell.org
Fri Aug 3 17:33:02 CEST 2012
#7116: Missing optimisation: strength reduction of floating-point multiplication
---------------------------------+------------------------------------------
Reporter: simonmar | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.4.2
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: Runtime performance bug
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
---------------------------------+------------------------------------------
e.g. `x * 2.0` should turn into `x + x`. See #2253 (program 6) for an
example.
Whether this is best done as a builtin RULE or in `cmmMachOpFold`, or
possibly both, I don't know.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7116>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list