Revision 6e3bba72 postproc/rgb2rgb.c

View differences:

postproc/rgb2rgb.c
585 585
#ifdef HAVE_MMX
586 586
	asm volatile (
587 587
		"xorl %%eax, %%eax		\n\t"
588
		".align 16			\n\t"
588 589
		"1:				\n\t"
589 590
		PREFETCH" 32(%0, %%eax)		\n\t"
590 591
		"movq (%0, %%eax), %%mm0	\n\t"
......
635 636
//FIXME handle 2 lines a once (fewer prefetch, reuse some chrom, but very likely limited by mem anyway)
636 637
		asm volatile(
637 638
			"xorl %%eax, %%eax		\n\t"
639
			".align 16			\n\t"
638 640
			"1:				\n\t"
639 641
			PREFETCH" 32(%1, %%eax, 2)	\n\t"
640 642
			PREFETCH" 32(%2, %%eax)		\n\t"
......
708 710
			"xorl %%eax, %%eax		\n\t"
709 711
			"pcmpeqw %%mm7, %%mm7		\n\t"
710 712
			"psrlw $8, %%mm7		\n\t" // FF,00,FF,00...
713
			".align 16			\n\t"
711 714
			"1:				\n\t"
712 715
			PREFETCH" 64(%0, %%eax, 4)	\n\t"
713 716
			"movq (%0, %%eax, 4), %%mm0	\n\t" // YUYV YUYV(0)
......
757 760

  
758 761
		asm volatile(
759 762
			"xorl %%eax, %%eax		\n\t"
763
			".align 16			\n\t"
760 764
			"1:				\n\t"
761 765
			PREFETCH" 64(%0, %%eax, 4)	\n\t"
762 766
			"movq (%0, %%eax, 4), %%mm0	\n\t" // YUYV YUYV(0)

Also available in: Unified diff