support vs2022 and llvm 16.0.6

This commit is contained in:
Inori 2023-06-20 21:24:59 +08:00
parent 32277e2d83
commit 23e8cfeb68
7 changed files with 10 additions and 11 deletions

View file

@ -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`

View file

@ -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`

View file

@ -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;

View file

@ -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;

View file

@ -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);

View file

@ -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
};

View file

@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<LLVMInstallDir>D:\LLVM</LLVMInstallDir>
<LLVMToolsVersion>14.0.3</LLVMToolsVersion>
<LLVMToolsVersion>16.0.6</LLVMToolsVersion>
</PropertyGroup>
</Project>