[Gambas-user] Problems with interpreter optimization and CPU behaviour

Jussi Lahtinen jussi.lahtinen at gmail.com
Sat Oct 8 22:59:52 CEST 2022


Very complicated stuff... have you tried to compile the interpreter with
Clang?

Jussi

On Sat, Oct 8, 2022 at 11:11 PM Benoit Minisini <
benoit.minisini at gambas-basic.org> wrote:

> Le 08/10/2022 à 20:44, Benoit Minisini a écrit :
> > Le 08/10/2022 à 20:15, Jussi Lahtinen a écrit :
> >> Could be some limit in the speculative execution. Any correlations to
> >> the L1 - L4 cache sizes of your CPU?
> >>
> >> Jussi
> >>
> >
> > My Ryzen 5700G L1 cache size is 64Kb by core, according to this link:
> > https://www.techpowerup.com/cpu-specs/ryzen-7-5700g.c2472
> >
> > The object file of the interpreter loop (gbx_exec_loop.c) has less than
> > 32Kb of machine code inside according to 'objdump'.
> >
>
> OK, L1 cache is usually divided in two: one half for instructions,
> another half for the data. So the interpreter loop must be less than 32K.
>
> What to put elsewhere? How to reduce the verbosity of the x86
> instructions? Difficult problems...
>
> --
> Benoît Minisini.
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20221008/f56bd210/attachment.htm>


More information about the User mailing list