This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
m68k gas fp register lists?
- To: binutils at sourceware dot cygnus dot com
- Subject: m68k gas fp register lists?
- From: Brad Parker <brad at parker dot boston dot ma dot us>
- Date: Tue, 25 Apr 2000 14:07:17 -0400 (EDT)
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