[Bug middle-end/22067] Inconsistent multiply by immediate

2005-09-17 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22067

[Bug middle-end/22067] Inconsistent multiply by immediate

2005-09-17 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-09-17 20:20 --- Patch committed. -- What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/22067] Inconsistent multiply by immediate

2005-09-17 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-17 20:18 --- Subject: Bug 22067 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-09-17 20:17:55 Modified files: gcc: ChangeLog expmed.c Log message:

[Bug middle-end/22067] Inconsistent multiply by immediate

2005-09-16 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-09-17 04:28 --- I think the patch in attachment 9747 that subtracts the cost of operand0 is the correct solution. One generally does want the cost of the operands included, so rtx_costs is correct. choose_mult_variant would c

[Bug middle-end/22067] Inconsistent multiply by immediate

2005-09-16 Thread dje at gcc dot gnu dot org
--- Additional Comments From dje at gcc dot gnu dot org 2005-09-17 03:49 --- The mult_cost argument to choose_mult_variant() and the cost of the best shift/add sequence are not always representing the same operation, so the comparison is not always correct. The synth_mult cost is just t

[Bug middle-end/22067] Inconsistent multiply by immediate

2005-06-14 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-14 21:23 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW