The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > UNIX Standards and Benchmarks > UNIX & LINUX Benchmarks (Version 3.11) > Linux Benchmarks
.
google unix.com



Linux Benchmarks Download software, run and post benchmarks here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Original (Archive) Site for Linux Benchmarks Neo Linux Benchmarks 3 02-06-2007 09:38 AM
Linux Benchmarks Makes No Sense philip_38 Linux Benchmarks 0 07-22-2005 11:29 AM
Instructions for Linux Benchmarks Neo Linux Benchmarks 0 09-06-2003 08:48 PM
Linux Processing Benchmarks ? lcstephens UNIX for Advanced & Expert Users 2 07-28-2002 01:13 PM
Linux mail servers benchmarks (Qmail, Sendmail,Postfix) cipango News, Links, Events and Announcements 0 07-26-2002 02:30 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 12-09-2003
cpjain cpjain is offline
Registered User
  
 

Join Date: Dec 2003
Posts: 2
Arithmetic tests needs to be updated for advanced compiler optimization

Hi,
I was trying to build Linux Benchmarks with latest Intel C++ Compiler.
When I used -ipo (inter-procedural optimization) option, arithmetic test (arith.c) failed on execution.

The problem is Intel compiler's advanced optimization option (-ipo) optimizes much more than expected and this results in elimination of some part of code.
/-------------------------------------------------
++iter;
/* the loop calls a function to insure that something is done
the results of the function are fed back in (just so they
they won't be thrown away. A loop with
unused assignments may get optimized out of existence */
result = dumb_stuff(result);
/--------------------------------------------------------

This part gets eliminated becuase of IPO.

Steps to reproduce:
$icc -o ./pgms/arithoh -DTIME -O3 -xW -ipo -static -unroll -Darithoh ./src/arith.c

$./pgms/arithoh 1
0 loops

and this results in divide by zero error.

Regards,
CP
 

Bookmarks

Tags
linux, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:45 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0