Silence warnings that could make -Werror give a false negative
Use signed char to avoid cases where int8_t isn't declared
Reported-by: Mike Lothian <mike@fireburn.co.uk>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
int main () {
__m64 v = _mm_cvtsi32_si64 (1);
__m64 w;
- int8_t x;
+ signed char x = 0;
/* Some versions of clang will choke on K */
asm ("pshufw %2, %1, %0\n\t"
- : "=y" (v)
- : "y" (w), "K" (x)
+ : "=y" (w)
+ : "y" (v), "K" (x)
);
return _mm_cvtsi64_si32 (v);