This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Try to avoid vector mode punning in SET_DEST on i?86
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>, Uros Bizjak <ubizjak at gmail dot com>
- Cc: Kirill Yukhin <kirill dot yukhin at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 31 Oct 2013 11:53:44 -0700
- Subject: Re: [PATCH] Try to avoid vector mode punning in SET_DEST on i?86
- Authentication-results: sourceware.org; auth=none
- References: <20131030094713 dot GC27813 at tucnak dot zalov dot cz> <CAFULd4brNCAKn4tD7F5f4JWVto5ujyfubC333O0SwygueazKig at mail dot gmail dot com> <20131030111125 dot GG27813 at tucnak dot zalov dot cz> <20131031164947 dot GV27813 at tucnak dot zalov dot cz>
On 10/31/2013 09:49 AM, Jakub Jelinek wrote:
> 2013-10-31 Jakub Jelinek <jakub@redhat.com>
>
> * optabs.c (expand_vec_perm): Avoid vector mode punning
> SUBREGs in SET_DEST.
> * expmed.c (store_bit_field_1): Likewise.
> * config/i386/sse.md (movdi_to_sse, vec_pack_sfix_trunc_v2df,
> vec_pack_sfix_v2df, vec_shl_<mode>, vec_shr_<mode>,
> vec_interleave_high<mode>, vec_interleave_low<mode>): Likewise.
> * config/i386/i386.c (ix86_expand_vector_move_misalign,
> ix86_expand_sse_movcc, ix86_expand_int_vcond, ix86_expand_vec_perm,
> ix86_expand_sse_unpack, ix86_expand_args_builtin,
> ix86_expand_vector_init_duplicate, ix86_expand_vector_set,
> emit_reduc_half, expand_vec_perm_blend, expand_vec_perm_pshufb,
> expand_vec_perm_interleave2, expand_vec_perm_pshufb2,
> expand_vec_perm_vpshufb2_vpermq,
> expand_vec_perm_vpshufb2_vpermq_even_odd, expand_vec_perm_even_odd_1,
> expand_vec_perm_broadcast_1, expand_vec_perm_vpshufb4_vpermq2,
> ix86_expand_sse2_mulv4si3, ix86_expand_pinsr): Likewise.
> (expand_vec_perm_palignr): Likewise. Modify a copy of *d rather
> than *d itself.
Ok.
r~