From c27afa6ad80ee0e7e82e8aa23cfbe83a9387ef75 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Sun, 12 Nov 2023 22:36:52 +0100 Subject: [PATCH 1/3] ci: test adding JIT files in Cmake for AARCH64 only --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c2eb187b2..ca177c266 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -271,6 +271,16 @@ add_executable(${PROJECT_NAME} src/cpuemu_44.cpp ) +if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64") + target_sources(${PROJECT_NAME} PRIVATE + src/osdep/aarch64_helper.s + src/jit/compemu.cpp + src/jit/compstbl.cpp + src/jit/compemu_fpp.cpp + src/jit/compemu_support.cpp + ) +endif() + INCLUDE(FindPkgConfig) PKG_SEARCH_MODULE(SDL2 REQUIRED SDL2) From 9d2e28351652f461323bc1a4f19a9dd21b054f2e Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Mon, 13 Nov 2023 10:17:47 +0100 Subject: [PATCH 2/3] build: CMake file now supports AARCH64 as well --- CMakeLists.txt | 291 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 281 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca177c266..227e9955b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,6 @@ cmake_minimum_required(VERSION 3.16) project(amiberry) +enable_language(C ASM) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_FLAGS "-fno-pie -fno-PIE -no-pie") @@ -18,7 +19,286 @@ include_directories( add_subdirectory(external/libguisan) add_definitions(-DAMIBERRY -D_FILE_OFFSET_BITS=64) -add_executable(${PROJECT_NAME} +include(CheckSymbolExists) +function(detect_architecture symbol arch) + if (NOT DEFINED ARCHITECTURE) + set(CMAKE_REQUIRED_QUIET 1) + check_symbol_exists("${symbol}" "" ARCHITECTURE_${arch}) + unset(CMAKE_REQUIRED_QUIET) + + # The output variable needs to be unique across invocations otherwise + # CMake's crazy scope rules will keep it defined + if (ARCHITECTURE_${arch}) + set(ARCHITECTURE "${arch}" PARENT_SCOPE) + endif() + endif() +endfunction() + +detect_architecture("__x86_64__" x86_64) +detect_architecture("__aarch64__" arm64) +message(STATUS "Target architecture: ${ARCHITECTURE}") + +if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64" OR ARCHITECTURE MATCHES "arm64") + add_definitions(-DCPU_AARCH64) + add_executable(${PROJECT_NAME} + src/akiko.cpp + src/ar.cpp + src/audio.cpp + src/autoconf.cpp + src/blitfunc.cpp + src/blittable.cpp + src/blitter.cpp + src/blkdev.cpp + src/blkdev_cdimage.cpp + src/bsdsocket.cpp + src/calc.cpp + src/cd32_fmv.cpp + src/cd32_fmv_genlock.cpp + src/cdrom.cpp + src/cdtv.cpp + src/cdtvcr.cpp + src/cfgfile.cpp + src/cia.cpp + src/consolehook.cpp + src/crc32.cpp + src/custom.cpp + src/debug.cpp + src/def_icons.cpp + src/devices.cpp + src/disk.cpp + src/diskutil.cpp + src/dlopen.cpp + src/dongle.cpp + src/drawing.cpp + src/driveclick.cpp + src/events.cpp + src/expansion.cpp + src/fdi2raw.cpp + src/filesys.cpp + src/flashrom.cpp + src/fpp.cpp + src/fsdb.cpp + src/fsusage.cpp + src/gayle.cpp + src/gfxboard.cpp + src/gfxutil.cpp + src/hardfile.cpp + src/hrtmon.rom.cpp + src/ide.cpp + src/ini.cpp + src/inputdevice.cpp + src/inputrecord.cpp + src/isofs.cpp + src/keybuf.cpp + src/main.cpp + src/memory.cpp + src/native2amiga.cpp + src/parser.cpp + src/rommgr.cpp + src/rtc.cpp + src/sampler.cpp + src/savestate.cpp + src/scp.cpp + src/scsi.cpp + src/scsiemul.cpp + src/scsitape.cpp + src/statusline.cpp + src/tabletlibrary.cpp + src/tinyxml2.cpp + src/traps.cpp + src/uaeexe.cpp + src/uaelib.cpp + src/uaenative.cpp + src/uaeresource.cpp + src/uaeserial.cpp + src/zfile.cpp + src/zfile_archive.cpp + src/archivers/7z/7zAlloc.c + src/archivers/7z/7zArcIn.c + src/archivers/7z/7zBuf.c + src/archivers/7z/7zBuf2.c + src/archivers/7z/7zCrc.c + src/archivers/7z/7zCrcOpt.c + src/archivers/7z/7zDec.c + src/archivers/7z/7zFile.c + src/archivers/7z/7zStream.c + src/archivers/7z/Aes.c + src/archivers/7z/AesOpt.c + src/archivers/7z/Alloc.c + src/archivers/7z/Bcj2.c + src/archivers/7z/Bra.c + src/archivers/7z/Bra86.c + src/archivers/7z/BraIA64.c + src/archivers/7z/CpuArch.c + src/archivers/7z/Delta.c + src/archivers/7z/LzFind.c + src/archivers/7z/Lzma2Dec.c + src/archivers/7z/Lzma2Enc.c + src/archivers/7z/Lzma86Dec.c + src/archivers/7z/Lzma86Enc.c + src/archivers/7z/LzmaDec.c + src/archivers/7z/LzmaEnc.c + src/archivers/7z/LzmaLib.c + src/archivers/7z/Ppmd7.c + src/archivers/7z/Ppmd7Dec.c + src/archivers/7z/Ppmd7Enc.c + src/archivers/7z/Sha256.c + src/archivers/7z/Sort.c + src/archivers/7z/Xz.c + src/archivers/7z/XzCrc64.c + src/archivers/7z/XzCrc64Opt.c + src/archivers/7z/XzDec.c + src/archivers/7z/XzEnc.c + src/archivers/7z/XzIn.c + src/archivers/chd/avhuff.cpp + src/archivers/chd/bitmap.cpp + src/archivers/chd/cdrom.cpp + src/archivers/chd/chd.cpp + src/archivers/chd/chdcd.cpp + src/archivers/chd/chdcodec.cpp + src/archivers/chd/corealloc.cpp + src/archivers/chd/corefile.cpp + src/archivers/chd/corestr.cpp + src/archivers/chd/flac.cpp + src/archivers/chd/harddisk.cpp + src/archivers/chd/hashing.cpp + src/archivers/chd/huffman.cpp + src/archivers/chd/md5.cpp + src/archivers/chd/osdcore.cpp + src/archivers/chd/osdlib_unix.cpp + src/archivers/chd/osdsync.cpp + src/archivers/chd/palette.cpp + src/archivers/chd/posixdir.cpp + src/archivers/chd/posixfile.cpp + src/archivers/chd/posixptty.cpp + src/archivers/chd/posixsocket.cpp + src/archivers/chd/strconv.cpp + src/archivers/chd/strformat.cpp + src/archivers/chd/unicode.cpp + src/archivers/chd/vecstream.cpp + src/archivers/chd/utf8proc.c + src/archivers/dms/crc_csum.cpp + src/archivers/dms/getbits.cpp + src/archivers/dms/maketbl.cpp + src/archivers/dms/pfile.cpp + src/archivers/dms/tables.cpp + src/archivers/dms/u_deep.cpp + src/archivers/dms/u_heavy.cpp + src/archivers/dms/u_init.cpp + src/archivers/dms/u_medium.cpp + src/archivers/dms/u_quick.cpp + src/archivers/dms/u_rle.cpp + src/archivers/lha/crcio.cpp + src/archivers/lha/dhuf.cpp + src/archivers/lha/header.cpp + src/archivers/lha/huf.cpp + src/archivers/lha/larc.cpp + src/archivers/lha/lhamaketbl.cpp + src/archivers/lha/lharc.cpp + src/archivers/lha/shuf.cpp + src/archivers/lha/shuf.cpp + src/archivers/lha/slide.cpp + src/archivers/lha/uae_lha.cpp + src/archivers/lha/util.cpp + src/archivers/lzx/unlzx.cpp + src/archivers/mp2/kjmp2.cpp + src/archivers/wrp/warp.cpp + src/archivers/zip/unzip.cpp + src/caps/caps_amiberry.cpp + src/machdep/support.cpp + src/floppybridge/ArduinoFloppyBridge.cpp + src/floppybridge/ArduinoInterface.cpp + src/floppybridge/CommonBridgeTemplate.cpp + src/floppybridge/floppybridge_lib.cpp + src/floppybridge/ftdi.cpp + src/floppybridge/GreaseWeazleBridge.cpp + src/floppybridge/GreaseWeazleInterface.cpp + src/floppybridge/pll.cpp + src/floppybridge/RotationExtractor.cpp + src/floppybridge/SerialIO.cpp + src/floppybridge/SuperCardProBridge.cpp + src/floppybridge/SuperCardProInterface.cpp + src/floppybridge/FloppyBridge.cpp + src/osdep/ahi_v1.cpp + src/osdep/bsdsocket_host.cpp + src/osdep/cda_play.cpp + src/osdep/charset.cpp + src/osdep/fsdb_host.cpp + src/osdep/clipboard.cpp + src/osdep/amiberry_hardfile.cpp + src/osdep/keyboard.cpp + src/osdep/mp3decoder.cpp + src/osdep/picasso96.cpp + src/osdep/writelog.cpp + src/osdep/amiberry.cpp + src/osdep/ahi_v2.cpp + src/osdep/amiberry_filesys.cpp + src/osdep/amiberry_input.cpp + src/osdep/amiberry_gfx.cpp + src/osdep/amiberry_gui.cpp + src/osdep/amiberry_mem.cpp + src/osdep/amiberry_serial.cpp + src/osdep/amiberry_whdbooter.cpp + src/osdep/sigsegv_handler.cpp + src/osdep/retroarch.cpp + src/sounddep/sound.cpp + src/threaddep/threading.cpp + src/osdep/gui/ControllerMap.cpp + src/osdep/gui/SelectorEntry.cpp + src/osdep/gui/ShowHelp.cpp + src/osdep/gui/ShowMessage.cpp + src/osdep/gui/ShowDiskInfo.cpp + src/osdep/gui/SelectFolder.cpp + src/osdep/gui/SelectFile.cpp + src/osdep/gui/CreateFilesysHardfile.cpp + src/osdep/gui/EditFilesysVirtual.cpp + src/osdep/gui/EditFilesysHardfile.cpp + src/osdep/gui/EditFilesysHardDrive.cpp + src/osdep/gui/PanelAbout.cpp + src/osdep/gui/PanelPaths.cpp + src/osdep/gui/PanelQuickstart.cpp + src/osdep/gui/PanelConfig.cpp + src/osdep/gui/PanelCPU.cpp + src/osdep/gui/PanelChipset.cpp + src/osdep/gui/PanelCustom.cpp + src/osdep/gui/PanelROM.cpp + src/osdep/gui/PanelRAM.cpp + src/osdep/gui/PanelFloppy.cpp + src/osdep/gui/PanelExpansions.cpp + src/osdep/gui/PanelHD.cpp + src/osdep/gui/PanelRTG.cpp + src/osdep/gui/PanelHWInfo.cpp + src/osdep/gui/PanelInput.cpp + src/osdep/gui/PanelIOPorts.cpp + src/osdep/gui/PanelDisplay.cpp + src/osdep/gui/PanelSound.cpp + src/osdep/gui/PanelDiskSwapper.cpp + src/osdep/gui/PanelMisc.cpp + src/osdep/gui/PanelPrio.cpp + src/osdep/gui/PanelSavestate.cpp + src/osdep/gui/PanelVirtualKeyboard.cpp + src/osdep/gui/main_window.cpp + src/osdep/gui/Navigation.cpp + src/osdep/vkbd/vkbd.cpp + src/newcpu.cpp + src/newcpu_common.cpp + src/readcpu.cpp + src/cpudefs.cpp + src/cpustbl.cpp + src/cpuemu_0.cpp + src/cpuemu_4.cpp + src/cpuemu_11.cpp + src/cpuemu_13.cpp + src/cpuemu_40.cpp + src/cpuemu_44.cpp + src/osdep/aarch64_helper.s + src/jit/compemu.cpp + src/jit/compstbl.cpp + src/jit/compemu_fpp.cpp + src/jit/compemu_support.cpp + ) +else() + add_executable(${PROJECT_NAME} src/akiko.cpp src/ar.cpp src/audio.cpp @@ -269,15 +549,6 @@ add_executable(${PROJECT_NAME} src/cpuemu_13.cpp src/cpuemu_40.cpp src/cpuemu_44.cpp - ) - -if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64") - target_sources(${PROJECT_NAME} PRIVATE - src/osdep/aarch64_helper.s - src/jit/compemu.cpp - src/jit/compstbl.cpp - src/jit/compemu_fpp.cpp - src/jit/compemu_support.cpp ) endif() From 9445c345ac3e41831d66cead1a070cafb2b615e5 Mon Sep 17 00:00:00 2001 From: Dimitris Panokostas Date: Mon, 13 Nov 2023 10:28:47 +0100 Subject: [PATCH 3/3] build: Cmake file cleanup Remove duplicate entries --- CMakeLists.txt | 768 +++++++++++++++++-------------------------------- 1 file changed, 259 insertions(+), 509 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 227e9955b..4374ab345 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,517 +38,267 @@ detect_architecture("__x86_64__" x86_64) detect_architecture("__aarch64__" arm64) message(STATUS "Target architecture: ${ARCHITECTURE}") +add_executable(${PROJECT_NAME} + src/akiko.cpp + src/ar.cpp + src/audio.cpp + src/autoconf.cpp + src/blitfunc.cpp + src/blittable.cpp + src/blitter.cpp + src/blkdev.cpp + src/blkdev_cdimage.cpp + src/bsdsocket.cpp + src/calc.cpp + src/cd32_fmv.cpp + src/cd32_fmv_genlock.cpp + src/cdrom.cpp + src/cdtv.cpp + src/cdtvcr.cpp + src/cfgfile.cpp + src/cia.cpp + src/consolehook.cpp + src/crc32.cpp + src/custom.cpp + src/debug.cpp + src/def_icons.cpp + src/devices.cpp + src/disk.cpp + src/diskutil.cpp + src/dlopen.cpp + src/dongle.cpp + src/drawing.cpp + src/driveclick.cpp + src/events.cpp + src/expansion.cpp + src/fdi2raw.cpp + src/filesys.cpp + src/flashrom.cpp + src/fpp.cpp + src/fsdb.cpp + src/fsusage.cpp + src/gayle.cpp + src/gfxboard.cpp + src/gfxutil.cpp + src/hardfile.cpp + src/hrtmon.rom.cpp + src/ide.cpp + src/ini.cpp + src/inputdevice.cpp + src/inputrecord.cpp + src/isofs.cpp + src/keybuf.cpp + src/main.cpp + src/memory.cpp + src/native2amiga.cpp + src/parser.cpp + src/rommgr.cpp + src/rtc.cpp + src/sampler.cpp + src/savestate.cpp + src/scp.cpp + src/scsi.cpp + src/scsiemul.cpp + src/scsitape.cpp + src/statusline.cpp + src/tabletlibrary.cpp + src/tinyxml2.cpp + src/traps.cpp + src/uaeexe.cpp + src/uaelib.cpp + src/uaenative.cpp + src/uaeresource.cpp + src/uaeserial.cpp + src/zfile.cpp + src/zfile_archive.cpp + src/archivers/7z/7zAlloc.c + src/archivers/7z/7zArcIn.c + src/archivers/7z/7zBuf.c + src/archivers/7z/7zBuf2.c + src/archivers/7z/7zCrc.c + src/archivers/7z/7zCrcOpt.c + src/archivers/7z/7zDec.c + src/archivers/7z/7zFile.c + src/archivers/7z/7zStream.c + src/archivers/7z/Aes.c + src/archivers/7z/AesOpt.c + src/archivers/7z/Alloc.c + src/archivers/7z/Bcj2.c + src/archivers/7z/Bra.c + src/archivers/7z/Bra86.c + src/archivers/7z/BraIA64.c + src/archivers/7z/CpuArch.c + src/archivers/7z/Delta.c + src/archivers/7z/LzFind.c + src/archivers/7z/Lzma2Dec.c + src/archivers/7z/Lzma2Enc.c + src/archivers/7z/Lzma86Dec.c + src/archivers/7z/Lzma86Enc.c + src/archivers/7z/LzmaDec.c + src/archivers/7z/LzmaEnc.c + src/archivers/7z/LzmaLib.c + src/archivers/7z/Ppmd7.c + src/archivers/7z/Ppmd7Dec.c + src/archivers/7z/Ppmd7Enc.c + src/archivers/7z/Sha256.c + src/archivers/7z/Sort.c + src/archivers/7z/Xz.c + src/archivers/7z/XzCrc64.c + src/archivers/7z/XzCrc64Opt.c + src/archivers/7z/XzDec.c + src/archivers/7z/XzEnc.c + src/archivers/7z/XzIn.c + src/archivers/chd/avhuff.cpp + src/archivers/chd/bitmap.cpp + src/archivers/chd/cdrom.cpp + src/archivers/chd/chd.cpp + src/archivers/chd/chdcd.cpp + src/archivers/chd/chdcodec.cpp + src/archivers/chd/corealloc.cpp + src/archivers/chd/corefile.cpp + src/archivers/chd/corestr.cpp + src/archivers/chd/flac.cpp + src/archivers/chd/harddisk.cpp + src/archivers/chd/hashing.cpp + src/archivers/chd/huffman.cpp + src/archivers/chd/md5.cpp + src/archivers/chd/osdcore.cpp + src/archivers/chd/osdlib_unix.cpp + src/archivers/chd/osdsync.cpp + src/archivers/chd/palette.cpp + src/archivers/chd/posixdir.cpp + src/archivers/chd/posixfile.cpp + src/archivers/chd/posixptty.cpp + src/archivers/chd/posixsocket.cpp + src/archivers/chd/strconv.cpp + src/archivers/chd/strformat.cpp + src/archivers/chd/unicode.cpp + src/archivers/chd/vecstream.cpp + src/archivers/chd/utf8proc.c + src/archivers/dms/crc_csum.cpp + src/archivers/dms/getbits.cpp + src/archivers/dms/maketbl.cpp + src/archivers/dms/pfile.cpp + src/archivers/dms/tables.cpp + src/archivers/dms/u_deep.cpp + src/archivers/dms/u_heavy.cpp + src/archivers/dms/u_init.cpp + src/archivers/dms/u_medium.cpp + src/archivers/dms/u_quick.cpp + src/archivers/dms/u_rle.cpp + src/archivers/lha/crcio.cpp + src/archivers/lha/dhuf.cpp + src/archivers/lha/header.cpp + src/archivers/lha/huf.cpp + src/archivers/lha/larc.cpp + src/archivers/lha/lhamaketbl.cpp + src/archivers/lha/lharc.cpp + src/archivers/lha/shuf.cpp + src/archivers/lha/shuf.cpp + src/archivers/lha/slide.cpp + src/archivers/lha/uae_lha.cpp + src/archivers/lha/util.cpp + src/archivers/lzx/unlzx.cpp + src/archivers/mp2/kjmp2.cpp + src/archivers/wrp/warp.cpp + src/archivers/zip/unzip.cpp + src/caps/caps_amiberry.cpp + src/machdep/support.cpp + src/floppybridge/ArduinoFloppyBridge.cpp + src/floppybridge/ArduinoInterface.cpp + src/floppybridge/CommonBridgeTemplate.cpp + src/floppybridge/floppybridge_lib.cpp + src/floppybridge/ftdi.cpp + src/floppybridge/GreaseWeazleBridge.cpp + src/floppybridge/GreaseWeazleInterface.cpp + src/floppybridge/pll.cpp + src/floppybridge/RotationExtractor.cpp + src/floppybridge/SerialIO.cpp + src/floppybridge/SuperCardProBridge.cpp + src/floppybridge/SuperCardProInterface.cpp + src/floppybridge/FloppyBridge.cpp + src/osdep/ahi_v1.cpp + src/osdep/bsdsocket_host.cpp + src/osdep/cda_play.cpp + src/osdep/charset.cpp + src/osdep/fsdb_host.cpp + src/osdep/clipboard.cpp + src/osdep/amiberry_hardfile.cpp + src/osdep/keyboard.cpp + src/osdep/mp3decoder.cpp + src/osdep/picasso96.cpp + src/osdep/writelog.cpp + src/osdep/amiberry.cpp + src/osdep/ahi_v2.cpp + src/osdep/amiberry_filesys.cpp + src/osdep/amiberry_input.cpp + src/osdep/amiberry_gfx.cpp + src/osdep/amiberry_gui.cpp + src/osdep/amiberry_mem.cpp + src/osdep/amiberry_serial.cpp + src/osdep/amiberry_whdbooter.cpp + src/osdep/sigsegv_handler.cpp + src/osdep/retroarch.cpp + src/sounddep/sound.cpp + src/threaddep/threading.cpp + src/osdep/gui/ControllerMap.cpp + src/osdep/gui/SelectorEntry.cpp + src/osdep/gui/ShowHelp.cpp + src/osdep/gui/ShowMessage.cpp + src/osdep/gui/ShowDiskInfo.cpp + src/osdep/gui/SelectFolder.cpp + src/osdep/gui/SelectFile.cpp + src/osdep/gui/CreateFilesysHardfile.cpp + src/osdep/gui/EditFilesysVirtual.cpp + src/osdep/gui/EditFilesysHardfile.cpp + src/osdep/gui/EditFilesysHardDrive.cpp + src/osdep/gui/PanelAbout.cpp + src/osdep/gui/PanelPaths.cpp + src/osdep/gui/PanelQuickstart.cpp + src/osdep/gui/PanelConfig.cpp + src/osdep/gui/PanelCPU.cpp + src/osdep/gui/PanelChipset.cpp + src/osdep/gui/PanelCustom.cpp + src/osdep/gui/PanelROM.cpp + src/osdep/gui/PanelRAM.cpp + src/osdep/gui/PanelFloppy.cpp + src/osdep/gui/PanelExpansions.cpp + src/osdep/gui/PanelHD.cpp + src/osdep/gui/PanelRTG.cpp + src/osdep/gui/PanelHWInfo.cpp + src/osdep/gui/PanelInput.cpp + src/osdep/gui/PanelIOPorts.cpp + src/osdep/gui/PanelDisplay.cpp + src/osdep/gui/PanelSound.cpp + src/osdep/gui/PanelDiskSwapper.cpp + src/osdep/gui/PanelMisc.cpp + src/osdep/gui/PanelPrio.cpp + src/osdep/gui/PanelSavestate.cpp + src/osdep/gui/PanelVirtualKeyboard.cpp + src/osdep/gui/main_window.cpp + src/osdep/gui/Navigation.cpp + src/osdep/vkbd/vkbd.cpp + src/newcpu.cpp + src/newcpu_common.cpp + src/readcpu.cpp + src/cpudefs.cpp + src/cpustbl.cpp + src/cpuemu_0.cpp + src/cpuemu_4.cpp + src/cpuemu_11.cpp + src/cpuemu_13.cpp + src/cpuemu_40.cpp + src/cpuemu_44.cpp +) + if(CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64" OR ARCHITECTURE MATCHES "arm64") add_definitions(-DCPU_AARCH64) - add_executable(${PROJECT_NAME} - src/akiko.cpp - src/ar.cpp - src/audio.cpp - src/autoconf.cpp - src/blitfunc.cpp - src/blittable.cpp - src/blitter.cpp - src/blkdev.cpp - src/blkdev_cdimage.cpp - src/bsdsocket.cpp - src/calc.cpp - src/cd32_fmv.cpp - src/cd32_fmv_genlock.cpp - src/cdrom.cpp - src/cdtv.cpp - src/cdtvcr.cpp - src/cfgfile.cpp - src/cia.cpp - src/consolehook.cpp - src/crc32.cpp - src/custom.cpp - src/debug.cpp - src/def_icons.cpp - src/devices.cpp - src/disk.cpp - src/diskutil.cpp - src/dlopen.cpp - src/dongle.cpp - src/drawing.cpp - src/driveclick.cpp - src/events.cpp - src/expansion.cpp - src/fdi2raw.cpp - src/filesys.cpp - src/flashrom.cpp - src/fpp.cpp - src/fsdb.cpp - src/fsusage.cpp - src/gayle.cpp - src/gfxboard.cpp - src/gfxutil.cpp - src/hardfile.cpp - src/hrtmon.rom.cpp - src/ide.cpp - src/ini.cpp - src/inputdevice.cpp - src/inputrecord.cpp - src/isofs.cpp - src/keybuf.cpp - src/main.cpp - src/memory.cpp - src/native2amiga.cpp - src/parser.cpp - src/rommgr.cpp - src/rtc.cpp - src/sampler.cpp - src/savestate.cpp - src/scp.cpp - src/scsi.cpp - src/scsiemul.cpp - src/scsitape.cpp - src/statusline.cpp - src/tabletlibrary.cpp - src/tinyxml2.cpp - src/traps.cpp - src/uaeexe.cpp - src/uaelib.cpp - src/uaenative.cpp - src/uaeresource.cpp - src/uaeserial.cpp - src/zfile.cpp - src/zfile_archive.cpp - src/archivers/7z/7zAlloc.c - src/archivers/7z/7zArcIn.c - src/archivers/7z/7zBuf.c - src/archivers/7z/7zBuf2.c - src/archivers/7z/7zCrc.c - src/archivers/7z/7zCrcOpt.c - src/archivers/7z/7zDec.c - src/archivers/7z/7zFile.c - src/archivers/7z/7zStream.c - src/archivers/7z/Aes.c - src/archivers/7z/AesOpt.c - src/archivers/7z/Alloc.c - src/archivers/7z/Bcj2.c - src/archivers/7z/Bra.c - src/archivers/7z/Bra86.c - src/archivers/7z/BraIA64.c - src/archivers/7z/CpuArch.c - src/archivers/7z/Delta.c - src/archivers/7z/LzFind.c - src/archivers/7z/Lzma2Dec.c - src/archivers/7z/Lzma2Enc.c - src/archivers/7z/Lzma86Dec.c - src/archivers/7z/Lzma86Enc.c - src/archivers/7z/LzmaDec.c - src/archivers/7z/LzmaEnc.c - src/archivers/7z/LzmaLib.c - src/archivers/7z/Ppmd7.c - src/archivers/7z/Ppmd7Dec.c - src/archivers/7z/Ppmd7Enc.c - src/archivers/7z/Sha256.c - src/archivers/7z/Sort.c - src/archivers/7z/Xz.c - src/archivers/7z/XzCrc64.c - src/archivers/7z/XzCrc64Opt.c - src/archivers/7z/XzDec.c - src/archivers/7z/XzEnc.c - src/archivers/7z/XzIn.c - src/archivers/chd/avhuff.cpp - src/archivers/chd/bitmap.cpp - src/archivers/chd/cdrom.cpp - src/archivers/chd/chd.cpp - src/archivers/chd/chdcd.cpp - src/archivers/chd/chdcodec.cpp - src/archivers/chd/corealloc.cpp - src/archivers/chd/corefile.cpp - src/archivers/chd/corestr.cpp - src/archivers/chd/flac.cpp - src/archivers/chd/harddisk.cpp - src/archivers/chd/hashing.cpp - src/archivers/chd/huffman.cpp - src/archivers/chd/md5.cpp - src/archivers/chd/osdcore.cpp - src/archivers/chd/osdlib_unix.cpp - src/archivers/chd/osdsync.cpp - src/archivers/chd/palette.cpp - src/archivers/chd/posixdir.cpp - src/archivers/chd/posixfile.cpp - src/archivers/chd/posixptty.cpp - src/archivers/chd/posixsocket.cpp - src/archivers/chd/strconv.cpp - src/archivers/chd/strformat.cpp - src/archivers/chd/unicode.cpp - src/archivers/chd/vecstream.cpp - src/archivers/chd/utf8proc.c - src/archivers/dms/crc_csum.cpp - src/archivers/dms/getbits.cpp - src/archivers/dms/maketbl.cpp - src/archivers/dms/pfile.cpp - src/archivers/dms/tables.cpp - src/archivers/dms/u_deep.cpp - src/archivers/dms/u_heavy.cpp - src/archivers/dms/u_init.cpp - src/archivers/dms/u_medium.cpp - src/archivers/dms/u_quick.cpp - src/archivers/dms/u_rle.cpp - src/archivers/lha/crcio.cpp - src/archivers/lha/dhuf.cpp - src/archivers/lha/header.cpp - src/archivers/lha/huf.cpp - src/archivers/lha/larc.cpp - src/archivers/lha/lhamaketbl.cpp - src/archivers/lha/lharc.cpp - src/archivers/lha/shuf.cpp - src/archivers/lha/shuf.cpp - src/archivers/lha/slide.cpp - src/archivers/lha/uae_lha.cpp - src/archivers/lha/util.cpp - src/archivers/lzx/unlzx.cpp - src/archivers/mp2/kjmp2.cpp - src/archivers/wrp/warp.cpp - src/archivers/zip/unzip.cpp - src/caps/caps_amiberry.cpp - src/machdep/support.cpp - src/floppybridge/ArduinoFloppyBridge.cpp - src/floppybridge/ArduinoInterface.cpp - src/floppybridge/CommonBridgeTemplate.cpp - src/floppybridge/floppybridge_lib.cpp - src/floppybridge/ftdi.cpp - src/floppybridge/GreaseWeazleBridge.cpp - src/floppybridge/GreaseWeazleInterface.cpp - src/floppybridge/pll.cpp - src/floppybridge/RotationExtractor.cpp - src/floppybridge/SerialIO.cpp - src/floppybridge/SuperCardProBridge.cpp - src/floppybridge/SuperCardProInterface.cpp - src/floppybridge/FloppyBridge.cpp - src/osdep/ahi_v1.cpp - src/osdep/bsdsocket_host.cpp - src/osdep/cda_play.cpp - src/osdep/charset.cpp - src/osdep/fsdb_host.cpp - src/osdep/clipboard.cpp - src/osdep/amiberry_hardfile.cpp - src/osdep/keyboard.cpp - src/osdep/mp3decoder.cpp - src/osdep/picasso96.cpp - src/osdep/writelog.cpp - src/osdep/amiberry.cpp - src/osdep/ahi_v2.cpp - src/osdep/amiberry_filesys.cpp - src/osdep/amiberry_input.cpp - src/osdep/amiberry_gfx.cpp - src/osdep/amiberry_gui.cpp - src/osdep/amiberry_mem.cpp - src/osdep/amiberry_serial.cpp - src/osdep/amiberry_whdbooter.cpp - src/osdep/sigsegv_handler.cpp - src/osdep/retroarch.cpp - src/sounddep/sound.cpp - src/threaddep/threading.cpp - src/osdep/gui/ControllerMap.cpp - src/osdep/gui/SelectorEntry.cpp - src/osdep/gui/ShowHelp.cpp - src/osdep/gui/ShowMessage.cpp - src/osdep/gui/ShowDiskInfo.cpp - src/osdep/gui/SelectFolder.cpp - src/osdep/gui/SelectFile.cpp - src/osdep/gui/CreateFilesysHardfile.cpp - src/osdep/gui/EditFilesysVirtual.cpp - src/osdep/gui/EditFilesysHardfile.cpp - src/osdep/gui/EditFilesysHardDrive.cpp - src/osdep/gui/PanelAbout.cpp - src/osdep/gui/PanelPaths.cpp - src/osdep/gui/PanelQuickstart.cpp - src/osdep/gui/PanelConfig.cpp - src/osdep/gui/PanelCPU.cpp - src/osdep/gui/PanelChipset.cpp - src/osdep/gui/PanelCustom.cpp - src/osdep/gui/PanelROM.cpp - src/osdep/gui/PanelRAM.cpp - src/osdep/gui/PanelFloppy.cpp - src/osdep/gui/PanelExpansions.cpp - src/osdep/gui/PanelHD.cpp - src/osdep/gui/PanelRTG.cpp - src/osdep/gui/PanelHWInfo.cpp - src/osdep/gui/PanelInput.cpp - src/osdep/gui/PanelIOPorts.cpp - src/osdep/gui/PanelDisplay.cpp - src/osdep/gui/PanelSound.cpp - src/osdep/gui/PanelDiskSwapper.cpp - src/osdep/gui/PanelMisc.cpp - src/osdep/gui/PanelPrio.cpp - src/osdep/gui/PanelSavestate.cpp - src/osdep/gui/PanelVirtualKeyboard.cpp - src/osdep/gui/main_window.cpp - src/osdep/gui/Navigation.cpp - src/osdep/vkbd/vkbd.cpp - src/newcpu.cpp - src/newcpu_common.cpp - src/readcpu.cpp - src/cpudefs.cpp - src/cpustbl.cpp - src/cpuemu_0.cpp - src/cpuemu_4.cpp - src/cpuemu_11.cpp - src/cpuemu_13.cpp - src/cpuemu_40.cpp - src/cpuemu_44.cpp - src/osdep/aarch64_helper.s - src/jit/compemu.cpp - src/jit/compstbl.cpp - src/jit/compemu_fpp.cpp - src/jit/compemu_support.cpp - ) -else() - add_executable(${PROJECT_NAME} - src/akiko.cpp - src/ar.cpp - src/audio.cpp - src/autoconf.cpp - src/blitfunc.cpp - src/blittable.cpp - src/blitter.cpp - src/blkdev.cpp - src/blkdev_cdimage.cpp - src/bsdsocket.cpp - src/calc.cpp - src/cd32_fmv.cpp - src/cd32_fmv_genlock.cpp - src/cdrom.cpp - src/cdtv.cpp - src/cdtvcr.cpp - src/cfgfile.cpp - src/cia.cpp - src/consolehook.cpp - src/crc32.cpp - src/custom.cpp - src/debug.cpp - src/def_icons.cpp - src/devices.cpp - src/disk.cpp - src/diskutil.cpp - src/dlopen.cpp - src/dongle.cpp - src/drawing.cpp - src/driveclick.cpp - src/events.cpp - src/expansion.cpp - src/fdi2raw.cpp - src/filesys.cpp - src/flashrom.cpp - src/fpp.cpp - src/fsdb.cpp - src/fsusage.cpp - src/gayle.cpp - src/gfxboard.cpp - src/gfxutil.cpp - src/hardfile.cpp - src/hrtmon.rom.cpp - src/ide.cpp - src/ini.cpp - src/inputdevice.cpp - src/inputrecord.cpp - src/isofs.cpp - src/keybuf.cpp - src/main.cpp - src/memory.cpp - src/native2amiga.cpp - src/parser.cpp - src/rommgr.cpp - src/rtc.cpp - src/sampler.cpp - src/savestate.cpp - src/scp.cpp - src/scsi.cpp - src/scsiemul.cpp - src/scsitape.cpp - src/statusline.cpp - src/tabletlibrary.cpp - src/tinyxml2.cpp - src/traps.cpp - src/uaeexe.cpp - src/uaelib.cpp - src/uaenative.cpp - src/uaeresource.cpp - src/uaeserial.cpp - src/zfile.cpp - src/zfile_archive.cpp - src/archivers/7z/7zAlloc.c - src/archivers/7z/7zArcIn.c - src/archivers/7z/7zBuf.c - src/archivers/7z/7zBuf2.c - src/archivers/7z/7zCrc.c - src/archivers/7z/7zCrcOpt.c - src/archivers/7z/7zDec.c - src/archivers/7z/7zFile.c - src/archivers/7z/7zStream.c - src/archivers/7z/Aes.c - src/archivers/7z/AesOpt.c - src/archivers/7z/Alloc.c - src/archivers/7z/Bcj2.c - src/archivers/7z/Bra.c - src/archivers/7z/Bra86.c - src/archivers/7z/BraIA64.c - src/archivers/7z/CpuArch.c - src/archivers/7z/Delta.c - src/archivers/7z/LzFind.c - src/archivers/7z/Lzma2Dec.c - src/archivers/7z/Lzma2Enc.c - src/archivers/7z/Lzma86Dec.c - src/archivers/7z/Lzma86Enc.c - src/archivers/7z/LzmaDec.c - src/archivers/7z/LzmaEnc.c - src/archivers/7z/LzmaLib.c - src/archivers/7z/Ppmd7.c - src/archivers/7z/Ppmd7Dec.c - src/archivers/7z/Ppmd7Enc.c - src/archivers/7z/Sha256.c - src/archivers/7z/Sort.c - src/archivers/7z/Xz.c - src/archivers/7z/XzCrc64.c - src/archivers/7z/XzCrc64Opt.c - src/archivers/7z/XzDec.c - src/archivers/7z/XzEnc.c - src/archivers/7z/XzIn.c - src/archivers/chd/avhuff.cpp - src/archivers/chd/bitmap.cpp - src/archivers/chd/cdrom.cpp - src/archivers/chd/chd.cpp - src/archivers/chd/chdcd.cpp - src/archivers/chd/chdcodec.cpp - src/archivers/chd/corealloc.cpp - src/archivers/chd/corefile.cpp - src/archivers/chd/corestr.cpp - src/archivers/chd/flac.cpp - src/archivers/chd/harddisk.cpp - src/archivers/chd/hashing.cpp - src/archivers/chd/huffman.cpp - src/archivers/chd/md5.cpp - src/archivers/chd/osdcore.cpp - src/archivers/chd/osdlib_unix.cpp - src/archivers/chd/osdsync.cpp - src/archivers/chd/palette.cpp - src/archivers/chd/posixdir.cpp - src/archivers/chd/posixfile.cpp - src/archivers/chd/posixptty.cpp - src/archivers/chd/posixsocket.cpp - src/archivers/chd/strconv.cpp - src/archivers/chd/strformat.cpp - src/archivers/chd/unicode.cpp - src/archivers/chd/vecstream.cpp - src/archivers/chd/utf8proc.c - src/archivers/dms/crc_csum.cpp - src/archivers/dms/getbits.cpp - src/archivers/dms/maketbl.cpp - src/archivers/dms/pfile.cpp - src/archivers/dms/tables.cpp - src/archivers/dms/u_deep.cpp - src/archivers/dms/u_heavy.cpp - src/archivers/dms/u_init.cpp - src/archivers/dms/u_medium.cpp - src/archivers/dms/u_quick.cpp - src/archivers/dms/u_rle.cpp - src/archivers/lha/crcio.cpp - src/archivers/lha/dhuf.cpp - src/archivers/lha/header.cpp - src/archivers/lha/huf.cpp - src/archivers/lha/larc.cpp - src/archivers/lha/lhamaketbl.cpp - src/archivers/lha/lharc.cpp - src/archivers/lha/shuf.cpp - src/archivers/lha/shuf.cpp - src/archivers/lha/slide.cpp - src/archivers/lha/uae_lha.cpp - src/archivers/lha/util.cpp - src/archivers/lzx/unlzx.cpp - src/archivers/mp2/kjmp2.cpp - src/archivers/wrp/warp.cpp - src/archivers/zip/unzip.cpp - src/caps/caps_amiberry.cpp - src/machdep/support.cpp - src/floppybridge/ArduinoFloppyBridge.cpp - src/floppybridge/ArduinoInterface.cpp - src/floppybridge/CommonBridgeTemplate.cpp - src/floppybridge/floppybridge_lib.cpp - src/floppybridge/ftdi.cpp - src/floppybridge/GreaseWeazleBridge.cpp - src/floppybridge/GreaseWeazleInterface.cpp - src/floppybridge/pll.cpp - src/floppybridge/RotationExtractor.cpp - src/floppybridge/SerialIO.cpp - src/floppybridge/SuperCardProBridge.cpp - src/floppybridge/SuperCardProInterface.cpp - src/floppybridge/FloppyBridge.cpp - src/osdep/ahi_v1.cpp - src/osdep/bsdsocket_host.cpp - src/osdep/cda_play.cpp - src/osdep/charset.cpp - src/osdep/fsdb_host.cpp - src/osdep/clipboard.cpp - src/osdep/amiberry_hardfile.cpp - src/osdep/keyboard.cpp - src/osdep/mp3decoder.cpp - src/osdep/picasso96.cpp - src/osdep/writelog.cpp - src/osdep/amiberry.cpp - src/osdep/ahi_v2.cpp - src/osdep/amiberry_filesys.cpp - src/osdep/amiberry_input.cpp - src/osdep/amiberry_gfx.cpp - src/osdep/amiberry_gui.cpp - src/osdep/amiberry_mem.cpp - src/osdep/amiberry_serial.cpp - src/osdep/amiberry_whdbooter.cpp - src/osdep/sigsegv_handler.cpp - src/osdep/retroarch.cpp - src/sounddep/sound.cpp - src/threaddep/threading.cpp - src/osdep/gui/ControllerMap.cpp - src/osdep/gui/SelectorEntry.cpp - src/osdep/gui/ShowHelp.cpp - src/osdep/gui/ShowMessage.cpp - src/osdep/gui/ShowDiskInfo.cpp - src/osdep/gui/SelectFolder.cpp - src/osdep/gui/SelectFile.cpp - src/osdep/gui/CreateFilesysHardfile.cpp - src/osdep/gui/EditFilesysVirtual.cpp - src/osdep/gui/EditFilesysHardfile.cpp - src/osdep/gui/EditFilesysHardDrive.cpp - src/osdep/gui/PanelAbout.cpp - src/osdep/gui/PanelPaths.cpp - src/osdep/gui/PanelQuickstart.cpp - src/osdep/gui/PanelConfig.cpp - src/osdep/gui/PanelCPU.cpp - src/osdep/gui/PanelChipset.cpp - src/osdep/gui/PanelCustom.cpp - src/osdep/gui/PanelROM.cpp - src/osdep/gui/PanelRAM.cpp - src/osdep/gui/PanelFloppy.cpp - src/osdep/gui/PanelExpansions.cpp - src/osdep/gui/PanelHD.cpp - src/osdep/gui/PanelRTG.cpp - src/osdep/gui/PanelHWInfo.cpp - src/osdep/gui/PanelInput.cpp - src/osdep/gui/PanelIOPorts.cpp - src/osdep/gui/PanelDisplay.cpp - src/osdep/gui/PanelSound.cpp - src/osdep/gui/PanelDiskSwapper.cpp - src/osdep/gui/PanelMisc.cpp - src/osdep/gui/PanelPrio.cpp - src/osdep/gui/PanelSavestate.cpp - src/osdep/gui/PanelVirtualKeyboard.cpp - src/osdep/gui/main_window.cpp - src/osdep/gui/Navigation.cpp - src/osdep/vkbd/vkbd.cpp - src/newcpu.cpp - src/newcpu_common.cpp - src/readcpu.cpp - src/cpudefs.cpp - src/cpustbl.cpp - src/cpuemu_0.cpp - src/cpuemu_4.cpp - src/cpuemu_11.cpp - src/cpuemu_13.cpp - src/cpuemu_40.cpp - src/cpuemu_44.cpp + target_sources(${PROJECT_NAME} PRIVATE + src/osdep/aarch64_helper.s + src/jit/compemu.cpp + src/jit/compstbl.cpp + src/jit/compemu_fpp.cpp + src/jit/compemu_support.cpp ) endif()