|
From: Greg P. <gp...@us...> - 2005-11-11 02:34:09
|
Paul Mackerras writes: > Linux doesn't use VRSAVE to control which VRs get saved and restored, > because it's never been clear to me that doing a conditional branch to > avoid a vector store would be a win. :) I usually treat vrsave as a boolean. That is, if vrsave==0 then save nothing, else save every vector that's vulnerable, regardless of vrsave's actual value. A conditional branch to avoid a dozen or two vectors stores is usually OK. Of course, Linux/ppc32 code presumably doesn't keep vrsave up to date, so it's a moot point there. -- Greg Parker gp...@us... |