#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 _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs