From: <sv...@op...> - 2024-10-20 13:01:09
|
Author: manx Date: Sun Oct 20 15:00:56 2024 New Revision: 21891 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=21891 Log: Merged revision(s) 21890 from trunk/OpenMPT: [Fix] Vorbis: Fix ARM64EC build. ........ Modified: branches/OpenMPT-1.31/ (props changed) branches/OpenMPT-1.31/include/vorbis/OpenMPT.txt branches/OpenMPT-1.31/include/vorbis/lib/os.h Modified: branches/OpenMPT-1.31/include/vorbis/OpenMPT.txt ============================================================================== --- branches/OpenMPT-1.31/include/vorbis/OpenMPT.txt Sun Oct 20 15:00:34 2024 (r21890) +++ branches/OpenMPT-1.31/include/vorbis/OpenMPT.txt Sun Oct 20 15:00:56 2024 (r21891) @@ -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: branches/OpenMPT-1.31/include/vorbis/lib/os.h ============================================================================== --- branches/OpenMPT-1.31/include/vorbis/lib/os.h Sun Oct 20 15:00:34 2024 (r21890) +++ branches/OpenMPT-1.31/include/vorbis/lib/os.h Sun Oct 20 15:00:56 2024 (r21891) @@ -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)); |