mirror of
https://github.com/Inori/GPCS4.git
synced 2024-05-09 16:24:14 -04:00
support vs2022 and llvm 16.0.6
This commit is contained in:
parent
32277e2d83
commit
23e8cfeb68
|
@ -10,7 +10,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||
#define BOOST_PREDEF_HARDWARE_SIMD_ARM_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/hardware/simd/arm/versions.h>
|
||||
//#include <boost/predef/hardware/simd/arm/versions.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_HW_SIMD_ARM`
|
||||
|
|
|
@ -10,7 +10,7 @@ http://www.boost.org/LICENSE_1_0.txt)
|
|||
#define BOOST_PREDEF_HARDWARE_SIMD_X86_H
|
||||
|
||||
#include <boost/predef/version_number.h>
|
||||
#include <boost/predef/hardware/simd/x86/versions.h>
|
||||
//#include <boost/predef/hardware/simd/x86/versions.h>
|
||||
|
||||
/* tag::reference[]
|
||||
= `BOOST_HW_SIMD_X86`
|
||||
|
|
3
3rdParty/tinydbr/tinydbr.cpp
vendored
3
3rdParty/tinydbr/tinydbr.cpp
vendored
|
@ -22,7 +22,6 @@ limitations under the License.
|
|||
#include <list>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdatomic.h>
|
||||
|
||||
|
||||
#ifdef ARM64
|
||||
|
@ -234,7 +233,7 @@ void TinyDBR::CommitValueAtomicT(ModuleInfo* module, size_t start_offset)
|
|||
}
|
||||
|
||||
#ifdef __clang__
|
||||
__c11_atomic_store(ptr, value, memory_order_relaxed);
|
||||
__c11_atomic_store(ptr, value, std::memory_order_relaxed);
|
||||
#else
|
||||
// x86 machine aligned memory store should be atomic natively.
|
||||
*ptr = value;
|
||||
|
|
|
@ -274,14 +274,14 @@ int PS4API scec_roundf(void)
|
|||
// library: libc_setjmp
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
int PS4API _longjmp(void)
|
||||
int PS4API sce_longjmp(void)
|
||||
{
|
||||
LOG_FIXME("Not implemented");
|
||||
return SCE_OK;
|
||||
}
|
||||
|
||||
|
||||
int PS4API _setjmp(void)
|
||||
int PS4API sce_setjmp(void)
|
||||
{
|
||||
LOG_FIXME("Not implemented");
|
||||
return SCE_OK;
|
||||
|
|
|
@ -396,8 +396,8 @@ int PS4API scec_roundf(void);
|
|||
// library: libc_setjmp
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
int PS4API _longjmp(void);
|
||||
int PS4API sce_longjmp(void);
|
||||
|
||||
|
||||
int PS4API _setjmp(void);
|
||||
int PS4API sce_setjmp(void);
|
||||
|
||||
|
|
|
@ -192,8 +192,8 @@ static const SCE_EXPORT_FUNCTION g_pSceLibc_libc_FunctionTable[] =
|
|||
|
||||
static const SCE_EXPORT_FUNCTION g_pSceLibc_libc_setjmp_FunctionTable[] =
|
||||
{
|
||||
{ 0xF85FBD8618BA93D4, "_longjmp", (void*)_longjmp },
|
||||
{ 0xB23A64AE1BA0BD52, "_setjmp", (void*)_setjmp },
|
||||
{ 0xF85FBD8618BA93D4, "_longjmp", (void*)sce_longjmp },
|
||||
{ 0xB23A64AE1BA0BD52, "_setjmp", (void*)sce_setjmp },
|
||||
SCE_FUNCTION_ENTRY_END
|
||||
};
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<LLVMInstallDir>D:\LLVM</LLVMInstallDir>
|
||||
<LLVMToolsVersion>14.0.3</LLVMToolsVersion>
|
||||
<LLVMToolsVersion>16.0.6</LLVMToolsVersion>
|
||||
</PropertyGroup>
|
||||
</Project>
|
Loading…
Reference in a new issue