From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: joel@OARcorp.com Cc: gas2@cygnus.com Subject: Re: binutils bug you reported (fwd) Date: Thu, 25 Sep 1997 10:00:00 -0000 Message-id: <199709251700.NAA21402@subrogation.cygnus.com> References: X-SW-Source: 1997/msg00018.html Date: Thu, 25 Sep 1997 07:38:20 -0500 (CDT) From: Joel Sherrill 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. ,Dx tblu. 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