Ticket #7116 (new bug)
Missing optimisation: strength reduction of floating-point multiplication
| Reported by: | simonmar | Owned by: | pcapriotti |
|---|---|---|---|
| Priority: | normal | Milestone: | 7.8.1 |
| Component: | Compiler | Version: | 7.4.2 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Runtime performance bug | Difficulty: | Unknown |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

