This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ppc instructions in gas


On Thu, May 06, 1999 at 04:11:59PM -0600, Cort Dougan wrote:
> } Which instruction were you trying to fix?  "liu" perhaps? 
> } As-is, it affects instructions like "addis", and you can't
> } really add +50000, can you?
>
> You're right, addis takes a signed 16-bit number.  Things like lis and oris
> take an unsigned 16-bit number, though.  They both use SISIGNOPT.

Then the right thing to do is make those insns use UI instead.

Not having a ppc manual handy, can you provide a complete list
of the incorrect instructions?  Or better yet, a patch?  ;-)


r~