On 02/11/2015 12:36 PM, Andy Lutomirski wrote:
> 
> This is sort of a reply to the wrong thread, but wouldn't it be nicer
> if we could pop a bunch of regs instead of using mov followed by add?
> (Yes, this could be a followup, but it could be easier to spot now by
> changing macros like RESTORE_XYZ.)
> 

As far as I recall, it was an optimization for the Pentium 4 and
possibly K8.  At this point, most CPUs have stack engines so push/pop
may be faster or at least the same speed.  It would be nice to
microbenchmark.

        -hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to