mirror of
https://github.com/Z3Prover/z3
synced 2025-08-12 06:00:53 +00:00
Improve platform detection, in particular MSVC ARM64
This commit is contained in:
parent
907ffde577
commit
3feb1479c9
3 changed files with 13 additions and 7 deletions
|
@ -30,7 +30,7 @@ Revision History:
|
|||
#include "sat/sat_unit_walk.h"
|
||||
#include "sat/sat_ddfw.h"
|
||||
#include "sat/sat_prob.h"
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER) && !defined(_M_ARM) && !defined(_M_ARM64)
|
||||
# include <xmmintrin.h>
|
||||
#endif
|
||||
|
||||
|
@ -895,7 +895,9 @@ namespace sat {
|
|||
#if defined(__GNUC__) || defined(__clang__)
|
||||
__builtin_prefetch((const char*)((m_watches[l.index()].c_ptr())));
|
||||
#else
|
||||
#if !defined(_M_ARM) && !defined(_M_ARM64)
|
||||
_mm_prefetch((const char*)((m_watches[l.index()].c_ptr())), _MM_HINT_T1);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue