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

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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