Re: [PATCH v4 01/17] x86/common: Align cpu_caps_cleared and cpu_caps_set to unsigned long

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 04, 2019 at 11:48:18AM +0100, Paolo Bonzini wrote:
> True that.  On the other hand btsl/btrl is also one byte smaller if no 
> operand is %r8-%r15.

Because then we loose the REX prefix, right. Now _that_ might actually
be a reason to do that :-)

> In any case, /me wonders if we should have a macro like
> 
> #define DECLARE_LE_BITMAP(name,bits) \
>         u32 name[DIV_ROUND_UP(bits, 32)] __aligned(sizeof(unsigned long))

 s/u32/__le32/

To go in bitops/le.h, sure, if there's enough users.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux