Software Tuning, Performance Optimization & Platform Monitoring
Discussion around monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform monitoring

Which is fast?

GHui
Novice
78 Views

Recently, I found a things. 

The computiing "a=b*c" and "a+=b*c". In the same size, which runs fast on v3?

I complied it with "icc a.c  -xAVX  -O3".

"a+=b*c" runs faster than "a=b*c", almost 10 times performance.

0 Kudos
0 Replies
Reply