Search the web
Sign In
New User? Sign Up
32bit_fpu · 32bit FPU
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
inadequate test vectors   Message List  
Reply | Forward Message #104 of 148 |
Re: inadequate test vectors

> I'll start looking at the C code next.

I skimmed the file timesoftfloat.c fpu_v19 and from John Hauser. The
line:

minIterations = 1000

is changed to

minIterations = 100000

and there are some other changes, but I can't see anything that would
make it give unique inputs for 100,000 cases.

I feel like I must be missing something. The documentation for this
project says:

"The FPU was tested in ModelSim with 100000 test cases for each
arithmetic operation and for each rounding mode."

I just cannot imagine the author is not referring to 100,000 unique
input pairs here. What am I missing?

Dara Parsavand




Thu Jun 21, 2007 5:00 pm

dara.parsavand
Offline Offline
Send Email Send Email

Forward
Message #104 of 148 |
Expand Messages Author Sort by Date

The instructions for getting test vectors suggest running timesoftfloat. However, that program was designed not to test the accuracy of the results, just to...
thirtyninewinks
Offline Send Email
Jun 14, 2007
5:59 pm

I do not have the problem of no vectors testing the square root (a 100 in the third line of the text block), but I have the same repetition issue you mentioned...
dara.parsavand
Offline Send Email
Jun 20, 2007
11:03 pm

... I skimmed the file timesoftfloat.c fpu_v19 and from John Hauser. The line: minIterations = 1000 is changed to minIterations = 100000 and there are some...
dara.parsavand
Offline Send Email
Jun 21, 2007
5:00 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help