File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7171
7272#if defined(_MSC_VER )
7373#include <cstdlib>
74- #elif (PPSSPP_ARCH (X86 ) || PPSSPP_ARCH (AMD64 ))
74+ #elif (PPSSPP_ARCH (X86 ) || PPSSPP_ARCH (AMD64 )) && !defined( __EMSCRIPTEN__ )
7575#include <x86intrin.h>
7676#endif
7777
9090inline u32 __rotl (u32 x , int shift ) {
9191#if defined(_MSC_VER )
9292 return _rotl (x , shift );
93- #elif (PPSSPP_ARCH (X86 ) || PPSSPP_ARCH (AMD64 ))
93+ #elif (PPSSPP_ARCH (X86 ) || PPSSPP_ARCH (AMD64 )) && !defined( __EMSCRIPTEN__ )
9494 return __rold (x , shift );
9595#else
9696 shift &= 31 ;
@@ -113,7 +113,7 @@ inline u64 __rotl64(u64 x, unsigned int shift){
113113inline u32 __rotr (u32 x , int shift ) {
114114#if defined(_MSC_VER )
115115 return _rotr (x , shift );
116- #elif (PPSSPP_ARCH (X86 ) || PPSSPP_ARCH (AMD64 ))
116+ #elif (PPSSPP_ARCH (X86 ) || PPSSPP_ARCH (AMD64 )) && !defined( __EMSCRIPTEN__ )
117117 return __rord (x , shift );
118118#else
119119 shift &= 31 ;
You can’t perform that action at this time.
0 commit comments