public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: kevin diggs <diggskevin38@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: any m68k gurus out there?
Date: Sun, 27 Feb 2011 19:04:00 -0000	[thread overview]
Message-ID: <AANLkTim-Gg-jAiogpo+YnXy2-jrnG6TvtFw2CuMyn16o@mail.gmail.com> (raw)

Hi,

While trying to REBUILD gcc 3.4.6 (using a -O0 version of itself) on a
68040 (Quadra 700, NetBSD 1.6.1) I am getting:

floatformat.s: Assembler messages:
floatformat.s:1047: Error: operands mismatch -- statement `fmovem.l
%fpcr,%d5' ignored
floatformat.s:1163: Error: operands mismatch -- statement `fmovem.l
%fpcr,%d5' ignored

during the build of libiberty. Ignore the .s. That is from some test
runs on floatformat.c

The base compiler is 2.95.3. When I tried to build binutils 2.16.1 using:

-O2 -m68040 -fomit-frame-pointer

I ended up with a lot of segfault and/or illegal instruction
utilities. Switching to:

-O0 -m68040

did seem to work. So I used the same to build the compiler. I then
tried to rebuild the compiler with its -O0 self. Except this time I
also tried to use the new binutils.

I checked the M68000PRM.pdf and this does seem to be a valid
instruction. Is the assembler messed up?

Thanks!

kevin

             reply	other threads:[~2011-02-27 18:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27 19:04 kevin diggs [this message]
2011-02-27 20:32 ` Ian Lance Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTim-Gg-jAiogpo+YnXy2-jrnG6TvtFw2CuMyn16o@mail.gmail.com \
    --to=diggskevin38@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).