This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Need help with -m68060 switch on egcs-1.1b



On Mon, 30 Nov 1998, Kirk Hobart wrote:

> The -m68060 switch isn't working as I expect on my newly-built egcs-1.1b
> cross-compiler. (Host i586-pc-linux, target m68k-coff.) The switch is
> supposed to avoid CPU opcodes not implemented by the 68060, but the
> compiler still emits troublesome opcodes such as:
> 
>   mulul %d3,%d1,%d0
>   fdmulx %fp4,%fp3
> 
> I've seen this same thing on other egcs-based cross-compilers. Hmmm.
> 
> Can anyone shed some light on this, please? Do I need to re-build the
> cross-compiler in some special way?
> 
> After I get the compiler working, I'll need to re-build the libraries
> because they also contain unimplemented opcodes. How do I do that?
> Re-configure with -enable-cpu-68060, or what?

There are two ways to handle this.  Motorola should have a 68060 FPSP on
their web site package to handle these instructions.  There was one for
the 68040.  

Alternatively, report this as a problem to egcs@cygnus.com.  Offer a fix
if you can. :)  

--joel
Joel Sherrill                    Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985




_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.