m68k gas fp register lists?
Brad Parker
brad@parker.boston.ma.us
Tue Apr 25 11:20:00 GMT 2000
I built binutils-000425 on a FreeBSD system, cross compiling for m68k.
As an experiment I tried to build part of the linux-2.2.14 kernel.
I found that some valid 68k instructions would generate parse errors. This
seems odd to me, since Linux uses gcc/gas as it's compiler. It makes me
think I did something wrong building gas...
Any idea why these instructions would generate parse errors? Adding
-m68020 or -m68040 did not help.
I configured with:
configure --host=i386-unknown-freebsdelf3.3 --target=m68k-elf --prefix=/opt/gcc-m68k -v
These fail:
pmove %a0@,%tt0
pmove %a0@,%tt1
fmoveml %fpcr/%fpsr/%fpiar,%a0@(TASK_TSS+TSS_FPCNTL)
fmoveml %a1@(TASK_TSS+TSS_FPCNTL),%fpcr/%fpsr/%fpiar
And, of course, these work
fmoveml %a1@(TASK_TSS+TSS_FPCNTL),%fpiar
fmoveml %a1@(TASK_TSS+TSS_FPCNTL),%fpsr
fmoveml %a1@(TASK_TSS+TSS_FPCNTL),%fpcr
but a register list should be valid. And these instructions are from a
checked in linux kernel, so there must be a gas somewhere which compiles
them...
-brad
More information about the Binutils
mailing list