Use a compile-time constant for the "K" constraint in the MMX detection.
authorSøren Sandmann Pedersen <ssp@redhat.com>
Sun, 1 Jul 2012 20:59:53 +0000 (16:59 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Mon, 2 Jul 2012 22:21:21 +0000 (18:21 -0400)
commitf9c91ee2f27eaea68d8c3a130bf7d4bc0c860834
tree48506151ee52c0643f05ab426ba39bda139a4bd6
parentcd7ecf548a9e8115226bf0fec174f3abc54becb5
Use a compile-time constant for the "K" constraint in the MMX detection.

When compiling with -O0, gcc doesn't understand that in

     signed char x = 0;

     ...

     asm ("...",
        : "K" (x));

x is constant. Fix this by using an immediate constant instead of a
variable.
configure.ac