Chris Lattner
2008-Apr-03 02:58 UTC
[LLVMdev] Goog test-cases for a new register allocator
On Apr 2, 2008, at 4:47 PM, David Greene wrote:>> I think these requirements are not specific for my allocator only, >> but >> are important for checking any register allocator. May be someone >> (Fernando? David? Evan?) who was working on register allocators has >> found a good set of examples covering some of the topics? Or may be >> someone knows good examples due to the fact that current register >> allocators perform too bad on it? ;-) > > I've found the NAS Parallel Benchmarks to be quite a good workout: > > http://www.nas.nasa.gov/Resources/Software/npb.html > > They are medium-sized benchmarks, so substantial without being totally > overwhelming. They manifest pretty much all of your points above. > The > basic linear scan algorithm seems to do fairly well on them so it > makes > for a good comparison. > > I use version 2.3, the serial flavor (yes, I understand the > irony :) ).Could these be added to llvm-test? -Chris
Owen Anderson
2008-Apr-03 05:00 UTC
[LLVMdev] Goog test-cases for a new register allocator
On Apr 2, 2008, at 9:58 PM, Chris Lattner wrote:> > Could these be added to llvm-test? > > -ChrisI just added the two C benchmarks as MultiSource/Benchmarks/NPB-serial. --Owen -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2555 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080403/e41bd836/attachment.bin>
Chris Lattner
2008-Apr-03 05:31 UTC
[LLVMdev] Goog test-cases for a new register allocator
On Apr 2, 2008, at 10:00 PM, Owen Anderson wrote:> On Apr 2, 2008, at 9:58 PM, Chris Lattner wrote: >> >> Could these be added to llvm-test? >> >> -Chris > > I just added the two C benchmarks as MultiSource/Benchmarks/NPB- > serial.Nice, thanks! -Chris