Skip to contentSkip to conversation

pcm: dmic: assembly: add x32 support.

DISCUSSION GitHub pull_request - opened 1 participant 1 message Jun 16, 2020 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-lib pull request #61 was opened from hvdijk:

x32 is the x86_64 ABI that uses 32-bit pointers, so requires loading addresses into edi/esi/ebx rather than rdi/rsi/rbx.

Note that instructions such as movl %eax, (%rdi) do not require updating, as loading an address into %edi zeroes the high bits, causing the full %rdi register to hold a valid address.

Without this, even aplay segfaults when building with -mx32.

Request URL : https://github.com/alsa-project/alsa-lib/pull/61
Patch URL : https://github.com/alsa-project/alsa-lib/pull/61.patch
Repository URL: https://github.com/alsa-project/alsa-lib