Douglas do Couto Teixeira
2011-Oct-17 23:39 UTC
[LLVMdev] How to compile SPEC CPU2006 using LLVM outside of test suite
Hi all, I would like to compile the benchmarks in the SPEC CPU2006 using different compilers and then see the differences in performance in the code generated by these compilers. One of these compilers is LLVM. So, I'd like to know how to compile and execute the programs in the SPEC CPU2006 using LLVM. I already did it by configuring the SPEC as an external project in the LLVM test suite but I would like to compile and execute those programs outside of the LLVM test suite. There is any way to do this? I want to compile the SPEC outside the LLVM test suite because I'd like to set the command line parameters to execute the programs in SPEC manually and it seems to me that I can't do this inside the LLVM test suite. Maybe I am wrong, but I don't know how to do that. Thanks in advance, Douglas
Cameron Zwarich
2011-Oct-17 23:43 UTC
[LLVMdev] How to compile SPEC CPU2006 using LLVM outside of test suite
Can't you just compile the SPEC binaries and use a script in a scripting language of your choice to run them? Cameron On Oct 17, 2011, at 4:39 PM, Douglas do Couto Teixeira wrote:> Hi all, > > I would like to compile the benchmarks in the SPEC CPU2006 using > different compilers and then see the differences in performance in the > code generated by these compilers. One of these compilers is LLVM. So, > I'd like to know how to compile and execute the programs in the SPEC > CPU2006 using LLVM. I already did it by configuring the SPEC as an > external project in the LLVM test suite but I would like to compile > and execute those programs outside of the LLVM test suite. There is > any way to do this? > > I want to compile the SPEC outside the LLVM test suite because I'd > like to set the command line parameters to execute the programs in > SPEC manually and it seems to me that I can't do this inside the LLVM > test suite. Maybe I am wrong, but I don't know how to do that. > > Thanks in advance, > > Douglas > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Douglas do Couto Teixeira
2011-Oct-18 01:43 UTC
[LLVMdev] How to compile SPEC CPU2006 using LLVM outside of test suite
On Mon, Oct 17, 2011 at 9:43 PM, Cameron Zwarich <zwarich at apple.com> wrote:> Can't you just compile the SPEC binaries and use a script in a scripting language of your choice to run them? >Yes, I can do that to run the programs. But how can I get the the time that LLVM takes to compile the benchmarks in the SPEC? -- Douglas> Cameron > > On Oct 17, 2011, at 4:39 PM, Douglas do Couto Teixeira wrote: > >> Hi all, >> >> I would like to compile the benchmarks in the SPEC CPU2006 using >> different compilers and then see the differences in performance in the >> code generated by these compilers. One of these compilers is LLVM. So, >> I'd like to know how to compile and execute the programs in the SPEC >> CPU2006 using LLVM. I already did it by configuring the SPEC as an >> external project in the LLVM test suite but I would like to compile >> and execute those programs outside of the LLVM test suite. There is >> any way to do this? >> >> I want to compile the SPEC outside the LLVM test suite because I'd >> like to set the command line parameters to execute the programs in >> SPEC manually and it seems to me that I can't do this inside the LLVM >> test suite. Maybe I am wrong, but I don't know how to do that. >> >> Thanks in advance, >> >> Douglas >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >
Maybe Matching Threads
- [LLVMdev] How to compile SPEC CPU2006 using LLVM outside of test suite
- [LLVMdev] Question about Value Range Propagation
- [LLVMdev] Question about Value Range Propagation
- [LLVMdev] How to change the type of an Instruction?
- [LLVMdev] How to change the type of an Instruction?