Messages in this thread | | | From | Linus Torvalds <> | Date | Mon, 12 Feb 2018 08:51:04 -0800 | Subject | Re: [tip:x86/pti] x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro |
| |
On Mon, Feb 12, 2018 at 5:29 AM, Denys Vlasenko <dvlasenk@redhat.com> wrote: > > xorq's are slower than xorl's on Silvermont/Knights Landing. > I propose using xorl instead.
Makes sense, and matches the other 'xorl'.
I suspect the only reason it uses 'xorq' for the high regs is that the register names for the high regs are "odd" and don't match the legacy register names. You need to use "%r15d'" for the 32-bit version.
Linus
| |