Revision 7c4c60e5 libavcodec/x86/mlpdsp.c

View differences:

libavcodec/x86/mlpdsp.c
53 53
#if ARCH_X86_64
54 54

  
55 55
#define MLPMUL(label, offset, offs, offc)   \
56
    MANGLE(label)":                   \n\t" \
56
    LABEL_MANGLE(label)":             \n\t" \
57 57
    "movslq "offset"+"offs"(%0), %%rax\n\t" \
58 58
    "movslq "offset"+"offc"(%1), %%rdx\n\t" \
59 59
    "imul                 %%rdx, %%rax\n\t" \
60 60
    "add                  %%rax, %%rsi\n\t"
61 61

  
62 62
#define FIRMULREG(label, offset, firc)\
63
    MANGLE(label)":             \n\t" \
63
    LABEL_MANGLE(label)":       \n\t" \
64 64
    "movslq "#offset"(%0), %%rax\n\t" \
65 65
    "imul        %"#firc", %%rax\n\t" \
66 66
    "add            %%rax, %%rsi\n\t"
......
83 83
#else /* if ARCH_X86_32 */
84 84

  
85 85
#define MLPMUL(label, offset, offs, offc)  \
86
    MANGLE(label)":                  \n\t" \
86
    LABEL_MANGLE(label)":            \n\t" \
87 87
    "mov   "offset"+"offs"(%0), %%eax\n\t" \
88 88
    "imull "offset"+"offc"(%1)       \n\t" \
89 89
    "add                %%eax , %%esi\n\t" \
......
142 142
        FIRMULREG(ff_mlp_firorder_3, 0x08,10)
143 143
        FIRMULREG(ff_mlp_firorder_2, 0x04, 9)
144 144
        FIRMULREG(ff_mlp_firorder_1, 0x00, 8)
145
        MANGLE   (ff_mlp_firorder_0)":\n\t"
145
        LABEL_MANGLE(ff_mlp_firorder_0)":\n\t"
146 146
        "jmp  *%6                     \n\t"
147 147
        IIRMUL   (ff_mlp_iirorder_4, 0x0c   )
148 148
        IIRMUL   (ff_mlp_iirorder_3, 0x08   )
149 149
        IIRMUL   (ff_mlp_iirorder_2, 0x04   )
150 150
        IIRMUL   (ff_mlp_iirorder_1, 0x00   )
151
        MANGLE   (ff_mlp_iirorder_0)":\n\t"
151
        LABEL_MANGLE(ff_mlp_iirorder_0)":\n\t"
152 152
        SHIFT_ACCUM
153 153
        "mov  "RESULT"  ,"ACCUM"      \n\t"
154 154
        "add  (%2)      ,"RESULT"     \n\t"

Also available in: Unified diff