google / mathfu

C++ math library developed primarily for games focused on simplicity and efficiency.
http://google.github.io/mathfu
Apache License 2.0
1.4k stars 188 forks source link

Compile flag Not Updated #54

Open vijaypanchal opened 2 years ago

vijaypanchal commented 2 years ago

For target architecture = ARM c flags is not updated -mfpu=neon in CMakeLists.txt and Android.mk.

In both files, by default, flag "-msse4.1" is passed for the ARM platform on which I tried to build.

Linux ubuntu 5.4.0-1046-raspi #50-Ubuntu SMP PREEMPT Thu Oct 28 05:32:10 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

cjappl commented 2 years ago

Same for OSX with M1

Software:

    System Software Overview:

      System Version: macOS 12.3.1 (21E258)
      Kernel Version: Darwin 21.4.0

Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: MacBookPro18,2
      Chip: Apple M1 Max
      Total Number of Cores: 10 (8 performance and 2 efficiency)
      Memory: 32 GB
      System Firmware Version: 7459.101.3