Revision bba5293b libavcodec/i386/dsputil_mmx.c

View differences:

libavcodec/i386/dsputil_mmx.c
201 201
    "punpckl" #n " " #b ", " #a "     \n\t" /* aebf */\
202 202
    "punpckh" #n " " #b ", " #t "     \n\t" /* cgdh */\
203 203

  
204
#define TRANSPOSE4(a,b,c,d,t)\
205
    SBUTTERFLY(a,b,t,wd) /* a=aebf t=cgdh */\
206
    SBUTTERFLY(c,d,b,wd) /* c=imjn b=kolp */\
207
    SBUTTERFLY(a,c,d,dq) /* a=aeim d=bfjn */\
208
    SBUTTERFLY(t,b,c,dq) /* t=cgko c=dhlp */
209

  
204 210
/***********************************/
205 211
/* standard MMX */
206 212

  
......
1537 1543
    "pmaxsw " #z ", " #a "            \n\t"\
1538 1544
    "paddusw " #a ", " #sum "         \n\t"
1539 1545

  
1540
#define TRANSPOSE4(a,b,c,d,t)\
1541
    SBUTTERFLY(a,b,t,wd) /* a=aebf t=cgdh */\
1542
    SBUTTERFLY(c,d,b,wd) /* c=imjn b=kolp */\
1543
    SBUTTERFLY(a,c,d,dq) /* a=aeim d=bfjn */\
1544
    SBUTTERFLY(t,b,c,dq) /* t=cgko c=dhlp */
1545

  
1546 1546
#define LOAD4(o, a, b, c, d)\
1547 1547
        "movq "#o"(%1), " #a "        \n\t"\
1548 1548
        "movq "#o"+16(%1), " #b "     \n\t"\

Also available in: Unified diff