Lines 369-375
Link Here
|
369 |
packsswb_r2r(mm6, mm3); /* 0000FFFF -> mm3 */ |
369 |
packsswb_r2r(mm6, mm3); /* 0000FFFF -> mm3 */ |
370 |
pxor_r2r(mm0, mm3); /* 0000F000 -> mm3 (~channel mask) */ |
370 |
pxor_r2r(mm0, mm3); /* 0000F000 -> mm3 (~channel mask) */ |
371 |
/* get alpha channel shift */ |
371 |
/* get alpha channel shift */ |
372 |
movd_m2r(sf->Ashift, mm5); /* Ashift -> mm5 */ |
372 |
__asm__ __volatile__ ( |
|
|
373 |
"movd %0, %%mm5" |
374 |
: : "rm" ((Uint32) sf->Ashift) ); /* Ashift -> mm5 */ |
373 |
|
375 |
|
374 |
while(height--) { |
376 |
while(height--) { |
375 |
DUFFS_LOOP4({ |
377 |
DUFFS_LOOP4({ |
Lines 1587-1593
Link Here
|
1587 |
/* get alpha channel shift */ |
1589 |
/* get alpha channel shift */ |
1588 |
"movd %1, %%mm5\n\t" /* Ashift -> mm5 */ |
1590 |
"movd %1, %%mm5\n\t" /* Ashift -> mm5 */ |
1589 |
|
1591 |
|
1590 |
: /* nothing */ : "m" (sf->Amask), "m" (sf->Ashift) ); |
1592 |
: /* nothing */ : "rm" (amask), "rm" ((Uint32) sf->Ashift) ); |
1591 |
|
1593 |
|
1592 |
while(height--) { |
1594 |
while(height--) { |
1593 |
|
1595 |
|