public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "H. J. Lu" <hjl@lucon.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: amodra@bigpond.net.au, binutils@sourceware.org
Subject: Re: [RFC/RFA] Proper mnemonics for VIA PadLock (i386) instructions
Date: Wed, 13 Apr 2005 19:29:00 -0000	[thread overview]
Message-ID: <20050413192952.GA1517@lucon.org> (raw)
In-Reply-To: <200504131855.j3DIt9WT021291@elgar.sibelius.xs4all.nl>

On Wed, Apr 13, 2005 at 08:55:09PM +0200, Mark Kettenis wrote:
>    Date: Wed, 13 Apr 2005 10:07:55 +0930
>    From: Alan Modra <amodra@bigpond.net.au>
> 
>    On Tue, Apr 12, 2005 at 10:43:10PM +0200, Mark Kettenis wrote:
>    > Because there is already code out there that uses the hyphen.  The
>    > reason for preferring the hyphenated names over the unhyphenated names
>    > is that the former are used by the VIA documentation.
> 
>    I don't like the idea of putting '-' in mnemonic_chars.  I think it has
>    a high likelihood of breaking other valid assembly.  The gas app.c code
>    has a nasty habit of completely removing whitespace once past the
>    mnemonic of an instruction, and it can get confused.  Something like
> 
>     addr16 mov -2,%eax
> 
>    might fail if '-' is a valid mnemonic char.
> 
> Well, it doesn't fail.  The patch to tc-i386.c to allow '-' as a
> mnemonic char has been in the OpenBSD tree for more than a year now.
> That means all major Open Source software has been compiled with it.
> So I'd expect any problems with it would have surfaced by now.
> 

I have the same concern as Alan. Unless ALL x86 assembly codes, open
source or otherwise, not just those on OpenBSD, have been assembled
correctly with the modified assembler, I don't think it should go into
the FSF assembler.


H.J.

  reply	other threads:[~2005-04-13 19:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-12 19:15 Mark Kettenis
2005-04-12 20:32 ` Michal Ludvig
2005-04-12 20:43   ` Mark Kettenis
2005-04-13  0:38     ` Alan Modra
2005-04-13 10:43       ` Thorsten Glaser
2005-04-13 18:55       ` Mark Kettenis
2005-04-13 19:29         ` H. J. Lu [this message]
2005-04-13 19:51           ` Mark Kettenis
2005-04-13 12:29 Jan Beulich
     [not found] <s25d1e96.084@emea1-mh.id2.novell.com>
2005-04-13 15:20 ` Thorsten Glaser
2005-04-14  1:26   ` Alan Modra
2005-04-16 11:40     ` Mark Kettenis
2005-04-18  4:44       ` Alan Modra
2005-04-18 21:01         ` Mark Kettenis
2005-04-13 23:35 Marc Espie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050413192952.GA1517@lucon.org \
    --to=hjl@lucon.org \
    --cc=amodra@bigpond.net.au \
    --cc=binutils@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).