public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
From: "J. Johnston" <jjohnstn@cygnus.com>
To: cgen@sources.redhat.com
Subject: derived operands
Date: Mon, 19 Mar 2001 10:48:00 -0000	[thread overview]
Message-ID: <3AB65497.3F8C6737@cygnus.com> (raw)

I recently ran into a problem that I tracked down to a derived-operand I used directly in an
instruction (i.e. did not wrapper it in an anyof-operand).  CGEN generated my opcode files fine,
however, when I attempted to assemble the insn that referred to the dndo, I got an assembler parse
error because it did not recognize the opindex of the dndo operand.  Adding an anyof-operand with
one choice solved the problem and I have since reworked my code so that I use the anyof-operand
properly to encapsulate two choices.

Is it intentional that a derived-operand cannot be used directly as an operand in an instruction? 
If yes, could CGEN at least fail when generating the opcodes files?

-- Jeff J.

             reply	other threads:[~2001-03-19 10:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-19 10:48 J. Johnston [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-10-05 16:21 Derived Operands Tracy.Kuhrt
2000-10-06 19:36 ` Frank Ch. Eigler

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=3AB65497.3F8C6737@cygnus.com \
    --to=jjohnstn@cygnus.com \
    --cc=cgen@sources.redhat.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).