[Bug target/28909] Missed optimization with x86 sync builtins

2006-10-26 Thread pinskia at gcc dot gnu dot org


--- Comment #5 from pinskia at gcc dot gnu dot org  2006-10-26 12:54 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28909



[Bug target/28909] Missed optimization with x86 sync builtins

2006-10-25 Thread uros at gcc dot gnu dot org


--- Comment #4 from uros at gcc dot gnu dot org  2006-10-25 10:14 ---
Subject: Bug 28909

Author: uros
Date: Wed Oct 25 10:14:41 2006
New Revision: 118028

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118028
Log:
PR target/28909
* config/i386/sync.md (sync_addmode, sync_submode):
Use inc and dec instructions for TARGET_USE_INCDEC.
(*sync_compare_and_swapmode): Fix -masm=intel template.
(sync_double_compare_and_swapmode): Likewise.
(*sync_double_compare_and_swapdi_pic): Likewise.
(*sync_compare_and_swap_ccmode): Likewise.
(sync_double_compare_and_swap_ccmode): Likewise.
(*sync_double_compare_and_swap_ccdi_pic): Likewise.
(sync_old_addmode): Likewise.
(sync_lock_test_and_setmode): Likewise.
(sync_lock_test_and_setmode): Likewise.
(sync_addmode): Likewise.
(sync_submode): Likewise.
(sync_iormode): Likewise.
(sync_andmode): Likewise.
(sync_xormode): Likewise.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/sync.md


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28909



[Bug target/28909] Missed optimization with x86 sync builtins

2006-09-01 Thread uros at kss-loka dot si


--- Comment #2 from uros at kss-loka dot si  2006-09-01 10:18 ---
Patch at http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00010.html


-- 

uros at kss-loka dot si changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |uros at kss-loka dot si
   |dot org |
URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2006-
   ||09/msg00010.html
 Status|NEW |ASSIGNED
   Last reconfirmed|2006-08-31 03:13:03 |2006-09-01 10:18:03
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28909



[Bug target/28909] Missed optimization with x86 sync builtins

2006-09-01 Thread patchapp at dberlin dot org


--- Comment #3 from patchapp at dberlin dot org  2006-09-01 15:45 ---
Subject: Bug number PR target/28909

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00010.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28909



[Bug target/28909] Missed optimization with x86 sync builtins

2006-08-30 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-08-31 03:13 ---
Confirmed, the special casing for inc/dec should be added to the sync_add
patterns also.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|minor   |enhancement
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||missed-optimization
   Last reconfirmed|-00-00 00:00:00 |2006-08-31 03:13:03
   date||
Version|unknown |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28909