Re: GCC8 v.s. amiga
Rin Okuyama <[email protected]> Sat, 27 Jun 2020 16:32:57 +0900
| Newsgroups | gmane.os.netbsd.ports.amiga |
|---|---|
| Message-ID | <[email protected]> |
Hi, On 2020/06/25 20:26, Michael van Elst wrote: > [email protected] (Rin Okuyama) writes: > >> kernels for sun3 and luna68k seem (almost) OK. Kernel for mac68k >> works if -fno-omit-frame-pointer is specified (-fomit-frame-pointer >> is enabled by default for optimize levels >= -O1 for GCC8). > > Just tried a gcc8 compiled 9.99.68 kernel on an emulated 68040 Amiga. > No problems to see. Thank you very much for testing! Hmm, then it is problem peculiar to 68060, or GCC miscompile something with tuning for 68060. I observed the problem both for -m68060 and -m68020-60. Which compiler flag do you use? Do you use GENERIC? Then, it is compiled with -m68020-60 by arch/m68k/Makefile.cmachflags... Or emulator accepts some kinds of instructions that do not work on real hardwares? Thanks, rin