Re: [PATCH] Fix float128-call.c test for power8 IEEE 128 and power10.

2021-08-27 Thread Michael Meissner via Gcc-patches
On Fri, Aug 27, 2021 at 12:29:42PM -0500, Segher Boessenkool wrote: > On Wed, Aug 25, 2021 at 06:09:44PM -0400, Michael Meissner wrote: > > I built a compiler on a little endian power8 system where the default long > > double was IEEE 128-bit instead of IBM 128-bit. I discovered that on > > power8

Re: [PATCH] Fix float128-call.c test for power8 IEEE 128 and power10.

2021-08-27 Thread Segher Boessenkool
On Wed, Aug 25, 2021 at 06:09:44PM -0400, Michael Meissner wrote: > I built a compiler on a little endian power8 system where the default long > double was IEEE 128-bit instead of IBM 128-bit. I discovered that on > power8, we would generate a lxvd2x and xxpermdi to deal with the endianess > inste

Re: [PATCH] Fix float128-call.c test for power8 IEEE 128 and power10.

2021-08-27 Thread Michael Meissner via Gcc-patches
On Fri, Aug 27, 2021 at 11:41:06AM -0500, Bill Schmidt wrote: > This amuses me, and I want to keep it this way. :-) > > void store (TYPE a, TYPE *p) { *p = a; } > > -/* { dg-final { scan-assembler {\mlxvd2x 34\M} {target be} } } */ > > -/* { dg-final { scan-assembler {\mstxvd2x 34\M} {target be}

Re: [PATCH] Fix float128-call.c test for power8 IEEE 128 and power10.

2021-08-27 Thread David Edelsohn via Gcc-patches
ichael Meissner > > Date: Wed, 25 Aug 2021 00:31:35 -0400 > > Subject: [PATCH] Fix float128-call.c test for power8 IEEE 128 and power10. > > > > I built a compiler on a little endian power8 system where the default long > > double was IEEE 128-bit instead of IBM 12

Re: [PATCH] Fix float128-call.c test for power8 IEEE 128 and power10.

2021-08-27 Thread Bill Schmidt via Gcc-patches
Hi Mike, Thanks for this clean-up! On 8/25/21 5:09 PM, Michael Meissner wrote: From 327273dfeec5c000f3c33ca7b88ee0097fd33586 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 25 Aug 2021 00:31:35 -0400 Subject: [PATCH] Fix float128-call.c test for power8 IEEE 128 and power10. I

[PATCH] Fix float128-call.c test for power8 IEEE 128 and power10.

2021-08-25 Thread Michael Meissner via Gcc-patches
>From 327273dfeec5c000f3c33ca7b88ee0097fd33586 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 25 Aug 2021 00:31:35 -0400 Subject: [PATCH] Fix float128-call.c test for power8 IEEE 128 and power10. I built a compiler on a little endian power8 system where the default long double