Due date: April 2, in class
Read about the linpack benchmark at
Download the (slightly modified) file linpack.c from
When running this benchmark on a 2.66GHz Dual-Core Intel Xeon, I obtain this table (MFLOPS
is million floating-point operations per second):
<标题>n max MFLOPS compiler flags
100 329.813 gcc
Problem 1 (6 points) Study the compile options of the gcc compiler, and in particular the
<标题>optimization flags, and the flags that are related to SSE instructions.
<标题>Produce the same table for each of penguin, mills, and your own computer. Keep the same
<标题>flags as above, but you can also add other flags. Try to obtain as high count as you can. Submit
<标题>the three tables and a discussion on your results.
Note. You can obtain information about your system