mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-27 03:40:22 +00:00
Use builtin datatype pointer
This commit is contained in:
parent
44cecf22cb
commit
27f9f948a9
@ -65,7 +65,7 @@ bool CPU_ProbePower7()
|
||||
byte b1[19] = {255, 255, 255, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}, b2[17];
|
||||
|
||||
#if defined(_ARCH_PWR7) && defined(__VSX__)
|
||||
vec_xst(vec_xl(0, (__vector unsigned int*)(b1+3)), 0, (__vector unsigned int*)(b2+1));
|
||||
vec_xst(vec_xl(0, (unsigned int*)(b1+3)), 0, (unsigned int*)(b2+1));
|
||||
result = (0 == std::memcmp(b1+3, b2+1, 16));
|
||||
#else
|
||||
result = false;
|
||||
|
Loading…
Reference in New Issue
Block a user