[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#697041: atlas: FTBFS: tune/sysinfo/GetSysSum.c:47: GetL1CacheSize: Assertion `system(ln) == 0' failed



On Sun, Jul 28, 2013 at 10:07 PM, Thorsten Glaser <tg@mirbsd.de> wrote:
> S�bastien Villemot dixit:
>
>>In order to fix this, we need to pre-compute so-called "architectural
>>defaults" for m68k. These are pre-computed timings that will speed up
>>dramatically the build of the package.
>
> I wonder: *does* m68k have something like an L1 cache, at all?

Depends.

68000 has nothing
68010/68012 has 2 instruction loop mode (better than nothing ;-)
68020 has 256 bytes instruction cache (IC)
68030 has 256 bytes IC and 256 bytes data cache (DC)
68040 has 4 KiB IC and 4 KiB DC
68060 has 8 KiB IC and 8 KiB DC

That's for the classic m68k. Coldfire is different.

> Calculated L1 cache size = 8kb; Correct=0

Hmm, 68060...

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


Reply to: