12-09-2003
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
10 More Discussions You Might Find Interesting
1. News, Links, Events and Announcements
New Linux mail servers benchmarks website. Check out
http://benchmarks.dmz.ro . (0 Replies)
Discussion started by: cipango
0 Replies
2. UNIX for Advanced & Expert Users
Hello everyone.
Does anyone know where to I could find published benchmarks for how a Linux box performs. It would be nice if I could find a comparison to the Windows OS.
Thanks,
Lance (2 Replies)
Discussion started by: lcstephens
2 Replies
3. Linux Benchmarks
STEP 1: Get the source here:
https://www.unix.com/source/bm.zip
or
https://www.unix.com/source/unix_linux_bench.tar.gz
STEP 2: unzip or untar and cd into the bm directory
STEP 3: make
(Note: there is a pre-compiled Linux binary in the distro, so Linux users don't have to make a... (0 Replies)
Discussion started by: Neo
0 Replies
4. Linux Benchmarks
I created two computers with identical hardware, and run the benchmark programs in both starting at the same exact time.
What makes no sense is that the computer that has the lower average index (121) finished the race a good 30 minutes ahead of the computer wich showed the higher avg index... (0 Replies)
Discussion started by: philip_38
0 Replies
5. Linux
My system bench mark results
INDEX VALUES
TEST BASELINE RESULT INDEX
Arithmetic Test (type = double) 2541.7 876123.7 344.7
Dhrystone 2 without register variables 22366.3 5411602.3 ... (1 Reply)
Discussion started by: chandra s
1 Replies
6. Linux Benchmarks
FYI:
Here is the archive site for the original Linux benchmarks (1994 - 1996)
http://linux.silkroad.com/
Neo (3 Replies)
Discussion started by: Neo
3 Replies
7. Shell Programming and Scripting
Hello,
I am using suse 10.1 and isql from unixodbc to connect to a MS SQL server. I got everything to work fine. What do I need to unload the results from the sql to a file? I attempted to put unload to in my sql statement but got a error. I don't see in the isql help where it has a option to... (0 Replies)
Discussion started by: benefactr
0 Replies
8. Shell Programming and Scripting
Here is my script:
#
# Capture the current directory.
export -p CurrentDir="`pwd`"
echo $CurrentDir
#
# Capture the new directory name in the form YYYYMMDD.
export -p DateDir="`date +"%Y%m%d"`"
echo $DateDir
#
# Store the desired target directory.
export -p... (6 Replies)
Discussion started by: imprimisxo
6 Replies
9. Red Hat
I seem to be somewhat baffled by the results of the -L option of the ls command on our new Linux system.
I have a symbolic link defined like the following:
ptmawpmfld.sqr as /u21/xxxx/m/moranp1/yyyy/fixpaths/tests20091218/awpmfld.sqr
When I issue the command ls -l ptmawpmfld.sqr, I see the... (2 Replies)
Discussion started by: ptmoran
2 Replies
10. UNIX for Dummies Questions & Answers
I am trying to sort a file . The file looks like this:
DDFF 2 /ztpfrepos/pgr/load
DDFQ 2 /ztpfrepos/pgr/load
DDFX 2 /ztpfrepos/pgr/load
DDUA 2 /ztpfrepos/pgr/load
My command:
sort -k1 /home/c153507/Bin/OPL1.txt -o /home/c153507/Bin/OPL1.txt
The results are OK except for one line where... (4 Replies)
Discussion started by: Yahalom
4 Replies
LEARN ABOUT DEBIAN
snd_ich
SND_ICH(4) BSD Kernel Interfaces Manual SND_ICH(4)
NAME
snd_ich -- Intel ICH AC'97 and compatible bridge device driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device sound
device snd_ich
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
snd_ich_load="YES"
DESCRIPTION
The snd_ich bridge driver allows the generic audio driver sound(4) to attach to Intel ICH AC'97 and compatible audio devices.
Some later chips, like ICH6/ICH7, depending on wiring can instead implement newer Intel HD Audio specification, which is supported by
snd_hda(4) driver.
HARDWARE
The snd_ich driver supports the following audio devices:
o AMD 768
o AMD 8111
o Intel 443MX
o Intel ICH
o Intel ICH revision 1
o Intel ICH2
o Intel ICH3
o Intel ICH4
o Intel ICH5
o Intel ICH6
o Intel ICH7
o NVIDIA nForce
o NVIDIA nForce2
o NVIDIA nForce2 400
o NVIDIA nForce3
o NVIDIA nForce3 250
o NVIDIA nForce4
o SiS 7012
SEE ALSO
sound(4), snd_hda(4)
HISTORY
The snd_ich device driver first appeared in FreeBSD 4.2.
AUTHORS
This manual page was written by Jorge Mario G. Mazo <jgutie11@eafit.edu.co>.
BSD
January 6, 2009 BSD