diff options
author | Mans Rullgard <mans@mansr.com> | 2011-01-15 22:09:35 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-01-18 20:48:24 +0000 |
commit | ef4a65149db95acc7271a425a2cd0d2259740c84 (patch) | |
tree | 1e6afea7b341fa246d491ed8d7dcf1641ee89aba /libavcodec/x86/dsputil_mmx.c | |
parent | ac3c9d016917494e9cecb12f6e5a42fbd2e7adc1 (diff) | |
download | ffmpeg-ef4a65149db95acc7271a425a2cd0d2259740c84.tar.gz |
Replace ASMALIGN() with .p2align
This macro has unconditionally used .p2align for a long time and
serves no useful purpose.
Diffstat (limited to 'libavcodec/x86/dsputil_mmx.c')
-rw-r--r-- | libavcodec/x86/dsputil_mmx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c index d8edb0f3f0..825149e4a5 100644 --- a/libavcodec/x86/dsputil_mmx.c +++ b/libavcodec/x86/dsputil_mmx.c @@ -81,7 +81,7 @@ DECLARE_ALIGNED(16, const xmm_reg, ff_pb_FE ) = {0xFEFEFEFEFEFEFEFEULL, 0xFEFEF DECLARE_ALIGNED(16, const double, ff_pd_1)[2] = { 1.0, 1.0 }; DECLARE_ALIGNED(16, const double, ff_pd_2)[2] = { 2.0, 2.0 }; -#define JUMPALIGN() __asm__ volatile (ASMALIGN(3)::) +#define JUMPALIGN() __asm__ volatile (".p2align 3"::) #define MOVQ_ZERO(regd) __asm__ volatile ("pxor %%" #regd ", %%" #regd ::) #define MOVQ_BFE(regd) \ @@ -368,7 +368,7 @@ static void put_pixels4_mmx(uint8_t *block, const uint8_t *pixels, int line_size { __asm__ volatile( "lea (%3, %3), %%"REG_a" \n\t" - ASMALIGN(3) + ".p2align 3 \n\t" "1: \n\t" "movd (%1), %%mm0 \n\t" "movd (%1, %3), %%mm1 \n\t" @@ -394,7 +394,7 @@ static void put_pixels8_mmx(uint8_t *block, const uint8_t *pixels, int line_size { __asm__ volatile( "lea (%3, %3), %%"REG_a" \n\t" - ASMALIGN(3) + ".p2align 3 \n\t" "1: \n\t" "movq (%1), %%mm0 \n\t" "movq (%1, %3), %%mm1 \n\t" @@ -420,7 +420,7 @@ static void put_pixels16_mmx(uint8_t *block, const uint8_t *pixels, int line_siz { __asm__ volatile( "lea (%3, %3), %%"REG_a" \n\t" - ASMALIGN(3) + ".p2align 3 \n\t" "1: \n\t" "movq (%1), %%mm0 \n\t" "movq 8(%1), %%mm4 \n\t" |