Hi! On 2/10/22 2:06 PM, Segher Boessenkool wrote: > Hi! > > On Thu, Feb 10, 2022 at 12:22:28PM -0600, Bill Schmidt wrote: >> This is a backport from mainline 3f30f2d1dbb3228b8468b26239fe60c2974ce2ac. >> These built-ins were misimplemented as always having big-endian semantics. > What is different compared to the trunk version?
The infrastructure changed, so: (1) Instead of changing the default pattern in rs6000-builtins.def, I have to change it in rs6000-builtin.def. (Note the missing "s".) (2) Instead of having the endian change driven by an "endian" flag in the built-in description in rs6000-builtins.def, I have to add some more ad-hoc code in rs6000_expand_builtin to handle the change to the big-endian pattern. That's all. Thanks! Bill > > > Segher