Skip to content

Commit 6a398f9

Browse files
committed
rsx/cfg: Fix arm64 build
1 parent 8495a13 commit 6a398f9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

rpcs3/Emu/RSX/Program/Assembler/FPToCFG.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@
99
#include <util/v128.hpp>
1010
#include <span>
1111

12+
#if defined(ARCH_ARM64)
13+
#if !defined(_MSC_VER)
14+
#pragma GCC diagnostic push
15+
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
16+
#pragma GCC diagnostic ignored "-Wold-style-cast"
17+
#endif
18+
#undef FORCE_INLINE
19+
#include "Emu/CPU/sse2neon.h"
20+
#if !defined(_MSC_VER)
21+
#pragma GCC diagnostic pop
22+
#endif
23+
#endif
1224

1325
namespace rsx::assembler
1426
{

0 commit comments

Comments
 (0)