This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26656] Optimization flaw on conditional set of a bit.
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 24 Dec 2011 03:08:17 +0000
- Subject: [Bug tree-optimization/26656] Optimization flaw on conditional set of a bit.
- Auto-submitted: auto-generated
- References: <bug-26656-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26656
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-12-24
Component|target |tree-optimization
Ever Confirmed|0 |1
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-24 03:08:17 UTC ---
limit time ?: time ?: wa time if time if wa
18 40000 40000 350000 40000
28 30000 40000 440000 40000
38 30000 40000 460000 40000
48 40000 40000 400000 30000
58 30000 40000 460000 30000
68 40000 30000 540000 40000
78 30000 30000 530000 40000
88 30000 40000 530000 40000
98 40000 30000 530000 40000
108 30000 40000 580000 40000
118 40000 30000 550000 40000
128 30000 30000 520000 40000
138 30000 40000 520000 30000
148 30000 40000 460000 40000
158 30000 30000 470000 30000
168 30000 30000 450000 40000
178 30000 30000 430000 40000
188 30000 30000 380000 30000
198 30000 30000 400000 30000
208 40000 30000 370000 30000
218 30000 40000 260000 30000
228 30000 30000 290000 40000
238 30000 40000 210000 40000
248 30000 40000 210000 40000
This is at -O3. So only flagIf is slower.
Without the vectorizer:
limit time ?: time ?: wa time if time if wa
18 180000 120000 420000 110000
28 170000 110000 450000 110000
38 130000 120000 460000 120000
48 160000 110000 480000 110000
58 210000 110000 530000 120000
68 150000 120000 500000 120000
78 180000 110000 540000 120000
88 170000 120000 550000 110000
98 180000 120000 560000 120000
108 180000 120000 580000 110000
118 190000 120000 580000 110000
128 160000 120000 550000 120000
138 160000 120000 540000 110000
148 160000 120000 540000 110000
158 160000 110000 520000 110000
168 190000 110000 490000 120000
178 170000 120000 450000 120000
188 150000 110000 430000 110000
198 150000 120000 390000 110000
208 130000 120000 370000 110000
218 150000 120000 330000 120000
228 140000 120000 300000 120000
238 180000 110000 280000 110000
248 150000 110000 260000 110000