mirror of https://github.com/PCSX2/pcsx2.git
misc: A few more 32bit cleanups.
This commit is contained in:
parent
efc17f265c
commit
d89daa1b25
|
@ -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))
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue