mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Add another workaround for Clang on PowerPC
This commit is contained in:
parent
1f3e65fc35
commit
c5be67b64a
@ -67,7 +67,7 @@ bool CPU_ProbePower8()
|
||||
word64 w1[2] = {x, x}, w2[2] = {4, 6}, w3[2];
|
||||
|
||||
// Specifically call the VSX loads and stores with 64-bit types
|
||||
#if defined(__ibmxl__) || (defined(_AIX) && defined(__xlC__))
|
||||
#if defined(__ibmxl__) || (defined(_AIX) && defined(__xlC__)) || defined(__clang__)
|
||||
const uint64x2_p v1 = vec_xl(0, (unsigned long long*)w1);
|
||||
const uint64x2_p v2 = vec_xl(0, (unsigned long long*)w2);
|
||||
const uint64x2_p v3 = vec_add(v1, v2); // 64-bit add
|
||||
|
Loading…
Reference in New Issue
Block a user