> Date: Thu, 03 May 2018 16:11:24 +0900 > From: SASANO Takayoshi <u...@mx5.nisiq.net> > > Hello, > > I am trying to build direwolf software-TNC(modem) to benchmark my pcDuino's > performance. > > With my small patch, I got working binary. But it does not contains > VFP/NEON instruction with "-O3 -ffast-math -mfpu=neon" option. > > To use VFP/NEON instruction, what option do I specify to armv7 clang?
You'll also need "-mfloat-abi=softfp". Note that this is soon going to be the default in -current. At some point in the future we'll switch the default to "-mfloat-abi=hardfp" which is inompatible with "-mfloat-abi=softfp". It is probably a bad idea to push changes that explicitly set -mfloat-abi upstream. > (direwolf is at https://github.com/wb2osz/direwolf and patch for OpenBSD is > http://ik1-342-31132.vs.sakura.ne.jp/~uaa/gomitext/2018/20180503/20180503.diff > )