Mail Archives: djgpp/1997/05/20/10:05:14
> >gcc @../../gcc.opt -I. -I- -I../../../include -Wno-error -Wno-strict-prototypes
> >-D_USE_LIBM_MATH_H -c s_finite.S
> >e:/djgpp/tmp/ccaaaaaa.s: Assembler messages:
> >e:/djgpp/tmp/ccaaaaaa.s:114: Error: register does not match opcode suffix
> >make.exe: *** [s_finite.o] Error 1
>
> It appears to be pointing to the "ret" instruction at the end of
> s_finite.s, which seems no different than any of the other source files
> in the dir.
> Anyone have any ideas?
I think (going by memory here), that it chokes on
setXXl reg8
In this specific case
setnel %al
Try changing it to
setneb %al
This should get it to compile anyway. Although I'm not sure
how it ever worked (but I don't know at&t syntax) as setXX can only
operate on byte sized registers, never dword registers. You'll see
this same problem in a couple of places.
Andrew
- Raw text -