From 16f785ca13078bcf6bdaf623a582a169eb3a6412 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 20 Feb 2003 15:45:01 +0000 Subject: [PATCH] added .p2align lines to i386 asm code --- src/pcm/pcm_dmix.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pcm/pcm_dmix.c b/src/pcm/pcm_dmix.c index cc22a3c1..d45f1d5a 100644 --- a/src/pcm/pcm_dmix.c +++ b/src/pcm/pcm_dmix.c @@ -604,6 +604,8 @@ static void mix_areas1(unsigned int size, "\tcmp $0, %%edx\n" "jz 6f\n" + "\t.p2align 4,,15\n" + "1:" /* @@ -653,6 +655,8 @@ static void mix_areas1(unsigned int size, * sample > 0x7fff */ + "\t.p2align 4,,15\n" + "4:" "\tmovw $0x7fff, %%ax\n" "\tmovw %%ax, (%%edi)\n" @@ -669,6 +673,8 @@ static void mix_areas1(unsigned int size, * sample < -0x8000 */ + "\t.p2align 4,,15\n" + "5:" "\tmovw $-0x8000, %%ax\n" "\tmovw %%ax, (%%edi)\n" @@ -722,6 +728,8 @@ static void mix_areas1_mmx(unsigned int size, "\tcmp $0, %%edx\n" "jz 6f\n" + "\t.p2align 4,,15\n" + "1:" /* -- 2.47.1