Files
SRB2Kart-Saturn/src
Oleksii Vilchanskyi 6866dac171 m_fixed: asm: cc is not a register
gcc accepts

  __asm__ ( "" : : : "%cc");

but not clang:

    error: unknown register name '%cc' in asm
        :"%cc", "%edx"         // edx and condition codes clobbered

'cc' is not a register, thus '%cc' is rightfully not accepted.

Repro: build the project on x86_64 with:
    cmake -H. -Bbuild -DCMAKE_C_COMPILER=clang -DCMAKE_SIZEOF_VOID_P=4 -DCMAKE_C_FLAGS="-m32"
2018-05-18 00:23:22 +02:00
..
2016-11-03 01:43:57 -07:00
2016-11-03 01:43:57 -07:00
2016-11-03 01:43:57 -07:00
2014-03-15 13:11:35 -04:00
2016-11-03 01:43:57 -07:00
2016-11-03 01:43:57 -07:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2016-05-04 05:43:05 -07:00
2017-01-14 19:23:31 +00:00
2016-06-12 16:08:48 -04:00
2017-09-28 10:16:35 -04:00
2016-12-31 19:26:33 +01:00
2017-05-26 13:39:54 +01:00
2018-03-30 18:53:23 +01:00
2016-06-12 16:08:48 -04:00
2014-03-15 13:11:35 -04:00
2014-03-15 13:11:35 -04:00
2017-06-17 17:22:45 +01:00
2016-05-21 23:53:04 -04:00
2016-11-03 01:43:57 -07:00
2017-12-26 19:56:50 -05:00
2016-08-19 00:07:32 +01:00
2014-03-15 13:11:35 -04:00
2016-12-22 19:39:37 -05:00
2018-05-18 00:23:22 +02:00
2017-09-28 16:54:26 -04:00
2018-01-30 21:25:28 +00:00
2017-10-27 19:49:55 -04:00
2017-12-26 19:56:50 -05:00
2014-03-15 13:11:35 -04:00
2017-09-28 10:16:35 -04:00
2016-06-12 16:08:48 -04:00
2017-01-03 16:06:50 +00:00
2016-06-12 16:08:48 -04:00
2016-06-12 16:08:48 -04:00
2016-06-12 16:08:48 -04:00
2016-06-12 16:08:48 -04:00
2016-06-12 16:08:48 -04:00