commit | b4dd6c5945db4f5e7b107a3c7f8c481b460dec25 | [log] [tgz] |
---|---|---|
author | Renato Golin <renato.golin@linaro.org> | Thu Mar 21 18:47:47 2013 +0000 |
committer | Renato Golin <renato.golin@linaro.org> | Thu Mar 21 18:47:47 2013 +0000 |
tree | d7cab68370675963e27e2c3bb512f40673bf6ce6 | |
parent | 5b981721152796d2aa6a547b2e159be9cf7192a8 [diff] |
Avoid NEON SP-FP unless unsafe-math or Darwin NEON is not IEEE 754 compliant, so we should avoid lowering single-precision floating point operations with NEON unless unsafe-math is turned on. The equivalent VFP instructions are IEEE 754 compliant, but in some cores they're much slower, so some archs/OSs might still request it to be on by default, such as Swift and Darwin. llvm-svn: 177651