Re: [PATCH] parisc: Drop __arch_swab16(), arch_swab24(), _arch_swab32() and __arch_swab64() functions

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

 



On 2021-09-03 9:12 a.m., Helge Deller wrote:
> On 9/3/21 2:41 PM, John David Anglin wrote:
>> Hi Helge,
>>
>> I don't believe the compiler can implement __arch_swab64() as efficiently as the inline assembly
>> code.  The compiler doesn't know about the permh or hsh instructions.
>
> Yes, it does.
You are correct.  bswaphi2, bswapsi2 and bswapdi2 patterns are implemented in pa.md.

Dave

-- 
John David Anglin  dave.anglin@xxxxxxxx




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux