| Date | Thu, 18 Feb 2010 11:46:27 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH 01/10] x86: add support for multiple choice alternatives |
| |
On 02/17/2010 04:47 AM, Avi Kivity wrote: > On 02/17/2010 01:42 PM, Luca Barbieri wrote: >> This patch modifies the x86 alternative macros to allow more than one >> alternative code sequence. >> > Suggest documenting the precedence of alternatives: if both feature1 and > feature2 are present, which newinstr is patched in? >
Looks like the last one in the sequence takes effect, which is consistent with the operation of the single ALTERNATIVE() macro ... anything else would be quite lunacy.
-hpa
|