movq mm0,[esi]
movq mm1,mm0
movq mm2,mm0

pand mm0,mm3// 赤マスク
psrlw mm0,[Rshift64] //赤を右にもってく
psubusw mm0,mm6//減算
psllw mm0,[Rshift64]//赤のビット位置戻し

pand mm1,mm4
psrlw mm1,[Gshift64]
psubusw mm1,mm7 //565を考慮して差を変化
psllw mm1,[Gshift64]

pand mm2,mm5
psubusw mm2,mm6

por mm0,mm1
por mm0,mm2
movq [esi],mm0

パイプラインなんて考えてないっす
つーかフェードアウトの意味違ってたらごめんなさい
画面が暗くなってくやつだよね?