I'm currently measuring the performance of some code in FLOPS. This code presents some arithmetic negate instructions like this one:
d = -a
where d
and a
are floating point variables. The architecture I'm currently using does have specific negate instructions. Should I have to take into account this kind of operations to measure FLOPS? What kind of operations account for FLOPS? Is there a convention or anything?