comparison liba52/imdct_3dnow.h @ 27754:08d18fe9da52

Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg. Neither variant is valid C99 syntax, but __asm__ is the most portable variant.
author diego
date Thu, 16 Oct 2008 18:59:27 +0000
parents 8855a2568281
children b5a46071062a
comparison
equal deleted inserted replaced
27753:6c915906bbc6 27754:08d18fe9da52
429 } 429 }
430 } 430 }
431 */ 431 */
432 432
433 FFT_128P_3DNOW (&buf[0]); 433 FFT_128P_3DNOW (&buf[0]);
434 // asm volatile ("femms \n\t":::"memory"); 434 // __asm__ volatile ("femms \n\t":::"memory");
435 435
436 /* Post IFFT complex multiply plus IFFT complex conjugate*/ 436 /* Post IFFT complex multiply plus IFFT complex conjugate*/
437 #if 1 437 #if 1
438 __asm__ __volatile__ ( 438 __asm__ __volatile__ (
439 "movq %0, %%mm7\n\t" 439 "movq %0, %%mm7\n\t"
487 delay_ptr = delay; 487 delay_ptr = delay;
488 window_ptr = a52_imdct_window; 488 window_ptr = a52_imdct_window;
489 489
490 /* Window and convert to real valued signal */ 490 /* Window and convert to real valued signal */
491 #if 1 491 #if 1
492 asm volatile ( 492 __asm__ volatile (
493 "movd (%0), %%mm3 \n\t" 493 "movd (%0), %%mm3 \n\t"
494 "punpckldq %%mm3, %%mm3 \n\t" 494 "punpckldq %%mm3, %%mm3 \n\t"
495 :: "r" (&bias) 495 :: "r" (&bias)
496 ); 496 );
497 for (i=0; i< 64; i++) { 497 for (i=0; i< 64; i++) {