audio/wavpack: fix log2 table for xonly amd64. Pointed out by naddy.

(Regress catches this and passes now).
This commit is contained in:
tb 2023-01-21 15:36:19 +00:00
parent bdfa5e44a2
commit 5c459b536e
2 changed files with 21 additions and 0 deletions

View File

@ -3,6 +3,7 @@ COMMENT = audio codec for lossless, lossy and hybrid compression
VERSION = 5.6.0
DISTNAME = wavpack-${VERSION}
CATEGORIES = audio
REVISION = 0
HOMEPAGE = http://www.wavpack.com/

View File

@ -0,0 +1,20 @@
Index: src/pack_x64.S
--- src/pack_x64.S.orig
+++ src/pack_x64.S
@@ -1821,7 +1821,7 @@ noleft: mov eax, ebx # move mag
# ebp limit (if specified non-zero)
# eax,ecx,edx scratch
#
-
+ .rodata
.balign 256
log2_table:
@@ -1841,6 +1841,7 @@ log2_table:
.byte 0xdc, 0xdc, 0xdd, 0xde, 0xdf, 0xe0, 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe4, 0xe5, 0xe6, 0xe7, 0xe7
.byte 0xe8, 0xe9, 0xea, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xee, 0xef, 0xf0, 0xf1, 0xf1, 0xf2, 0xf3, 0xf4
.byte 0xf4, 0xf5, 0xf6, 0xf7, 0xf7, 0xf8, 0xf9, 0xf9, 0xfa, 0xfb, 0xfc, 0xfc, 0xfd, 0xfe, 0xff, 0xff
+ .previous
_log2buffer_x64win:
log2buffer_x64win: