Mercurial > libavcodec.hg
comparison i386/snowdsp_mmx.c @ 5602:3b21f3268707 libavcodec
CONFIG_7REGS has been renamed to HAVE_7REGS
author | ramiro |
---|---|
date | Sun, 26 Aug 2007 16:10:53 +0000 |
parents | b26025b9586d |
children | a9eb858ecee4 |
comparison
equal
deleted
inserted
replaced
5601:b26025b9586d | 5602:3b21f3268707 |
---|---|
386 ); | 386 ); |
387 } | 387 } |
388 } | 388 } |
389 } | 389 } |
390 | 390 |
391 #ifdef CONFIG_7REGS | 391 #ifdef HAVE_7REGS |
392 #define snow_vertical_compose_sse2_load_add(op,r,t0,t1,t2,t3)\ | 392 #define snow_vertical_compose_sse2_load_add(op,r,t0,t1,t2,t3)\ |
393 ""op" ("r",%%"REG_d"), %%"t0" \n\t"\ | 393 ""op" ("r",%%"REG_d"), %%"t0" \n\t"\ |
394 ""op" 16("r",%%"REG_d"), %%"t1" \n\t"\ | 394 ""op" 16("r",%%"REG_d"), %%"t1" \n\t"\ |
395 ""op" 32("r",%%"REG_d"), %%"t2" \n\t"\ | 395 ""op" 32("r",%%"REG_d"), %%"t2" \n\t"\ |
396 ""op" 48("r",%%"REG_d"), %%"t3" \n\t" | 396 ""op" 48("r",%%"REG_d"), %%"t3" \n\t" |
601 "sub $32, %%"REG_d" \n\t" | 601 "sub $32, %%"REG_d" \n\t" |
602 "jge 1b \n\t" | 602 "jge 1b \n\t" |
603 :"+d"(i) | 603 :"+d"(i) |
604 :"r"(b0),"r"(b1),"r"(b2),"r"(b3),"r"(b4),"r"(b5)); | 604 :"r"(b0),"r"(b1),"r"(b2),"r"(b3),"r"(b4),"r"(b5)); |
605 } | 605 } |
606 #endif //CONFIG_7REGS | 606 #endif //HAVE_7REGS |
607 | 607 |
608 #define snow_inner_add_yblock_sse2_header \ | 608 #define snow_inner_add_yblock_sse2_header \ |
609 IDWTELEM * * dst_array = sb->line + src_y;\ | 609 IDWTELEM * * dst_array = sb->line + src_y;\ |
610 long tmp;\ | 610 long tmp;\ |
611 asm volatile(\ | 611 asm volatile(\ |