Skip to content

Libretro core - enable JIT for armv7a #1807

@cscd98

Description

@cscd98

Is your feature request related to a problem? Please describe.
Libretro - enable JIT for armv7a

Describe the solution you'd like
I have compiled the libretro core for webOS (which is linux running a 64-bit ARM CPU but with 32-bit operating system) e.g. output:

arm-webos-linux-gnueabi-g++ -I../src -I../src/include -I../src/osdep/libretro -I../src/osdep -I../src/threaddep -I../src/archivers -I../external/floppybridge/src -I. -I./libco -I./libretro-common/include  -fPIC -fvisibility=hidden -ffunction-sections -fdata-sections -O3 -g -DNDEBUG -DAMIBERRY -DLIBRETRO -DUTF8PROC_STATIC -D_FILE_OFFSET_BITS=64 -DAMIBERRY_DATADIR=\".\" -DAMIBERRY_LIBDIR=\".\" -DAMIBERRY_VERSION=\"8.0.0\" -DAMIBERRY_VERSION_PRE_RELEASE=\"\" -DAMIBERRY_VERSION_MAJOR=8 -DAMIBERRY_VERSION_MINOR=0 -DAMIBERRY_VERSION_PATCH=0 -DAMIBERRY_IS_PRE_RELEASE=0 -DAMIBERRY_BUILD_YEAR=2026 -DAMIBERRY_BUILD_MONTH=2 -DAMIBERRY_BUILD_DAY=22 -DAMIBERRY_BUILD_DATE=\"2026-02-22\" -DOSDEP_GFX_PLATFORM_HEADER=\"libretro/gfx_platform_internal.h\" -DOSDEP_AMIBERRY_PLATFORM_HEADER=\"libretro/amiberry_platform_internal.h\" -DOSDEP_INPUT_PLATFORM_HEADER=\"libretro/input_platform_internal.h\" -DOSDEP_GUI_HANDLING_HEADER=\"libretro/gui_handling_platform.h\" -DCHD_FLAC_PLATFORM_HEADER=\"flac_platform_internal_libretro.h\" -DSOUND_PLATFORM_HEADER=\"sound_platform_internal_libretro.h\" -DWITH_MIDI -DCPU_ARM -c -o ../src/a2065.o ../src/a2065.cpp

Performance should be a lot better - I assume the JIT is not being enabled? The original PR did mention no JIT at present.

Describe alternatives you've considered

Additional context

Love Amiberry? Please consider supporting it:
👉 https://ko-fi.com/midwan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions