[lkml]   [2015]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 02/11] x86: code shrink in paranoid_exit
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


 \ /
  Last update: 2015-02-11 22:21    [W:0.199 / U:11.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site