public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement.
@ 2004-02-19 7:53 hp at gcc dot gnu dot org
2004-02-19 7:58 ` [Bug target/14209] " cvs-commit at gcc dot gnu dot org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-02-19 7:53 UTC (permalink / raw)
To: gcc-bugs
Misoptimization: a memory load using postincrement is shrinked in size when
only part of the data is used (e.g. "*m++ & 255").
Testcase to be added.
--
Summary: Bug in cris.md, shrinking access size of postincrement.
Product: gcc
Version: 3.2.1
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: cris-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14209
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/14209] Bug in cris.md, shrinking access size of postincrement.
2004-02-19 7:53 [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement hp at gcc dot gnu dot org
@ 2004-02-19 7:58 ` cvs-commit at gcc dot gnu dot org
2004-02-19 8:06 ` hp at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-19 7:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-19 07:58 -------
Subject: Bug 14209
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: hp@gcc.gnu.org 2004-02-19 07:58:05
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: 20040218-1.c
Log message:
PR target/14209
* gcc.c-torture/execute/20040218-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3517&r2=1.3518
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20040218-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14209
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/14209] Bug in cris.md, shrinking access size of postincrement.
2004-02-19 7:53 [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement hp at gcc dot gnu dot org
2004-02-19 7:58 ` [Bug target/14209] " cvs-commit at gcc dot gnu dot org
@ 2004-02-19 8:06 ` hp at gcc dot gnu dot org
2004-02-19 11:28 ` cvs-commit at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-02-19 8:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hp at gcc dot gnu dot org 2004-02-19 08:06 -------
Unrelated to the test-case, the pattern would also match volatile
accesses, if those were allowed to be combined (may happen with
future GCC).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-02-19 08:06:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14209
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/14209] Bug in cris.md, shrinking access size of postincrement.
2004-02-19 7:53 [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement hp at gcc dot gnu dot org
2004-02-19 7:58 ` [Bug target/14209] " cvs-commit at gcc dot gnu dot org
2004-02-19 8:06 ` hp at gcc dot gnu dot org
@ 2004-02-19 11:28 ` cvs-commit at gcc dot gnu dot org
2004-02-19 11:31 ` hp at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-19 11:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-19 11:28 -------
Subject: Bug 14209
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: hp@gcc.gnu.org 2004-02-19 11:28:01
Modified files:
gcc : ChangeLog
gcc/config/cris: cris.md
Log message:
PR target/14209
* config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak
constraints to not match postincrement. Adjust the predicate to
exclude a volatile memory reference.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.2847&r2=2.2848
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/cris/cris.md.diff?cvsroot=gcc&r1=1.13&r2=1.14
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14209
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/14209] Bug in cris.md, shrinking access size of postincrement.
2004-02-19 7:53 [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement hp at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-02-19 11:28 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-19 11:31 ` hp at gcc dot gnu dot org
2004-02-19 11:33 ` hp at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-02-19 11:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hp at gcc dot gnu dot org 2004-02-19 11:31 -------
dummy comment
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14209
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/14209] Bug in cris.md, shrinking access size of postincrement.
2004-02-19 7:53 [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement hp at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-02-19 11:31 ` hp at gcc dot gnu dot org
@ 2004-02-19 11:33 ` hp at gcc dot gnu dot org
2004-02-22 10:51 ` hp at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-02-19 11:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hp at gcc dot gnu dot org 2004-02-19 11:33 -------
See <URL:http://gcc.gnu.org/ml/gcc-patches/2004-02/msg01735.html>.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14209
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/14209] Bug in cris.md, shrinking access size of postincrement.
2004-02-19 7:53 [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement hp at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-02-19 11:33 ` hp at gcc dot gnu dot org
@ 2004-02-22 10:51 ` hp at gcc dot gnu dot org
2004-02-22 11:09 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-02-22 10:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hp at gcc dot gnu dot org 2004-02-22 10:51 -------
See <URL:http://gcc.gnu.org/ml/gcc-patches/2004-02/msg01871.html> for
follow-up-patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14209
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/14209] Bug in cris.md, shrinking access size of postincrement.
2004-02-19 7:53 [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement hp at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-02-22 10:51 ` hp at gcc dot gnu dot org
@ 2004-02-22 11:09 ` cvs-commit at gcc dot gnu dot org
2004-02-22 11:13 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-22 11:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-22 11:09 -------
Subject: Bug 14209
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: hp@gcc.gnu.org 2004-02-22 11:09:27
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: 20040218-1.c
Log message:
PR target/14209
* gcc.c-torture/execute/20040218-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.99&r2=1.3389.2.100
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20040218-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14209
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/14209] Bug in cris.md, shrinking access size of postincrement.
2004-02-19 7:53 [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement hp at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-02-22 11:09 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-22 11:13 ` cvs-commit at gcc dot gnu dot org
2004-02-22 11:18 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-22 11:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-22 11:13 -------
Subject: Bug 14209
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: hp@gcc.gnu.org 2004-02-22 11:13:04
Modified files:
gcc : ChangeLog
gcc/config/cris: cris.md
Log message:
PR target/14209
* config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak
constraints to not match postincrement. Adjust the predicate to
exclude a volatile memory reference.
("*andsi_clear"): Tweak constraints to not match postincrement.
Adjust the predicate to exclude a volatile memory reference.
("*andhi_clear"): Ditto. Rename from "*andhi_clear_signed".
("*andhi_clear_unsigned"): Remove, non-matching pattern.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.239&r2=2.2326.2.240
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/cris/cris.md.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.11&r2=1.11.4.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14209
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/14209] Bug in cris.md, shrinking access size of postincrement.
2004-02-19 7:53 [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement hp at gcc dot gnu dot org
` (7 preceding siblings ...)
2004-02-22 11:13 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-22 11:18 ` cvs-commit at gcc dot gnu dot org
2004-02-22 11:21 ` cvs-commit at gcc dot gnu dot org
2004-02-22 11:24 ` hp at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-22 11:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-22 11:18 -------
Subject: Bug 14209
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: hp@gcc.gnu.org 2004-02-22 11:18:47
Modified files:
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: 20040218-1.c
Log message:
PR target/14209
* gcc.c-torture/execute/20040218-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.357&r2=1.2261.2.358
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20040218-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.4.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14209
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/14209] Bug in cris.md, shrinking access size of postincrement.
2004-02-19 7:53 [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement hp at gcc dot gnu dot org
` (8 preceding siblings ...)
2004-02-22 11:18 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-22 11:21 ` cvs-commit at gcc dot gnu dot org
2004-02-22 11:24 ` hp at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-02-22 11:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-22 11:21 -------
Subject: Bug 14209
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: hp@gcc.gnu.org 2004-02-22 11:21:35
Modified files:
gcc : ChangeLog
gcc/config/cris: cris.md
Log message:
PR target/14209
* config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak
constraints to not match postincrement. Adjust the predicate to
exclude a volatile memory reference.
("*andsi_clear"): Tweak constraints to not match postincrement.
Adjust the predicate to exclude a volatile memory reference.
("*andhi_clear"): Ditto. Rename from "*andhi_clear_signed".
("*andhi_clear_unsigned"): Remove, non-matching pattern.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.902&r2=1.16114.2.903
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/cris/cris.md.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.6.4.3&r2=1.6.4.4
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14209
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/14209] Bug in cris.md, shrinking access size of postincrement.
2004-02-19 7:53 [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement hp at gcc dot gnu dot org
` (9 preceding siblings ...)
2004-02-22 11:21 ` cvs-commit at gcc dot gnu dot org
@ 2004-02-22 11:24 ` hp at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-02-22 11:24 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.5.0 |3.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14209
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2004-02-22 11:24 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-19 7:53 [Bug target/14209] New: Bug in cris.md, shrinking access size of postincrement hp at gcc dot gnu dot org
2004-02-19 7:58 ` [Bug target/14209] " cvs-commit at gcc dot gnu dot org
2004-02-19 8:06 ` hp at gcc dot gnu dot org
2004-02-19 11:28 ` cvs-commit at gcc dot gnu dot org
2004-02-19 11:31 ` hp at gcc dot gnu dot org
2004-02-19 11:33 ` hp at gcc dot gnu dot org
2004-02-22 10:51 ` hp at gcc dot gnu dot org
2004-02-22 11:09 ` cvs-commit at gcc dot gnu dot org
2004-02-22 11:13 ` cvs-commit at gcc dot gnu dot org
2004-02-22 11:18 ` cvs-commit at gcc dot gnu dot org
2004-02-22 11:21 ` cvs-commit at gcc dot gnu dot org
2004-02-22 11:24 ` hp 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).