Re: [PATCH] tree-optimization/98221 - fix wrong unpack operation used for big-endian

2021-01-11 Thread Jeff Law via Gcc-patches
On 1/11/21 3:02 AM, Andreas Krebbel via Gcc-patches wrote: > The vec-abi-varargs-1.c testcase on IBM Z currently fails. > > While adding an SI mode vector to a DI mode vector the first is unpacked > using: > > _28 = BIT_INSERT_EXPR <{ 0, 0, 0, 0 }, _2, 0>; > _34 = [vec_unpack_lo_expr] _28;

[PATCH] tree-optimization/98221 - fix wrong unpack operation used for big-endian

2021-01-11 Thread Andreas Krebbel via Gcc-patches
The vec-abi-varargs-1.c testcase on IBM Z currently fails. While adding an SI mode vector to a DI mode vector the first is unpacked using: _28 = BIT_INSERT_EXPR <{ 0, 0, 0, 0 }, _2, 0>; _34 = [vec_unpack_lo_expr] _28; However, on big endian targets lo refers to the right hand side of the