From: "Will Newton" <will.newton@gmail.com>
To: "Dave Brolley" <brolley@redhat.com>
Cc: "Will Newton" <will.newton@imgtec.com>, cgen@sources.redhat.com
Subject: Re: Assembler syntax with embedded spaces
Date: Tue, 08 Jan 2008 15:55:00 -0000 [thread overview]
Message-ID: <87a5b0800801080755m13457d2dx94f7506f796ae5d4@mail.gmail.com> (raw)
In-Reply-To: <4783977B.3020202@redhat.com>
On Jan 8, 2008 3:32 PM, Dave Brolley <brolley@redhat.com> wrote:
> CGEN will likely have problems with a prefix containing whitespace, i.e.
> 'fd '. You will probably have to code 2 versions of the insn(s), one
> with the prefix and one without. pmacros may be useful for you here in
> order to reduce duplicate typing.
I've just had a dig in the cgen source and noticed this comment in insn.scm:
; Return instruction mnemonic.
; This is computed from the syntax string.
; The mnemonic, as we define it, is everything up to, but not including, the
; first space or '$'.
; FIXME: Rename to syntax-mnemonic, and take a syntax string argument.
and opc-itab.scm:
; Strip the mnemonic part from SYNTAX.
; (ie: everything up to but not including the first space or '$')
; If STRIP-MNEM-OPERANDS?, strip them too.
I'm not sure what I want to do is possible.
next prev parent reply other threads:[~2008-01-08 15:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-08 15:26 Will Newton
2008-01-08 15:32 ` Dave Brolley
2008-01-08 15:55 ` Will Newton [this message]
2008-01-08 17:46 ` Dave Brolley
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=87a5b0800801080755m13457d2dx94f7506f796ae5d4@mail.gmail.com \
--to=will.newton@gmail.com \
--cc=brolley@redhat.com \
--cc=cgen@sources.redhat.com \
--cc=will.newton@imgtec.com \
/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).