comparison libswscale/swscale_template.c @ 29307:5efc5acb0f7c

Replace more uses of __attribute__((aligned)) by DECLARE_ALIGNED.
author ramiro
date Thu, 04 Jun 2009 22:10:52 +0000
parents 24954ec81529
children 7a6f47f74e9b
comparison
equal deleted inserted replaced
29306:116ed5c6c367 29307:5efc5acb0f7c
2256 { 2256 {
2257 #if ARCH_X86 && CONFIG_GPL 2257 #if ARCH_X86 && CONFIG_GPL
2258 #if HAVE_MMX2 2258 #if HAVE_MMX2
2259 int i; 2259 int i;
2260 #if defined(PIC) 2260 #if defined(PIC)
2261 uint64_t ebxsave __attribute__((aligned(8))); 2261 DECLARE_ALIGNED(8, uint64_t, ebxsave);
2262 #endif 2262 #endif
2263 if (canMMX2BeUsed) 2263 if (canMMX2BeUsed)
2264 { 2264 {
2265 __asm__ volatile( 2265 __asm__ volatile(
2266 #if defined(PIC) 2266 #if defined(PIC)
2452 { 2452 {
2453 #if ARCH_X86 && CONFIG_GPL 2453 #if ARCH_X86 && CONFIG_GPL
2454 #if HAVE_MMX2 2454 #if HAVE_MMX2
2455 int i; 2455 int i;
2456 #if defined(PIC) 2456 #if defined(PIC)
2457 uint64_t ebxsave __attribute__((aligned(8))); 2457 DECLARE_ALIGNED(8, uint64_t, ebxsave);
2458 #endif 2458 #endif
2459 if (canMMX2BeUsed) 2459 if (canMMX2BeUsed)
2460 { 2460 {
2461 __asm__ volatile( 2461 __asm__ volatile(
2462 #if defined(PIC) 2462 #if defined(PIC)