x86: fix build with gcc 4.7
authorMans Rullgard <mans@mansr.com>
Tue, 26 Jul 2011 11:23:43 +0000 (12:23 +0100)
committerMans Rullgard <mans@mansr.com>
Tue, 26 Jul 2011 21:17:43 +0000 (22:17 +0100)
commitda4c7cce2100a4e4f9276b4f17e260be47b53f41
treeca1fa3725f31869ddba5361a63d516b31544a476
parentab3d241be17ac376f0dfdbbce0e4ce2c319c6eea
x86: fix build with gcc 4.7

The upcoming gcc 4.7 has more advanced constant propagation
resulting some inline asm operands becoming constants and thus
emitted as literals, sometimes in contexts where this results
in invalid instructions.

This patch changes the constraints of the relevant operands
to "rm" thus forcing a valid type.  While obviously suboptimal,
this is what older gcc versions already did, and there is no
change to the code generated with these.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/x86/h264_qpel_mmx.c