Re: [PATCH] rs6000: Guard __builtin_{un, }pack_vector_int128 with vsx [PR109932]

2023-06-12 Thread Kewen.Lin via Gcc-patches
on 2023/6/12 02:39, David Edelsohn wrote: > On Tue, Jun 6, 2023 at 5: 19 AM Kewen. Lin wrote: > Hi, As PR109932 shows, builtins __builtin_{un,}pack_vector_int128 should be > guarded under vsx rather than power7, as their corresponding bif patterns > have the conditions >

Re: [PATCH] rs6000: Guard __builtin_{un, }pack_vector_int128 with vsx [PR109932]

2023-06-11 Thread David Edelsohn via Gcc-patches
On Tue, Jun 6, 2023 at 5:19 AM Kewen.Lin wrote: > Hi, > > As PR109932 shows, builtins __builtin_{un,}pack_vector_int128 > should be guarded under vsx rather than power7, as their > corresponding bif patterns have the conditions TARGET_VSX > and VECTOR_MEM_ALTIVEC_OR_VSX_P (V1TImode). This patch

[PATCH] rs6000: Guard __builtin_{un,}pack_vector_int128 with vsx [PR109932]

2023-06-06 Thread Kewen.Lin via Gcc-patches
Hi, As PR109932 shows, builtins __builtin_{un,}pack_vector_int128 should be guarded under vsx rather than power7, as their corresponding bif patterns have the conditions TARGET_VSX and VECTOR_MEM_ALTIVEC_OR_VSX_P (V1TImode). This patch is to move __builtin_{un,}pack_vector_int128 to stanza vsx