From: <sv...@op...> - 2024-10-20 13:00:44
|
Author: manx Date: Sun Oct 20 15:00:34 2024 New Revision: 21890 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21890 Log: [Fix] Vorbis: Fix ARM64EC build. Modified: trunk/OpenMPT/include/vorbis/OpenMPT.txt trunk/OpenMPT/include/vorbis/lib/os.h Modified: trunk/OpenMPT/include/vorbis/OpenMPT.txt ============================================================================== --- trunk/OpenMPT/include/vorbis/OpenMPT.txt Sun Oct 20 15:00:01 2024 (r21889) +++ trunk/OpenMPT/include/vorbis/OpenMPT.txt Sun Oct 20 15:00:34 2024 (r21890) @@ -5,6 +5,7 @@ - https://github.com/xiph/vorbis/pull/100 and https://github.com/xiph/vorbis/pull/101 have been applied. - GCC warnings in lib/lpc.c and lib/psy.c have been silenced. +- os.h has been modified to build for ARM64EC. - All modifications have been marked with /* OpenMPT */. - For building, premake is used to generate Visual Studio project files. See ../build/premake/ for details. Modified: trunk/OpenMPT/include/vorbis/lib/os.h ============================================================================== --- trunk/OpenMPT/include/vorbis/lib/os.h Sun Oct 20 15:00:01 2024 (r21889) +++ trunk/OpenMPT/include/vorbis/lib/os.h Sun Oct 20 15:00:34 2024 (r21890) @@ -151,6 +151,7 @@ typedef ogg_int16_t vorbis_fpu_control; +#include <intrin.h> /* OpenMPT */ #include <emmintrin.h> static __inline int vorbis_ftoi(double f){ return _mm_cvtsd_si32(_mm_load_sd(&f)); |