Number of spills/stores

Dear guys,

     After compiling 188.ammp, one of spec floating point benchmarks,
using the linear scan register allocator, I got 34 spills, but only
28 store instructions. These data were given by -stats. Is this number
correct? I mean, the number of stores should be equal or greater than
the number of spills, shouldn't it?

Best regards,


Some spill code gets folded into instructions. For example, if you have:

   vreg1234 += 7

they can be spilled to:

   [esp + 123] += 7

on x86.