[Oberon] [SPAM] [SPAM | WERBUNG] Re: Is there an Oberon System 3 or 4 version known to work on modern Linux kernels?
Michael Schierl
schierlm at gmx.de
Thu Jul 24 23:28:02 CEST 2025
Hello Rochus,
Am 24.07.2025 um 02:19 schrieb Rochus Keller:
>
> In case anyone is interested, I migrated a subset of the Are-we-fast-yet benchmark suite to Oberon 90
> and run it on the Oberon System V4 release 1.7 x86 on two different machines and Linux versions.
>
> The summary can be found at github.com/rochus-keller/Are-we-fast-yet/blob/main/Oberon90/Results/Summary.md
> It compares the Oberon with the C performance with different optimization levels.
That does not surprise me at all. More interesting would be using a
"period correct" gcc version (i.e. something created at the same time as
the Oberon compiler, more like gcc2 than gcc12).
Or at least limit it to the instruction set emitted by the Oberon
compiler (I assume it is equivalent to -march=i386). Modern gcc versions
usually either target MMX or even AVX and this makes a huge difference
when unrolling loops with maths in them.
And on the other hand, when you want to see what an optimizing compiler
can do on your machine, use "-march=native -mtune=native" to generate
code that uses the exact instruction set of the machine you are
compiling on (Spoiler: Probably not much difference. However, it will
*decrease* the gap between 32-bit and 64-bit as the default 32-bit
target is something like Pentium2 and the default 64-bit target is quite
a bit newer).
Regards,
Michael
More information about the Oberon
mailing list