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