search for: fplugin

Displaying 20 results from an estimated 224 matches for "fplugin".

Did you mean: plugin
2011 Jun 10
1
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns status
...--enable-lto --enable-checking=release > Thread model: posix > gcc version 4.5.4 20110608 (prerelease) (GCC) > > x86_64 darwin > > A) gcc 4.5.4svn using -msse3 -ffast-math -O3 -fno-tree-vectorize > B) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize -fplugin-arg-dragonegg-enable-gcc-optzns > C) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize > D) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize -fplugin-arg-dragonegg-enable-gcc-optzns -fplugin-arg-dragonegg-llvm-ir-optimize=2 > E) gcc 4.5.4svn/dra...
2012 Aug 08
2
[LLVMdev] Pass llvm options to DragonEgg
Hello All, Another newbie question. I am confused as to what options will work with "fplugin-arg-dragonegg-llvm-option" for dragonegg plugin. Readme says it is used to pass command-line options to llvm. I shall consolidate into 3 questions. For all examples below, I used combo- gcc 4.6 + dragonegg(trunk) + llvm(trunk) (1). Does 'fplugin-arg-dragonegg-llvm-option' allow all ...
2012 Apr 03
2
[LLVMdev] pb05 results for current llvm/dragonegg
...has been regressed from 10.80 sec > > in llvm/dragonegg 3.0 to 12.45 sec in llvm/dragonegg 3.1. These are > > slightly different FSF gcc 4.6 releases (4.6.2svn vs 4.6.3 but I would > > be shocked if that was the origin of the performance regression). > > The results for -fplugin-arg-dragonegg-enable-gcc-optzns doesn't > > seem much improved in llvm 3.1 so I assume this means little progress > > was made in eliminating the scalarization of vectorizations in this > > release. Did we even get any code added to llvm that would allow us > > to identi...
2011 Apr 15
1
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns impact
On Fri, Apr 15, 2011 at 08:53:19AM +0200, Duncan Sands wrote: > Hi Jack, > > > Now that dragoneegg is robust in its default usage and the dragonegg svn > > is moderately stable with -fplugin-arg-dragonegg-enable-gcc-optzns, it is > > possible to gauge the impact of that feature. Comparing clang 2.9, FSF gcc 4.5.3svn, > > FSF gcc 4.6.0 and dragonegg svn with FSF gcc 4.5.3svn using the himenoBMTxpa benchmark, > > the enhancement to code performance from -fplugin-arg-dra...
2012 Aug 08
0
[LLVMdev] Pass llvm options to DragonEgg
Hello All, Another newbie question. I am confused as to what options will work with "fplugin-arg-dragonegg-llvm-option" for dragonegg plugin. Readme says it is used to pass command-line options to llvm. I shall consolidate into 3 questions. For all examples below, I used combo- gcc 4.6 + dragonegg(trunk) + llvm(trunk) (1). Does 'fplugin-arg-dragonegg-llvm-option' allow all ...
2012 Apr 03
0
[LLVMdev] pb05 results for current llvm/dragonegg
...if the ac benchmark has been regressed from 10.80 sec > in llvm/dragonegg 3.0 to 12.45 sec in llvm/dragonegg 3.1. These are > slightly different FSF gcc 4.6 releases (4.6.2svn vs 4.6.3 but I would > be shocked if that was the origin of the performance regression). > The results for -fplugin-arg-dragonegg-enable-gcc-optzns doesn't > seem much improved in llvm 3.1 so I assume this means little progress > was made in eliminating the scalarization of vectorizations in this > release. Did we even get any code added to llvm that would allow us > to identify instances of thes...
2011 Apr 15
2
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns impact
Now that dragoneegg is robust in its default usage and the dragonegg svn is moderately stable with -fplugin-arg-dragonegg-enable-gcc-optzns, it is possible to gauge the impact of that feature. Comparing clang 2.9, FSF gcc 4.5.3svn, FSF gcc 4.6.0 and dragonegg svn with FSF gcc 4.5.3svn using the himenoBMTxpa benchmark, the enhancement to code performance from -fplugin-arg-dragonegg-enable-gcc-optzns is cl...
2012 Apr 03
3
[LLVMdev] pb05 results for current llvm/dragonegg
...tml It does look as if the ac benchmark has been regressed from 10.80 sec in llvm/dragonegg 3.0 to 12.45 sec in llvm/dragonegg 3.1. These are slightly different FSF gcc 4.6 releases (4.6.2svn vs 4.6.3 but I would be shocked if that was the origin of the performance regression). The results for -fplugin-arg-dragonegg-enable-gcc-optzns doesn't seem much improved in llvm 3.1 so I assume this means little progress was made in eliminating the scalarization of vectorizations in this release. Did we even get any code added to llvm that would allow us to identify instances of these scalarizations thr...
2011 Apr 15
0
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns impact
Hi Jack, > Now that dragoneegg is robust in its default usage and the dragonegg svn > is moderately stable with -fplugin-arg-dragonegg-enable-gcc-optzns, it is > possible to gauge the impact of that feature. Comparing clang 2.9, FSF gcc 4.5.3svn, > FSF gcc 4.6.0 and dragonegg svn with FSF gcc 4.5.3svn using the himenoBMTxpa benchmark, > the enhancement to code performance from -fplugin-arg-dragonegg-enable-g...
2011 Jun 09
3
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns status
Current dragonegg svn has all of the -fplugin-arg-dragonegg-enable-gcc-optzns bugs for usage with -ffast-math -O3 addressed except for those related to PR2314. Using the -fno-tree-vectorize option, we can evaluate the current state of -fplugin-arg-dragonegg-enable-gcc-optzns with the Polyhedron 2005 benchmarks compared to stock dragonegg and s...
2011 Jun 10
0
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns status
...11R6/lib --program-suffix=-fsf-4.5 --enable-lto --enable-checking=release Thread model: posix gcc version 4.5.4 20110608 (prerelease) (GCC) x86_64 darwin A) gcc 4.5.4svn using -msse3 -ffast-math -O3 -fno-tree-vectorize B) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize -fplugin-arg-dragonegg-enable-gcc-optzns C) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize D) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize -fplugin-arg-dragonegg-enable-gcc-optzns -fplugin-arg-dragonegg-llvm-ir-optimize=2 E) gcc 4.5.4svn/dragonegg using -m...
2011 May 23
2
[LLVMdev] Get "invalid option '-fplugin-arg-dragonegg-disable-llvm-optzns'" while making llvm test-suite
hi, I have dragonegg r131864, gcc-4.5 r174052 and llvm r131897. When i tried to make the llvm test-suite, i got a error message: /home/ether/local/gcc-4.5/bin/gcc -fplugin=/home/ether/sources/dragonegg/dragonegg.so -I/home/ether/build/llvm-ts/projects/test-suite/SingleSource/UnitTests/Vector/SSE -I/home/ether/sources/llvm/projects/test-suite/SingleSource/UnitTests/Vector/SSE -I/home/ether/build/llvm-ts/projects/test-suite/../../../../sources/llvm/projects/test-suite/...
2011 Jun 09
3
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns status
...an Sands wrote: > Hi Jack, thanks for doing this. > >> Below are the tabulated compile times and executable sizes. >> >> A) gcc 4.5.4svn using -msse3 -ffast-math -O3 -fno-tree-vectorize >> B) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize -fplugin-arg-dragonegg-enable-gcc-optzns >> C) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize > > These numbers really surprised me: the GCC code generators must be really slow > if the entire set of LLVM IR and codegen optimizations takes less time to run > than G...
2011 Jun 09
0
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns status
Hi Jack, thanks for these numbers. Can you also please measure compile times? I'm thinking of enabling gcc optimizations by default, but I don't want to increase compile times, which means choosing a value for the -fplugin-arg-dragonegg-llvm-ir-optimize option that is low enough to get good compile times, yet high enough to get fast code. It would be great if you could play around with this to find a good choice. Best wishes, Duncan. > Current dragonegg svn has all of the -fplugin-arg-dragonegg-enable-gcc-op...
2011 Jun 09
3
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns status
Duncan, Below are the tabulated compile times and executable sizes. A) gcc 4.5.4svn using -msse3 -ffast-math -O3 -fno-tree-vectorize B) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize -fplugin-arg-dragonegg-enable-gcc-optzns C) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize Compile time (seconds) Benchmark A) stock B) gcc 4.5.4/ C) gcc 4.5.4/ gcc 4.5.4 dragonegg/optzns dragonegg ac 0.61 1.65 0.32 ae...
2011 Jun 09
0
[LLVMdev] -fplugin-arg-dragonegg-enable-gcc-optzns status
Hi Jack, thanks for doing this. > Below are the tabulated compile times and executable sizes. > > A) gcc 4.5.4svn using -msse3 -ffast-math -O3 -fno-tree-vectorize > B) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize -fplugin-arg-dragonegg-enable-gcc-optzns > C) gcc 4.5.4svn/dragonegg using -msse3 -ffast-math -O3 -fno-tree-vectorize These numbers really surprised me: the GCC code generators must be really slow if the entire set of LLVM IR and codegen optimizations takes less time to run than GCC codegen (since with...
2012 Jun 08
2
[LLVMdev] How to use LLVM optimizations with clang
Hi Shahzad, > I tried your method and it works fine. What would be the next step to > produce the final executable? I have tried the following but it is > producing an error > > $ gcc -fplugin=/path/to/dragonegg.so -S *.c > -fplugin-arg-dragonegg-emit-ir | opt -adce this won't work because you aren't passing the IR to opt (you need -o - for that if using a pipe) and you aren't doing anything with opt output. What's more, you are trying to compile multiple files at on...
2013 May 23
4
[LLVMdev] Polyhedron 2005 results for dragonegg 3.3svn
...nresolved symbols for _iround and _iroundf in the aermod and rnflow testcases. Note that this skews the geometric mean of the run time to much higher values. Jack Tested on x86_apple-darwin12 Compile Flags: -ffast-math -funroll-loops -O3 de-gfortran47: /sw/lib/gcc4.7/bin/gfortran -fplugin=/sw/lib/gcc4.7/lib/dragonegg.so -specs=/sw/lib/gcc4.7/lib/integrated-as.specs de-gfortran48: /sw/lib/gcc4.8/bin/gfortran -fplugin=/sw/lib/gcc4.8/lib/dragonegg.so -specs=/sw/lib/gcc4.8/lib/integrated-as.specs de-gfortran47+optzns: /sw/lib/gcc4.7/bin/gfortran -fplugin=/sw/lib/gcc4.7/lib/dragonegg.so...
2012 Oct 21
2
[LLVMdev] dragonegg polly support broken?
....html >> with... >> >> GCC=/sw/lib/gcc4.7/bin/gcc-4 LLVM_CONFIG=/sw/opt/llvm-3.2/bin/llvm-config ENABLE_LLVM_PLUGINS=1 make CPPFLAGS="-DENABLE_LTO -I/sw/include" >> >> The resulting dragonegg plugin works fine as... >> >> /sw/lib/gcc4.7/bin/gcc-4 -fplugin=/sw/lib/gcc4.7/lib/dragonegg.so -O3 himenoBMTxpa.c >> >> but if I try to invoke polly with... >> >> /sw/lib/gcc4.7/bin/gcc-4 -fplugin=/sw/lib/gcc4.7/lib/dragonegg.so -O3 -fplugin-arg-dragonegg-llvm-option=load:/sw/opt/llvm-3.2/lib/LLVMPolly.dylib himenoBMTxpa.c > > &g...
2012 Apr 04
2
[LLVMdev] pb05 results for current llvm/dragonegg
...being rejected by GCC's plugin options parser. I just implemented a hack > in dragonegg in which colons will be morphed into equals signs. So you should > now be able to pass -bb-vectorize-req-chain-depth:3 and have it work. > > Ciao, Duncan. Duncan, It would also be nice if -fplugin-arg-dragonegg-llvm-option= could allow multiple entries surrounded by quotes. Yesterday when I tested... de-gfortran46 -msse3 -ffast-math -funroll-loops -O3 -fno-tree-vectorize -fplugin-arg-dragonegg-llvm-option=-vectorize -fplugin-arg-dragonegg-llvm-option=- unroll-allow-partial -fplugin-arg-drag...