Revision be449fca libavcodec/sh4/idct_sh4.c

View differences:

libavcodec/sh4/idct_sh4.c
54 54
#if defined(__SH4_SINGLE__) || defined(__SH4_SINGLE_ONLY__)
55 55

  
56 56
#define         load_matrix(table) \
57
        asm volatile( \
57
        __asm__ volatile( \
58 58
        "       fschg\n" \
59 59
        "       fmov   @%0+,xd0\n" \
60 60
        "       fmov   @%0+,xd2\n" \
......
71 71
        )
72 72

  
73 73
#define         ftrv() \
74
                asm volatile("ftrv xmtrx,fv0" \
74
                __asm__ volatile("ftrv xmtrx,fv0" \
75 75
                : "=f"(fr0),"=f"(fr1),"=f"(fr2),"=f"(fr3) \
76 76
                :  "0"(fr0), "1"(fr1), "2"(fr2), "3"(fr3) );
77 77

  
78 78
#define         DEFREG        \
79
        register float fr0 asm("fr0"); \
80
        register float fr1 asm("fr1"); \
81
        register float fr2 asm("fr2"); \
82
        register float fr3 asm("fr3")
79
        register float fr0 __asm__("fr0"); \
80
        register float fr1 __asm__("fr1"); \
81
        register float fr2 __asm__("fr2"); \
82
        register float fr3 __asm__("fr3")
83 83

  
84 84
#else
85 85

  

Also available in: Unified diff