Re: [PATCH 32/35] m68k: add ColdFire FPU support for the V4e ColdFire CPU's

Geert Uytterhoeven
2011-12-28T10:06:45Z

Hi Greg,

On Wed, Dec 28, 2011 at 06:53, Greg Ungerer <gerg@snapgear.com> wrote:
> If we are compiling specifically for a 68040 machine, where we put
> a -m68040 switch on the command line, isn't all these ".chip 68k"
> lines going to undo the CPU choice - and result in us now compiling
> large parts of the code for the default 68020 instead of the chosen
> 68040?

No, it's a directive for the assembler, not for the compiler.
It may cause issues for mnemonics (generated by the compiler) that
exist for both classic and coldfire, but have different opcodes.
Do these actually exist?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds