misc: A few more 32bit cleanups.

This commit is contained in:
lightningterror 2022-03-21 20:56:03 +01:00
parent efc17f265c
commit d89daa1b25
2 changed files with 1 additions and 8 deletions

View File

@ -110,11 +110,7 @@ static const int __pagesize = PCSX2_PAGESIZE;
// happens *by design* like all the friggen time >_<) // happens *by design* like all the friggen time >_<)
#ifndef __fastcall #ifndef __fastcall
#ifndef _M_X86_32 #define __fastcall
#define __fastcall // Attribute not available, and x86_32 is pretty much the only cc that passes literally everything in registers
#else
#define __fastcall __attribute__((fastcall))
#endif
#endif #endif
#define __vectorcall __fastcall #define __vectorcall __fastcall
#define _inline __inline__ __attribute__((unused)) #define _inline __inline__ __attribute__((unused))

View File

@ -42,9 +42,6 @@ else()
set(CMAKE_CROSSCOMPILING ${cc_backup}) set(CMAKE_CROSSCOMPILING ${cc_backup})
endif() endif()
if (MSVC) if (MSVC)
if(_M_X86_32)
set(compile_options_sse4 /arch:SSE2)
endif()
set(compile_options_avx /arch:AVX) set(compile_options_avx /arch:AVX)
set(compile_options_avx2 /arch:AVX2) set(compile_options_avx2 /arch:AVX2)
set(definitions_sse4 _M_SSE=0x401) set(definitions_sse4 _M_SSE=0x401)