FPC do not generate jump table for big case statements at x86_64/AMD64
Original Reporter info from Mantis: benjamin@0ok.de @bero1985
-
Reporter name: Benjamin Rosseaux
Original Reporter info from Mantis: benjamin@0ok.de @bero1985
- Reporter name: Benjamin Rosseaux
Description:
FPC do not generate jump table for big case statements at the x86_64/AMD64 target. This is a big performance issue for example for threaded virtual machine byte code interpreters for the byte code opcode handlers, which are implemented in pascal, for example in my projects BESEN and Poca. And this is even a big performance issues at emulators, which are implemented in pascal, for example in my c64 emulator projects Micro64, Hyper64, etc.
So my feature request is thence, that the x86_64/amd64 code generator will also get a jump table codegeneration for big case statments.
Mantis conversion info:
- Mantis ID: 18675
- OS: every
- OS Build: every
- Build: 2010/02/01
- Platform: X86_64
- Version: 2.5.1
- Monitored by: » Jasper (Jasper Neumann)