diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2025-04-21 20:16:50 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@ucw.cz> | 2025-04-21 20:17:15 +0200 |
commit | 0907a810f586b07636cc5b83dba6025eb5240655 (patch) | |
tree | 45e3dcb095ea63dbc2cddf4274fe230f34ac37ff /libjava/gnu/java/beans/decoder/MethodFinder.java | |
parent | 2d07e3687998f31dfc7a18cbf14f17096c599549 (diff) | |
download | gcc-0907a810f586b07636cc5b83dba6025eb5240655.zip gcc-0907a810f586b07636cc5b83dba6025eb5240655.tar.gz gcc-0907a810f586b07636cc5b83dba6025eb5240655.tar.bz2 |
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.
Diffstat (limited to 'libjava/gnu/java/beans/decoder/MethodFinder.java')
0 files changed, 0 insertions, 0 deletions