Branch: Tag:

2013-11-02

2013-11-02 16:48:14 by Per Hedbor <ph@opera.com>

Fixed tests for compiler intrisics when not using gcc

2455:   $3   ],[   unsigned long lint; - int main(int argc, char **argv) { -  static volatile int foo = 0; + volatile int foo = 0;   foo = (int)$1($2);   return 0; - } +     ],    AC_MSG_RESULT(yes)    AC_DEFINE(translit([HAS_$1], [a-z], [A-Z]), 1, [Whether $1 is available])
2477:   TEST_BUILTIN(__builtin_ctzll, 23)   TEST_BUILTIN(__builtin_bswap32, 23)   TEST_BUILTIN(__builtin_bswap64, 23) - TEST_BUILTIN(__builtin_expect, [argc,0]) + TEST_BUILTIN(__builtin_expect, [foo,0])   # ICC builtins   TEST_BUILTIN(_bswap, 23)   TEST_BUILTIN(_bswap64, 23)