public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/2308: x86_64 opcode generated for i686
@ 2001-03-17 8:46 Ulrich Drepper
0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Drepper @ 2001-03-17 8:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c/2308; it has been noted by GNATS.
From: Ulrich Drepper <drepper@redhat.com>
To: Neil Booth <neil@daikokuya.demon.co.uk>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c/2308: x86_64 opcode generated for i686
Date: 17 Mar 2001 08:37:11 -0800
Neil Booth <neil@daikokuya.demon.co.uk> writes:
> Things like this should go in the category "target"; I doubt it
> has anything to do with the C front end.
Then renamed "target" to "backend". What do I know what you mean by
"target".
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c/2308: x86_64 opcode generated for i686
@ 2001-03-17 9:06 Joseph S. Myers
0 siblings, 0 replies; 4+ messages in thread
From: Joseph S. Myers @ 2001-03-17 9:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c/2308; it has been noted by GNATS.
From: "Joseph S. Myers" <jsm28@cam.ac.uk>
To: Ulrich Drepper <drepper@redhat.com>
Cc: <gcc-gnats@gcc.gnu.org>, <neil@daikokuya.demon.co.uk>
Subject: Re: c/2308: x86_64 opcode generated for i686
Date: Sat, 17 Mar 2001 16:58:16 +0000 (GMT)
On 17 Mar 2001, Ulrich Drepper wrote:
> Neil Booth <neil@daikokuya.demon.co.uk> writes:
>
> > Things like this should go in the category "target"; I doubt it
> > has anything to do with the C front end.
>
> Then renamed "target" to "backend". What do I know what you mean by
> "target".
The meanings of the categories are documented in both gnats.html and
gcc.texi (though the latter is duplicate documentation that I think ought
to go away in favour of a copy of gnats.html in release tarballs).
It has been suggested, and would make sense, that there should be target-*
categories for at least the more common targets (target-alpha,
target-i386, ...).
--
Joseph S. Myers
jsm28@cam.ac.uk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c/2308: x86_64 opcode generated for i686
@ 2001-03-17 4:06 Neil Booth
0 siblings, 0 replies; 4+ messages in thread
From: Neil Booth @ 2001-03-17 4:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c/2308; it has been noted by GNATS.
From: Neil Booth <neil@daikokuya.demon.co.uk>
To: drepper@redhat.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c/2308: x86_64 opcode generated for i686
Date: Sat, 17 Mar 2001 11:57:08 +0000
Ulrich Drepper wrote:-
> >Synopsis: x86_64 opcode generated for i686
Things like this should go in the category "target"; I doubt it
has anything to do with the C front end.
Neil.
^ permalink raw reply [flat|nested] 4+ messages in thread
* c/2308: x86_64 opcode generated for i686
@ 2001-03-16 22:36 drepper
0 siblings, 0 replies; 4+ messages in thread
From: drepper @ 2001-03-16 22:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 2308
>Category: c
>Synopsis: x86_64 opcode generated for i686
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 16 22:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Ulrich Drepper
>Release: gcc version 3.1 20010316 (experimental)
>Organization:
>Environment:
Linux/x86
>Description:
Compiling the attached file with
gcc -c -O2 ffsll.i
with today's (2000-3-16) gcc leads to the message
/tmp/ccdIDgSe.s:26: Error: suffix or operands invalid for `bsf'
/tmp/ccdIDgSe.s:43: Error: suffix or operands invalid for `bsf'
What happens is that the registers in the asm statements are substituted inccorectly:
bsfl %rsi,%ebx
This seems to be the syntax for the extended x86_64 registers but of course is very wrong on i686.
>How-To-Repeat:
Compile attached file with
gcc -c -O2 ffsll.i
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="ffsll.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ffsll.i"
aW50CmZmc2xsIChsb25nIGxvbmcgaW50IGkpCnsKICB1bnNpZ25lZCBsb25nIGxvbmcgaW50IHgg
PSBpICYgLWk7CiAgaWYgKHggPD0gMHhmZmZmZmZmZikKICAgIHJldHVybiAoX19idWlsdGluX2Nv
bnN0YW50X3AgKGkpID8gX19idWlsdGluX2ZmcyAoaSkgOiAoeyBpbnQgX19jbnQsIF9fdG1wOyBf
X2FzbV9fIF9fdm9sYXRpbGVfXyAoImJzZmwgJTIsJTBcblx0IiAiY21vdmVsICUxLCUwIiA6ICI9
JnIiIChfX2NudCksICI9ciIgKF9fdG1wKSA6ICJybSIgKGkpLCAiMSIgKC0xKSk7IF9fY250ICsg
MTsgfSkpOwogIGVsc2UKICAgIHJldHVybiAzMiArIChfX2J1aWx0aW5fY29uc3RhbnRfcCAoaSA+
PiAzMikgPyBfX2J1aWx0aW5fZmZzIChpID4+IDMyKSA6ICh7IGludCBfX2NudCwgX190bXA7IF9f
YXNtX18gX192b2xhdGlsZV9fICgiYnNmbCAlMiwlMFxuXHQiICJjbW92ZWwgJTEsJTAiIDogIj0m
ciIgKF9fY250KSwgIj1yIiAoX190bXApIDogInJtIiAoaSA+PiAzMiksICIxIiAoLTEpKTsgX19j
bnQgKyAxOyB9KSk7Cn0K
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-03-17 9:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-17 8:46 c/2308: x86_64 opcode generated for i686 Ulrich Drepper
-- strict thread matches above, loose matches on Subject: below --
2001-03-17 9:06 Joseph S. Myers
2001-03-17 4:06 Neil Booth
2001-03-16 22:36 drepper
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).