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] |
On Thu, May 06, 1999 at 06:08:06PM -0600, Cort Dougan wrote: > As it is, gcc (32-bit mode) generates > code that will do a lis of 0xffff (the unsigned value) which shouldn't work > according to the manual. When I do this for 64-bit with egcs it will not > assemble. We should fix gcc then. That should not be hard at all. > Right, it should complain for both 32 and 64 bit. It only complains for > 64-bit now, though. So I don't know if I should fix our asm (probably not, > even though according to the manual it's incorrect but gcc generates the > same code). > > If I can change those operands to be unsigned it will still load a 16 bit > value correctly but will allow things to work according to the manual and > the egcs generated code. > > Can we make these critters unsigned? I don't know of any code that > requires they be signed anywhere. I'm not real comfortable just changing it. Who knows what sort of code is out there. I wouldn't be adverse to reducing the error to a warning in 32-bit mode though. r~