Re: [tip:core/types] bitops: Add sign_extend8(), 16 and 64 functions

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

 



On 02/04/2015 11:17 PM, Ingo Molnar wrote:

Even for the 8bit ones? Since we have the *H and *L register
we have more 8 bit regs than we have 16/32 bit regs and it
might just be worth it.

Fewer, actually.  gcc doesn't really use the H registers much,

Is that true for other compilers as well?


Probably. It wrecks havoc on register allocation, and it doesn't buy that much, especially on 64 bits where all the registers can be used for 8-bit operations.

	-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux