https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119879

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Hubicka <hubi...@gcc.gnu.org>:

https://gcc.gnu.org/g:0907a810f586b07636cc5b83dba6025eb5240655

commit r16-54-g0907a810f586b07636cc5b83dba6025eb5240655
Author: Jan Hubicka <hubi...@ucw.cz>
Date:   Mon Apr 21 20:16:50 2025 +0200

    Fix cost of vectorized double->float conversion

    In previous patch I miscomputed costs of cvtpd2pf instruction
    which mistakely gets accounted as 2 (VEC_PACK_TRUNC_EXPR).
    Vectorizer can produce both, but when producing VEC_PACK_TRUNC_EXPR
    it use promote_demote patch.  This patch thus simplifies
    handling of NOP_EXPR since in that case we should always be producing
    only one instruction.

            PR target/119879
            * config/i386/i386.cc (fp_conversion_stmt_cost): Inline to ...
            (ix86_vector_costs::add_stmt_cost): ... here; fix handling of
NOP_EXPR.

Reply via email to