[Bug 13716] Broken Android NDK x86 builds with TLS due to triggered ASM code

bugzilla at busybox.net bugzilla at busybox.net
Thu Apr 15 07:18:28 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=13716

--- Comment #3 from Denys Vlasenko <vda.linux at googlemail.com> ---
Replace INNERMUL define with this one:

#define INNERMUL                                          \
asm(                                                      \
   "mull %4       \n\t"                                   \
   "addl %3,%%eax \n\t"                                   \
   "adcl $0,%%edx \n\t"                                   \
   "addl %%eax,%0 \n\t"                                   \
   "adcl $0,%%edx \n\t"                                   \
:"=g"(_c[LO]), "=&d"(cy)                                  \
:"0"(_c[LO]), "g"(cy), "g"(mu), "a"(*tmpm++)              \
:"cc")

and see whether it compiles.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list