public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/19065] New: Make CRIS asms autoincrement-safe
@ 2004-12-18 0:39 hp at gcc dot gnu dot org
2004-12-18 0:40 ` [Bug target/19065] Make CRIS libstdc++ " hp at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-12-18 0:39 UTC (permalink / raw)
To: gcc-bugs
This is a FIXME that I need to free a constraint letter (probably the existing
R) as a constraint for (MEM reg), or more to the point, a side-effect-free
memory constraint: the libstdc++ asms are buggy and could get autoincrement.
Actually, there should be a generic constraint letter for that: just as "V" is
disjoint to "o", there needs to be a disjunction for "<>".
You may think so, but "o" is not always usable for this case.
--
Summary: Make CRIS asms autoincrement-safe
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: hp 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=19065
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19065] Make CRIS libstdc++ asms autoincrement-safe
2004-12-18 0:39 [Bug target/19065] New: Make CRIS asms autoincrement-safe hp at gcc dot gnu dot org
@ 2004-12-18 0:40 ` hp at gcc dot gnu dot org
2005-02-28 13:27 ` cvs-commit at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2004-12-18 0:40 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-18 00:40:27
date| |
Summary|Make CRIS asms |Make CRIS libstdc++ asms
|autoincrement-safe |autoincrement-safe
Version|unknown |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19065
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19065] Make CRIS libstdc++ asms autoincrement-safe
2004-12-18 0:39 [Bug target/19065] New: Make CRIS asms autoincrement-safe hp at gcc dot gnu dot org
2004-12-18 0:40 ` [Bug target/19065] Make CRIS libstdc++ " hp at gcc dot gnu dot org
@ 2005-02-28 13:27 ` cvs-commit at gcc dot gnu dot org
2005-02-28 13:27 ` cvs-commit at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-28 13:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-28 02:33 -------
Subject: Bug 19065
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: hp@gcc.gnu.org 2005-02-28 02:33:40
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/config/cpu/cris: atomicity.h
Log message:
PR target/19065
* config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
'Q' constraint, not 'm'.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.2919&r2=1.2920
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/cpu/cris/atomicity.h.diff?cvsroot=gcc&r1=1.6&r2=1.7
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19065
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19065] Make CRIS libstdc++ asms autoincrement-safe
2004-12-18 0:39 [Bug target/19065] New: Make CRIS asms autoincrement-safe hp at gcc dot gnu dot org
2004-12-18 0:40 ` [Bug target/19065] Make CRIS libstdc++ " hp at gcc dot gnu dot org
2005-02-28 13:27 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-28 13:27 ` cvs-commit at gcc dot gnu dot org
2005-02-28 13:31 ` hp at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-28 13:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-28 02:21 -------
Subject: Bug 19065
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: hp@gcc.gnu.org 2005-02-28 02:21:40
Modified files:
gcc : ChangeLog
gcc/config/cris: cris.h cris.md
Log message:
PR target/19065.
* config/cris/cris.h (EXTRA_CONSTRAINT_Q): Accept only (mem (reg)),
not including (reg). Do not check for reg being CRIS_PC_REGNUM.
(EXTRA_MEMORY_CONSTRAINT): Define as 'Q'.
* config/cris/cris.md: Tweak comments referring to Q.
("cmpsi", "cmphi", "cmpqi", "*movsi_internal", "movhi")
("movstricthi", "movqi", "movstrictqi", "movsf", "addsi3")
("addhi3", "addqi3", "subsi3", "subhi3", "subqi3")
("*expanded_andsi", "*expanded_andhi", "*andhi_lowpart", "andqi3")
("*andqi_lowpart", "iorsi3", "iorhi3", "iorqi3", "uminsi3"):
Insert spaces in constraints to align alternatives vertically for
readability.
("cmphi"): Ditto. Add separate alternative for operand 0 "Q>",
operand 1: "M".
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7606&r2=2.7607
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/cris/cris.h.diff?cvsroot=gcc&r1=1.84&r2=1.85
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/cris/cris.md.diff?cvsroot=gcc&r1=1.22&r2=1.23
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19065
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19065] Make CRIS libstdc++ asms autoincrement-safe
2004-12-18 0:39 [Bug target/19065] New: Make CRIS asms autoincrement-safe hp at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-02-28 13:27 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-28 13:31 ` hp at gcc dot gnu dot org
2005-02-28 13:42 ` hp at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-02-28 13:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From hp at gcc dot gnu dot org 2005-02-28 02:50 -------
Fixed, see <URL:http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01769.html> and
<URL:http://gcc.gnu.org/ml/gcc-patches/2005-02/msg01770.html>. But see also PR
20242.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19065
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19065] Make CRIS libstdc++ asms autoincrement-safe
2004-12-18 0:39 [Bug target/19065] New: Make CRIS asms autoincrement-safe hp at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-02-28 13:31 ` hp at gcc dot gnu dot org
@ 2005-02-28 13:42 ` hp at gcc dot gnu dot org
2005-03-01 14:57 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-02-28 13:42 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19065
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19065] Make CRIS libstdc++ asms autoincrement-safe
2004-12-18 0:39 [Bug target/19065] New: Make CRIS asms autoincrement-safe hp at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-02-28 13:42 ` hp at gcc dot gnu dot org
@ 2005-03-01 14:57 ` cvs-commit at gcc dot gnu dot org
2005-03-01 15:12 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-01 14:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-01 14:57 -------
Subject: Bug 19065
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: hp@gcc.gnu.org 2005-03-01 14:57:25
Modified files:
gcc : ChangeLog
gcc/config/cris: cris.h cris.md
Log message:
PR target/19065.
* config/cris/cris.h (EXTRA_CONSTRAINT_Q): Accept only (mem (reg)),
not including (reg). Do not check for reg being CRIS_PC_REGNUM.
(EXTRA_MEMORY_CONSTRAINT): Define as 'Q'.
* config/cris/cris.md: Tweak comments referring to Q.
("cmpsi", "cmphi", "cmpqi", "*movsi_internal", "movhi")
("movstricthi", "movqi", "movstrictqi", "movsf", "addsi3")
("addhi3", "addqi3", "subsi3", "subhi3", "subqi3")
("*expanded_andsi", "*expanded_andhi", "*andhi_lowpart", "andqi3")
("*andqi_lowpart", "iorsi3", "iorhi3", "iorqi3", "uminsi3"):
Insert spaces in constraints to align alternatives vertically for
readability.
("cmphi"): Ditto. Add separate alternative for operand 0 "r",
operand 1: "M".
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.13&r2=2.7592.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/cris/cris.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.84&r2=1.84.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/cris/cris.md.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.22&r2=1.22.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19065
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19065] Make CRIS libstdc++ asms autoincrement-safe
2004-12-18 0:39 [Bug target/19065] New: Make CRIS asms autoincrement-safe hp at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-03-01 14:57 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-01 15:12 ` cvs-commit at gcc dot gnu dot org
2005-03-01 15:14 ` cvs-commit at gcc dot gnu dot org
2005-03-01 15:23 ` hp at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-01 15:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-01 15:11 -------
Subject: Bug 19065
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: hp@gcc.gnu.org 2005-03-01 15:10:41
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/config/cpu/cris: atomicity.h
Log message:
PR target/19065
* config/cpu/cris/atomicity.h (__exchange_and_add): In asm, use
'Q' constraint, not 'm'.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.2917.2.1&r2=1.2917.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/config/cpu/cris/atomicity.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.6&r2=1.6.46.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19065
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19065] Make CRIS libstdc++ asms autoincrement-safe
2004-12-18 0:39 [Bug target/19065] New: Make CRIS asms autoincrement-safe hp at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-03-01 15:12 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-01 15:14 ` cvs-commit at gcc dot gnu dot org
2005-03-01 15:23 ` hp at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-01 15:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-01 15:14 -------
Subject: Bug 19065
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: hp@gcc.gnu.org 2005-03-01 15:14:25
Modified files:
gcc : ChangeLog
Log message:
Correct cmphi comment in PR target/19065 change
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7623&r2=2.7624
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19065
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/19065] Make CRIS libstdc++ asms autoincrement-safe
2004-12-18 0:39 [Bug target/19065] New: Make CRIS asms autoincrement-safe hp at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-03-01 15:14 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-01 15:23 ` hp at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: hp at gcc dot gnu dot org @ 2005-03-01 15:23 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19065
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-03-01 15:23 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-18 0:39 [Bug target/19065] New: Make CRIS asms autoincrement-safe hp at gcc dot gnu dot org
2004-12-18 0:40 ` [Bug target/19065] Make CRIS libstdc++ " hp at gcc dot gnu dot org
2005-02-28 13:27 ` cvs-commit at gcc dot gnu dot org
2005-02-28 13:27 ` cvs-commit at gcc dot gnu dot org
2005-02-28 13:31 ` hp at gcc dot gnu dot org
2005-02-28 13:42 ` hp at gcc dot gnu dot org
2005-03-01 14:57 ` cvs-commit at gcc dot gnu dot org
2005-03-01 15:12 ` cvs-commit at gcc dot gnu dot org
2005-03-01 15:14 ` cvs-commit at gcc dot gnu dot org
2005-03-01 15:23 ` 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).