Folks, Has anyone tried this benchmark before? http://www.netlib.org/benchmark/livermorec Looks interesting, maybe should be added to test-suite? It's also a good way to learn Fortran... ;) -- cheers, --renato http://systemcall.org/
----- Original Message -----> From: "Renato Golin" <rengolin at systemcall.org> > To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu> > Sent: Monday, November 5, 2012 2:57:35 AM > Subject: [LLVMdev] YA Vectorization Benchmark > > Folks, > > Has anyone tried this benchmark before? > > http://www.netlib.org/benchmark/livermorec > > Looks interesting, maybe should be added to test-suite?I agree. FWIW, there is an updated version in this archive: http://www.roylongbottom.org.uk/classic_benchmarks.tar.gz -Hal> > It's also a good way to learn Fortran... ;) > > -- > cheers, > --renato > > http://systemcall.org/ > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- Hal Finkel Postdoctoral Appointee Leadership Computing Facility Argonne National Laboratory
On 5 November 2012 12:37, Hal Finkel <hfinkel at anl.gov> wrote:> I agree. FWIW, there is an updated version in this archive: > http://www.roylongbottom.org.uk/classic_benchmarks.tar.gzOk, I'll see what I can do... I'll try to transform it into a single file. Seems a bit messy at the moment with the 32-bit/64-bit includes/objects. -- cheers, --renato http://systemcall.org/
Renato, Thanks for the link. At the moment we are unable to vectorize any of the loops in this benchmark. I found two main problems: 1. We do not allow reductions on floating point types. We should allow them when unsafe-math is used. 2. All of the arrays are located in a struct. At the moment we don't detect that these arrays are disjoin, and this prevents vectorization. We should be able to vectorize many loops in this benchmark with relatively minor changes. Thanks, Nadav On Nov 5, 2012, at 12:57 AM, Renato Golin <rengolin at systemcall.org> wrote:> Folks, > > Has anyone tried this benchmark before? > > http://www.netlib.org/benchmark/livermorec > > Looks interesting, maybe should be added to test-suite? > > It's also a good way to learn Fortran... ;) > > -- > cheers, > --renato > > http://systemcall.org/ > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On 5 November 2012 17:41, Nadav Rotem <nrotem at apple.com> wrote:> 1. We do not allow reductions on floating point types. We should allow them when unsafe-math is used. > 2. All of the arrays are located in a struct. At the moment we don't detect that these arrays are disjoin, and this prevents vectorization.Indeed, they look like simple changes. If no one is dying to get them working, I suggest I try these first. I'll first get the tests running in the test-suite, than I'll try to vectorize them. -- cheers, --renato http://systemcall.org/