[PATCH] D26855: New unsafe-fp-math implementation for X86 target
Andrew V. Tischenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 24 06:35:45 PST 2016
avt77 added a comment.
I made new experiments but now I use a dedicated computer for it:
atischenko at ip-172-31-21-62:~/workspaces$ cat time.log
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/home/atischenko/workspaces/step3/build/bin/clang -DCMAKE_CXX_COMPILER=/home/atischenko/workspaces/step3/build/bin/clang++ -DCMAKE_C_FLAGS="-O3 -ffast-math" -DCMAKE_CXX_FLAGS="-O3 -ffast-math" ../llvm
time ninja -j4
*******************
Compiler with patch
********************
real 32m10.783s
user 125m19.424s
sys 3m8.456s
real 31m20.432s
user 122m2.012s
sys 3m4.444s
---------------------------------------------------------------------------------------
On dedicated computer
real 31m23.564s
user 122m13.120s
sys 3m5.340s
real 31m28.115s
user 122m30.596s
sys 3m6.588s
real 31m22.861s
user 122m8.920s
sys 3m7.236s
********************
Trunk based compiler
********************
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/home/atischenko/workspaces/bootstrap-trunk/build/bin/clang -DCMAKE_CXX_COMPILER=/home/atischenko/workspaces/bootstrap-trunk/build/bin/clang++ -DCMAKE_C_FLAGS="-O3 -ffast-math" -DCMAKE_CXX_FLAGS="-O3 -ffast-math" ../llvm
time ninja -j4
real 31m46.001s
user 123m39.192s
sys 3m10.180s
real 40m6.791s
user 156m5.472s
sys 3m36.476s
---------------------------------------------------------------------------------------
On dedicated computer
real 31m24.634s
user 122m14.912s
sys 3m8.080s
real 31m22.833s
user 122m9.836s
sys 3m5.676s
real 31m22.795s
user 122m5.924s
sys 3m8.588s
Hope now we can trust my results.
https://reviews.llvm.org/D26855
More information about the llvm-commits
mailing list