Mercurial > libavcodec.hg
comparison i386/snowdsp_mmx.c @ 5558:4ba1798959b0 libavcodec
replace <<1 by add for SSE2 (untested)
author | michael |
---|---|
date | Mon, 20 Aug 2007 23:11:05 +0000 |
parents | d09a7e074601 |
children | 9993d38f59cf |
comparison
equal
deleted
inserted
replaced
5557:d09a7e074601 | 5558:4ba1798959b0 |
---|---|
462 "mov %4, %%"REG_S" \n\t" | 462 "mov %4, %%"REG_S" \n\t" |
463 | 463 |
464 snow_vertical_compose_sse2_load(REG_S,"xmm0","xmm2","xmm4","xmm6") | 464 snow_vertical_compose_sse2_load(REG_S,"xmm0","xmm2","xmm4","xmm6") |
465 snow_vertical_compose_sse2_add(REG_a,"xmm0","xmm2","xmm4","xmm6") | 465 snow_vertical_compose_sse2_add(REG_a,"xmm0","xmm2","xmm4","xmm6") |
466 snow_vertical_compose_sse2_move("xmm0","xmm2","xmm4","xmm6","xmm1","xmm3","xmm5","xmm7") | 466 snow_vertical_compose_sse2_move("xmm0","xmm2","xmm4","xmm6","xmm1","xmm3","xmm5","xmm7") |
467 snow_vertical_compose_sse2_sll("1","xmm0","xmm2","xmm4","xmm6")\ | 467 snow_vertical_compose_sse2_r2r_add("xmm0","xmm2","xmm4","xmm6","xmm0","xmm2","xmm4","xmm6") |
468 snow_vertical_compose_sse2_r2r_add("xmm1","xmm3","xmm5","xmm7","xmm0","xmm2","xmm4","xmm6") | 468 snow_vertical_compose_sse2_r2r_add("xmm1","xmm3","xmm5","xmm7","xmm0","xmm2","xmm4","xmm6") |
469 | 469 |
470 "pcmpeqd %%xmm1, %%xmm1 \n\t" | 470 "pcmpeqd %%xmm1, %%xmm1 \n\t" |
471 "pslld $31, %%xmm1 \n\t" | 471 "pslld $31, %%xmm1 \n\t" |
472 "psrld $29, %%xmm1 \n\t" | 472 "psrld $29, %%xmm1 \n\t" |
497 snow_vertical_compose_sse2_sra("4","xmm0","xmm2","xmm4","xmm6") | 497 snow_vertical_compose_sse2_sra("4","xmm0","xmm2","xmm4","xmm6") |
498 snow_vertical_compose_sse2_add(REG_c,"xmm0","xmm2","xmm4","xmm6") | 498 snow_vertical_compose_sse2_add(REG_c,"xmm0","xmm2","xmm4","xmm6") |
499 snow_vertical_compose_sse2_store(REG_c,"xmm0","xmm2","xmm4","xmm6") | 499 snow_vertical_compose_sse2_store(REG_c,"xmm0","xmm2","xmm4","xmm6") |
500 snow_vertical_compose_sse2_add(REG_S,"xmm0","xmm2","xmm4","xmm6") | 500 snow_vertical_compose_sse2_add(REG_S,"xmm0","xmm2","xmm4","xmm6") |
501 snow_vertical_compose_sse2_move("xmm0","xmm2","xmm4","xmm6","xmm1","xmm3","xmm5","xmm7") | 501 snow_vertical_compose_sse2_move("xmm0","xmm2","xmm4","xmm6","xmm1","xmm3","xmm5","xmm7") |
502 snow_vertical_compose_sse2_sll("1","xmm0","xmm2","xmm4","xmm6")\ | 502 snow_vertical_compose_sse2_r2r_add("xmm0","xmm2","xmm4","xmm6","xmm0","xmm2","xmm4","xmm6") |
503 snow_vertical_compose_sse2_r2r_add("xmm1","xmm3","xmm5","xmm7","xmm0","xmm2","xmm4","xmm6") | 503 snow_vertical_compose_sse2_r2r_add("xmm1","xmm3","xmm5","xmm7","xmm0","xmm2","xmm4","xmm6") |
504 snow_vertical_compose_sse2_sra("1","xmm0","xmm2","xmm4","xmm6") | 504 snow_vertical_compose_sse2_sra("1","xmm0","xmm2","xmm4","xmm6") |
505 snow_vertical_compose_sse2_add(REG_a,"xmm0","xmm2","xmm4","xmm6") | 505 snow_vertical_compose_sse2_add(REG_a,"xmm0","xmm2","xmm4","xmm6") |
506 snow_vertical_compose_sse2_store(REG_a,"xmm0","xmm2","xmm4","xmm6") | 506 snow_vertical_compose_sse2_store(REG_a,"xmm0","xmm2","xmm4","xmm6") |
507 | 507 |