cmake HAVE_MMI examples

hpmicro/hpm_sdk middleware/libjpeg-turbo/src/simd/CMakeLists.txt :375

check_c_source_compiles("
  int main(void) {
    int c = 0, a = 0, b = 0;
    asm (
      \"paddb %0, %1, %2\"
      : \"=f\" (c)
      : \"f\" (a), \"f\" (b)
    );
    return c;
  }" HAVE_MMI)

SsageParuders/Android_Native_Surface my_android_opencv/3rdparty/libjpeg-turbo/src/simd/CMakeLists.txt :451

check_c_source_compiles("
  int main(void) {
    int c = 0, a = 0, b = 0;
    asm (
      \"paddb %0, %1, %2\"
      : \"=f\" (c)
      : \"f\" (a), \"f\" (b)
    );
    return c;
  }" HAVE_MMI)

orbbec/OrbbecSDK_v2 3rdparty/libjpeg/src/simd/CMakeLists.txt :345

check_c_source_compiles("
  int main(void) {
    int c = 0, a = 0, b = 0;
    asm (
      \"paddb %0, %1, %2\"
      : \"=f\" (c)
      : \"f\" (a), \"f\" (b)
    );
    return c;
  }" HAVE_MMI)

mozilla/mozjpeg simd/CMakeLists.txt :449

check_c_source_compiles("
  #if !(defined(__mips__) && __mips_isa_rev < 6)
  #error Loongson MMI can't work with MIPS Release 6+
  #endif
  int main(void) {
    int c = 0, a = 0, b = 0;
    asm (
      \"paddb %0, %1, %2\"
      : \"=f\" (c)
      : \"f\" (a), \"f\" (b)
    );
    return c;
  }" HAVE_MMI)