Revision be449fca libavcodec/armv4l/float_arm_vfp.c

View differences:

libavcodec/armv4l/float_arm_vfp.c
42 42
static void vector_fmul_vfp(float *dst, const float *src, int len)
43 43
{
44 44
    int tmp;
45
    asm volatile(
45
    __asm__ volatile(
46 46
        "fmrx       %[tmp], fpscr\n\t"
47 47
        "orr        %[tmp], %[tmp], #(3 << 16)\n\t" /* set vector size to 4 */
48 48
        "fmxr       fpscr, %[tmp]\n\t"
......
90 90
static void vector_fmul_reverse_vfp(float *dst, const float *src0, const float *src1, int len)
91 91
{
92 92
    src1 += len;
93
    asm volatile(
93
    __asm__ volatile(
94 94
        "fldmdbs    %[src1]!, {s0-s3}\n\t"
95 95
        "fldmias    %[src0]!, {s8-s11}\n\t"
96 96
        "fldmdbs    %[src1]!, {s4-s7}\n\t"
......
149 149
 */
150 150
void float_to_int16_vfp(int16_t *dst, const float *src, int len)
151 151
{
152
    asm volatile(
152
    __asm__ volatile(
153 153
        "fldmias    %[src]!, {s16-s23}\n\t"
154 154
        "ftosis     s0, s16\n\t"
155 155
        "ftosis     s1, s17\n\t"

Also available in: Unified diff