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
IASL(8) BSD System Manager's Manual IASL(8)
NAME
iasl -- Intel ASL compiler and disassembler (iASL)
SYNOPSIS
iasl [options] <input file>
DESCRIPTION
The iasl is a fully-featured compiler for the ACPI Source Language (ASL). It translates ASL to ACPI Machine Language (AML), but iasl can
also act as a disassembler, translating AML to ASL.
OPTIONS
Global
-@ file Specify command file.
-I dir Specify additional include directory.
General Output
-p prefix Specify a path or filename prefix for all output files.
-va Disable all errors and warnings in the summary.
-vi Use less verbose errors and warnings.
-vo Enable optimization comments.
-vr Disable remarks.
-vs Disable signon.
-w 1 | 2 | 3 Set warning reporting level.
AML Output Files
-s a | c Create AML in assembler (*.asm) or C (*.c) source file.
-i a | c Create assembler (*.inc) or C (*.h) include file.
-t a | c Create AML in assembler or C hex table (*.hex).
AML Code Generation
-oa Disable all optimizations (compatibility mode).
-of Disable constant folding.
-oi Disable integer optimization to operation codes.
-on Disable named reference string optimization.
-r revision Override table header revision (1-255).
Listings
-l Create mixed, ASL and AML, listing file (*.lst).
-ln Create namespace file (*.nsp).
-ls Create combined source file (*.src).
AML Disassembler
-d file Disassemble binary ACPI table to a file (*.dsl).
-dc file Disassemble AML and immediately compile it.
-e f1, f2 Include ACPI table(s) for external symbol resolution.
-2 Emit ACPI 2.0 compatible ASL code.
-g Get ACPI tables and write to files (*.dat).
Help
-h Display additional help and compiler debug options.
-hc Display operators allowed in constant expressions.
-hr Display ACPI reserved method names.
SEE ALSO
acpi(4), acpidump(8), amldb(8)
Intel Corporation, iASL Compiler/Disassembler User Reference, Revision 2.00, http://www.acpica.org/download/aslcompiler.pdf, September 18,
2009.
HISTORY
The iasl compiler/disassembler is part of the Intel ACPI Component Architecture (ACPICA). It first appeared in NetBSD 6.0.
AUTHORS
Among Intel engineers, Robert Moore <robert.moore@intel.com> was the chief architect behind iasl. This manual page was written for NetBSD by
Jukka Ruohonen <jruohonen@iki.fi>.
BSD
April 10, 2010 BSD