
# Copyright (c) FFLAS-FFPACK
# ========LICENCE========
# This file is part of the library FFLAS-FFPACK.
#
# FFLAS-FFPACK is free software: you can redistribute it and/or modify
# it under the terms of the  GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
# ========LICENCE========
#/

#set encoding iso_8859_1
set xlabel "Matrix order"
set ylabel "Mfops " 
set title "Classic matrix multiplication over Z/65521Z on a XEON, 3.6 GHz" 
#set title "Classic matrix multiplication over Z/65521Z on a PIV, 3.4 GHz" tc lt 2
set key below
#set logscale y 
#set logscale x
#set xtics tc lt 2
#set ytics tc lt 2
#set grid noxtics ytics lt 2
set grid noxtics ytics 
set border 4095 lt 7
set style line 5 pt 2


plot [] [0:8999] "dgemm-goto-xeon" using 2:(($2/$6*$2/1000)*(2*$2-1)/1000) title "GOTO::dgemm" with linespoint 2
replot "fgemm-goto-xeon" using 2:(($2/$6*$2/1000)*(2*$2-1)/1000) title "FFLAS::fgemm" with lines 7
replot "blockmod-40" using 1:3 title "long-block-40" with linespoint 1
#replot "blockmod-40" using 1:5 title "mod-block-40" with linespoint 3
replot "plot1-mulMM" using 1:3 title "long-noblock" with linespoint 5
#replot "plot1-mulMM" using 1:3 title "StandardMod" with linespoint 4
set terminal postscript eps enhanced color solid lw 4
set output "gemm.eps"
replot
#set terminal x11
#replot
#pause(-1)
