]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: dmic: assembly: add x32 support.
authorHarald van Dijk <harald@gigawatt.nl>
Tue, 16 Jun 2020 17:53:57 +0000 (18:53 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 17 Jun 2020 13:37:03 +0000 (15:37 +0200)
commit58682bedb6cfd975ed7a1424f913eca0297e792d
treea09106799e7642097dd3cdcb35b8686712d63220
parent5394f605bce7cb3fce0b9ef35890f938f6699244
pcm: dmic: assembly: add x32 support.

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@gigawatt.nl>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_dmix_x86_64.h