On Mon, Feb 12, 2018 at 5:29 AM, Denys Vlasenko <dvlas...@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