public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@cygnus.com>
To: joel@OARcorp.com
Cc: gas2@cygnus.com
Subject: Re: binutils bug you reported (fwd)
Date: Thu, 25 Sep 1997 10:00:00 -0000	[thread overview]
Message-ID: <199709251700.NAA21402@subrogation.cygnus.com> (raw)
In-Reply-To: <Pine.BSF.3.96.970925073710.16864A-100000@vespucci.advicom.net>

   Date: Thu, 25 Sep 1997 07:38:20 -0500 (CDT)
   From: Joel Sherrill <joel@OARcorp.com>

   2. 'tblu.w a0@,d0' won't assemble. The error message tells something about
	   'invalid operand'. The table lookup and interpolate opcode  
   (tbls, tblsn,
	   tblu, tblun) allows two types of operands:

	     eg:
		   tblu.<size>     <ea>,Dx
		   tblu.<size>     Dym:Dyn,Dx

Interesting.  My basic Motorola manual says that tbls does not permits
a0@, although it does permit a0@-, and that is what gas implements.
However, the manual also says that tblu permits both a0@ and a0@-, and
gas does not implement that.

I checked a CPU32 specific manual, and it says that both instructions
support a0@, and neither supports a0@-.

I couldn't get any useful information from the Motorola web site.

Since a0@- doesn't really make sense for these instructions, I'll
change gas to not permit a0@-, but to permit a0@, for both.

Either way, the submitted patch is wrong, since it permits operand
types which are not actually permitted.

Ian

  reply	other threads:[~1997-09-25 10:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-25  6:16 Joel Sherrill
1997-09-25 10:00 ` Ian Lance Taylor [this message]
1997-09-25 10:28   ` Joel Sherrill

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=199709251700.NAA21402@subrogation.cygnus.com \
    --to=ian@cygnus.com \
    --cc=gas2@cygnus.com \
    --cc=joel@OARcorp.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).