[Gambas-Notification] [Git][gambas/gambas][master] Various optimizations of the interpreter execution loop.

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Tue Oct 4 01:06:23 CEST 2022



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
50893e77 by Benoît Minisini at 2022-10-04T01:04:15+02:00
Various optimizations of the interpreter execution loop.

[COMPILER]
* OPT: Support for local variable manipulation optimization.

[INTERPRETER]
* OPT: Avoid unneeded type conversion swhen manipulating local variables.
* OPT: Various optimizations of the interpreter execution loop. Apparently a smaller execution loop has a big impact on speed. I guess this is related to the size of the various CPU caches.

- - - - -


12 changed files:

- main/gbc/gbc_trans_expr.c
- main/gbc/gbc_type.h
- main/gbx/gbx_exec.h
- main/gbx/gbx_exec_loop.c
- main/gbx/gbx_subr_extern.c
- main/gbx/gbx_value.c
- main/gbx/gbx_value.h
- main/lib/jit/jit_body.c
- main/share/gb_code.h
- main/share/gb_code_temp.h
- main/share/gb_pcode.h
- main/share/gb_pcode_temp.h


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/50893e77cb133ae750357cccee6a05bf88b11bf3

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/50893e77cb133ae750357cccee6a05bf88b11bf3
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20221003/0be6575e/attachment.htm>


More information about the Notification mailing list