home *** CD-ROM | disk | FTP | other *** search
/ Computer Club Elmshorn Atari PD / CCE_PD.iso / pc / 0600 / CCE_0643.ZIP / CCE_0643 / GBNCH340 / FPU_CPU.TXT < prev    next >
Text File  |  1993-11-09  |  2KB  |  33 lines

  1. GEM Bench 3 - comments about CPU and FPU tests
  2. ==============================================
  3.  
  4. There are serious difficulties in benchmarking the CPU and FPU. The 68030
  5. which is found on the TT and Falcon and also on some accelerator boards
  6. has a built-in cache. If the test routine is cached it can be _very_
  7. fast. If it isn't the 030 does not show its real capability. In addition,
  8. GEM Bench is compiled for any 680x0 processor and is not optimised for
  9. the 030, again not showing its real power. This however, reflect most
  10. ST/TT/F030 programs, most are compiled in the same way.
  11.  
  12. The FPU test is even more complex. A program can be compiled to use an
  13. FPU or to use the main processor. There is also a compromise setting
  14. which uses an FPU if one is found. In this mode, the FPU cannot show its
  15. true performance because of the overhead of the checks.
  16. In addition, the 68881/2 have many functions such as log() and sine()
  17. built-in. These are processed very fast. The test in GEMBench was compiled
  18. to auto-detect and uses a mix of the built-in functions using double
  19. precision floats and also converts Fahrenheit to Celsius a few thousand
  20. times using single precision floats.
  21.  
  22. Some I/O mapped 68881/2 seem to crash when bombarded with data. This will
  23. cause GEM Bench to hang while testing. If this happens, I have included a
  24. file called IEEE.RUN. To use it rename AUTOFPU.RUN to AUTOFPU.RUX and
  25. then rename IEEE.RUN to AUTOFPU.RUN. This causes GEM Bench to ignore the
  26. FPU. The result it produces will then be based on the main CPU and will
  27. not use the FPU at all, but at least it will not hang.
  28.  
  29. The most surprising discovery was that TTs vary in speed. Some TTs can be up
  30. to 20% faster or slower at some functions compared to others.
  31.  
  32. Ofir
  33.