[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 02/10] x86/guest-walk: use unambiguous register names
>>> George Dunlap <George.Dunlap@xxxxxxxxxxxxx> 12/28/16 12:18 PM >>> >On Tue, Dec 20, 2016 at 10:36 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote: >> This is in preparation of eliminating the mis-naming of 64-bit fields >> with 32-bit register names (eflags instead of rflags etc). Use the >> guaranteed 32-bit underscore prefixed names for now where appropriate. >> >> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> > >Any particular reason to use _eflags rather than just using rflags here? 32-bit accesses are shorter instruction byte wise on average (not requiring REX.W). And the ultimate goal is to switch to eflags (without the underscore here), just that this can't be easily done in a single step (hence the "part I" in the title of the overview mail). And using _eflags now allows us to easily find such uses (once that field name goes away), whereas rflags is to stay (and hence would need to be grep-ed for instead of the compiler pointing out any leftover uses). >Either way: > >Acked-by: George Dunlap <george.dunlap@xxxxxxxxxx> Thanks. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |