60 likes | 135 Views
Tests on Queen. E450MP Fourway 333MHz UltraSparcII, running SunOS 5.9 super scalar processor, 64-bit SPARC-V9 RISC architecture. capable to sustain an execution rate of four instructions per cycle Nine stages pipeline Spiral 3.1 gcc version 2.95.2 19991024 (release) Optmization flags
E N D
Tests on Queen E450MP Fourway 333MHz UltraSparcII, running SunOS 5.9 super scalar processor, 64-bit SPARC-V9 RISC architecture. capable to sustain an execution rate of four instructions per cycle Nine stages pipeline Spiral 3.1 gcc version 2.95.2 19991024 (release) Optmization flags -O6 -fomit-frame-pointer -mno-unaligned-doubles -fstrict-aliasing –mcpu=v9
Experiments • W:= Transform(“WHT”<size>); • T := AllRuleTrees(W); • List(T, x->MeasureRuleTree(x); • spl := SPLRuleTree(ruletree); • ExportSPL(“file.spl”, PrepareForExportingSPL(spl)); • Bash# spl file.spl –xlanguage=c –xoutput=file.c • gcc -O6 -fomit-frame-pointer -mno-unaligned-doubles -fstrict-aliasing –mcpu=v9 -S file.c
-bash-2.05b$ ./get_instr.pl Istruction count for 5b.s... faddd occurred 160 times... nop occurred 4 times... td occurred 259 times... return occurred 1 times... save occurred 1 times... fmovd occrrued 14 times... retl occured 1 times... ldd occurred 452 times... fsubd occurred 160 times... Total: 1052 -bash-2.05b$ ./get_instr.pl Istruction count for 5w.s... faddd occurred 160 times.. nop occurred 4 times... std occurred 264 times... return occurred 1 times... save occurred 1 times... fmovd occurred 11 times... retl occured 1 times... ldd occurred 462 times... fsubd occurred 160 times.. Total: 1064 Observations
Observations Best Worst
Conclusion • The best implementation has lower instruction count. • They differ considerably in the number of loads.