mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix and re-enable @unknownbracket's handcoded NEON tex hash
This commit is contained in:
parent
3bc8adf426
commit
662ad32d4f
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ u32 QuickTexHashNEON(const void *checkp, u32 size) {
|
|||
__builtin_prefetch(checkp, 0, 0);
|
||||
|
||||
if (((intptr_t)checkp & 0xf) == 0 && (size & 0x3f) == 0) {
|
||||
#if 1
|
||||
#if 0
|
||||
uint32x4_t cursor = vdupq_n_u32(0);
|
||||
uint32x4_t cursor2 = vld1q_u32((const u32 *)QuickTexHashInitial);
|
||||
uint32x4_t update = vdupq_n_u32(0x24552455U);
|
||||
|
@ -66,7 +66,7 @@ u32 QuickTexHashNEON(const void *checkp, u32 size) {
|
|||
"movt r0, 0x4b73\n"
|
||||
"movw r1, 0x9bd9\n"
|
||||
"movt r1, 0xc00b\n"
|
||||
"vmov d2, r0, r1\n"
|
||||
"vmov d3, r0, r1\n"
|
||||
|
||||
// Initialize update.
|
||||
"movw r0, 0x2455\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue