[FFmpeg-trac] #303(undetermined:new): libavcodec/x86/snowdsp_mmx.c has bad inline asm

FFmpeg trac at avcodec.org
Fri Jun 24 21:17:49 CEST 2011


#303: libavcodec/x86/snowdsp_mmx.c has bad inline asm
----------------------------+-------------------------
 Reporter:  jeremyhu        |        Type:  defect
   Status:  new             |    Priority:  normal
Component:  undetermined    |     Version:  git-master
 Keywords:  asm libavcodec  |  Blocked By:
 Blocking:                  |  Reproduced:  0
 Analyzed:  0               |
----------------------------+-------------------------
 clang doesn't like the inline assembly in snowdsp_mmx.c due to ambiguous
 instruction usage:


 x86/snowdsp_mmx.c:757:50: error: ambiguous instructions require an
 explicit suffix (could be 'addb', 'addw', 'addl', or 'addq')
              "movdqu %%xmm1, (%%"REG_d")       \n\t"
                                                  ^
 <inline asm>:73:2: note: instantiated into assembly here
         add $8*1, -40(%rbp)
         ^
 x86/snowdsp_mmx.c:735:18: error: ambiguous instructions require an
 explicit suffix (could be 'addb', 'addw', 'addl', or 'addq')
 snow_inner_add_yblock_sse2_end_8
 ^
 x86/snowdsp_mmx.c:677:48: note: instantiated from:
              "sal $1, %%"REG_c"              \n\t"\
                                                ^
 <inline asm>:95:2: note: instantiated into assembly here
         add $8*2, -40(%rbp)
         ^
 2 errors generated.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/303>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list