| 1 |
Descriptionscip-debian debian libchdr 0.3.0+dfsg-1 libchdr/patches/`x32-ftbfs.patch`#Description.: fix build on x32 https://wiki.debian.org/X32Port |
| 2 |
Authorscip-debian debian libchdr 0.3.0+dfsg-1 libchdr/patches/`x32-ftbfs.patch`#Author.: Sébastien Noel <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
Forwardedscip-debian debian libchdr 0.3.0+dfsg-1 libchdr/patches/`x32-ftbfs.patch`#Forwarded.: TODO |
| 4 |
Last-Updatescip-debian debian libchdr 0.3.0+dfsg-1 libchdr/patches/`x32-ftbfs.patch`#Last-Update.: 2026-05-13 |
| 5 |
|
| 6 |
--- a/include/dr_libs/dr_flac.hscip-debian debian libchdr 0.3.0+dfsg-1 libchdr/upstream/`include/dr_libs/dr_flac.h`: |
| 7 |
+++ b/include/dr_libs/dr_flac.hscip-debian debian libchdr 0.3.0+dfsg-1 libchdr/upstream/`include/dr_libs/dr_flac.h`: |
| 8 |
@@ -2716,17 +2716,9 @@ static DRFLAC_INLINE drflac_uint32 drfla |
| 9 |
#if defined(__GNUC__) || defined(__clang__) |
| 10 |
#if defined(DRFLAC_X64) |
| 11 |
{ |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
+ drflac_cache_t r; |
| 21 |
__asm__ __volatile__ ( |
| 22 |
|
| 23 |
|
| 24 |
+ "lzcnt{ %1, %0| %0, %1}" : "=r"(r) : "r"(x) : "cc" |
| 25 |
); |
| 26 |
|
| 27 |
return (drflac_uint32)r; |
| 28 |
@@ -2735,8 +2727,7 @@ static DRFLAC_INLINE drflac_uint32 drfla |
| 29 |
{ |
| 30 |
drflac_uint32 r; |
| 31 |
__asm__ __volatile__ ( |
| 32 |
|
| 33 |
|
| 34 |
+ "lzcnt{l %1, %0| %0, %1}" : "=r"(r) : "r"(x) : "cc" |
| 35 |
); |
| 36 |
|
| 37 |
return r; |