pcm: dmic: assembly: add x32 support.

GitHub pull_request - opened github at alsa-project.org
Tue Jun 16 19:59:13 CEST 2020


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.

Signed-off-by: Harald van Dijk <harald at gigawatt.nl>

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


More information about the Alsa-devel mailing list