public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/21715] New: code-generation regression
@ 2005-05-23 8:25 markus at oberhumer dot com
2005-05-23 8:33 ` [Bug target/21715] code-generation performance regression markus at oberhumer dot com
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: markus at oberhumer dot com @ 2005-05-23 8:25 UTC (permalink / raw)
To: gcc-bugs
During recent performance testing I have identified a number of small code
fragments where gcc 4.x produces worse code than gcc 3.4.3. Some of these may be
target specific, and I plan to gradually enter such small performance
regressions into the bug database unless there is a better way to report these.
$ cat test.c
long foo(long v) { return v & -v; }
$ gcc-3.4.3 -O3 -c test.c && objdump -d test.o
test.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <foo>:
0: 48 89 f8 mov %rdi,%rax
3: 48 f7 d8 neg %rax
6: 48 21 f8 and %rdi,%rax
9: c3 retq
$ gcc-4.1-20050516 -O3 -c test.c && objdump -d test.o
test.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <foo>:
0: 48 89 f8 mov %rdi,%rax
3: 48 f7 d8 neg %rax
6: 48 21 c7 and %rax,%rdi
9: 48 89 f8 mov %rdi,%rax
c: c3 retq
--
Summary: code-generation regression
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: markus at oberhumer dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: x86_64-pc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21715
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/21715] code-generation performance regression
2005-05-23 8:25 [Bug target/21715] New: code-generation regression markus at oberhumer dot com
@ 2005-05-23 8:33 ` markus at oberhumer dot com
2005-05-23 12:24 ` giovannibajo at libero dot it
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: markus at oberhumer dot com @ 2005-05-23 8:33 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Known to fail| |4.0.0 4.1.0
Known to work| |3.4.3
Summary|code-generation regression |code-generation performance
| |regression
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21715
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/21715] code-generation performance regression
2005-05-23 8:25 [Bug target/21715] New: code-generation regression markus at oberhumer dot com
2005-05-23 8:33 ` [Bug target/21715] code-generation performance regression markus at oberhumer dot com
@ 2005-05-23 12:24 ` giovannibajo at libero dot it
2005-05-23 12:49 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: giovannibajo at libero dot it @ 2005-05-23 12:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2005-05-23 12:23 -------
The best way is to use Bugzilla, yes. Please use different bug reports for each
code fragment, thanks!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21715
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/21715] code-generation performance regression
2005-05-23 8:25 [Bug target/21715] New: code-generation regression markus at oberhumer dot com
2005-05-23 8:33 ` [Bug target/21715] code-generation performance regression markus at oberhumer dot com
2005-05-23 12:24 ` giovannibajo at libero dot it
@ 2005-05-23 12:49 ` pinskia at gcc dot gnu dot org
2005-05-23 18:22 ` [Bug target/21715] [4.0/4.1 regression] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-23 12:49 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ra
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21715
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/21715] [4.0/4.1 regression] code-generation performance regression
2005-05-23 8:25 [Bug target/21715] New: code-generation regression markus at oberhumer dot com
` (2 preceding siblings ...)
2005-05-23 12:49 ` pinskia at gcc dot gnu dot org
@ 2005-05-23 18:22 ` pinskia at gcc dot gnu dot org
2005-07-08 1:40 ` mmitchel at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-23 18:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-23 18:17 -------
Confirmed.
This is just a RA issue, I don't know how much we can fix for 4.0.x.
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |18427
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-05-23 18:17:00
date| |
Summary|code-generation performance |[4.0/4.1 regression] code-
|regression |generation performance
| |regression
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21715
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/21715] [4.0/4.1 regression] code-generation performance regression
2005-05-23 8:25 [Bug target/21715] New: code-generation regression markus at oberhumer dot com
` (3 preceding siblings ...)
2005-05-23 18:22 ` [Bug target/21715] [4.0/4.1 regression] " pinskia at gcc dot gnu dot org
@ 2005-07-08 1:40 ` mmitchel at gcc dot gnu dot org
2005-09-16 19:04 ` pinskia at gcc dot gnu dot org
2005-09-27 16:07 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-07-08 1:40 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.1 |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21715
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/21715] [4.0/4.1 regression] code-generation performance regression
2005-05-23 8:25 [Bug target/21715] New: code-generation regression markus at oberhumer dot com
` (4 preceding siblings ...)
2005-07-08 1:40 ` mmitchel at gcc dot gnu dot org
@ 2005-09-16 19:04 ` pinskia at gcc dot gnu dot org
2005-09-27 16:07 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-16 19:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-16 19:04 -------
3.3.5 also fails. I think this is also related to the message on the gcc mailing list recently:
http://gcc.gnu.org/ml/gcc/2005-09/msg00429.html
This is looks related to 2 operand targets.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail|4.0.0 4.1.0 |4.0.0 4.1.0 3.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21715
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/21715] [4.0/4.1 regression] code-generation performance regression
2005-05-23 8:25 [Bug target/21715] New: code-generation regression markus at oberhumer dot com
` (5 preceding siblings ...)
2005-09-16 19:04 ` pinskia at gcc dot gnu dot org
@ 2005-09-27 16:07 ` mmitchel at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:07 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.0.2 |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21715
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-09-27 16:06 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-23 8:25 [Bug target/21715] New: code-generation regression markus at oberhumer dot com
2005-05-23 8:33 ` [Bug target/21715] code-generation performance regression markus at oberhumer dot com
2005-05-23 12:24 ` giovannibajo at libero dot it
2005-05-23 12:49 ` pinskia at gcc dot gnu dot org
2005-05-23 18:22 ` [Bug target/21715] [4.0/4.1 regression] " pinskia at gcc dot gnu dot org
2005-07-08 1:40 ` mmitchel at gcc dot gnu dot org
2005-09-16 19:04 ` pinskia at gcc dot gnu dot org
2005-09-27 16:07 ` mmitchel at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).