Hi all, I have run a matrix test code on my server. When I changed all double type to float type in this code, float really get less time.
Theoretically, if your hardware support float computation natively, you will speedup of your program with float type. But when I run them on gem5, float doesn't speedup program. I get the following result:【gem5 command:./build/X86/gem5.fast configs/example/se.py -c /home/zzh/code/matrix_double -n 2 --mem-size=2048MB --caches --l2cache --l2_size 256kB --cpu-clock 1.46GHz --sys-clock 1.46GHz --cpu-type=DerivO3CPU】 So my question is, does gem5's cpu model support float computation natively? If it support, why I get above rsult?
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
