aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/doc/doxygen/stdheader.cc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2025-05-07 00:24:04 +0200
committerJan Hubicka <hubicka@ucw.cz>2025-05-07 00:26:28 +0200
commit62ffaef514aad0eae5d3bc548d8e86d21a3095e7 (patch)
treefa6ccc0c4b35ac1267788d35029de4b326418fe9 /libstdc++-v3/doc/doxygen/stdheader.cc
parentd0571638a6bad932b226ada98b167fa47a47d838 (diff)
downloadgcc-62ffaef514aad0eae5d3bc548d8e86d21a3095e7.zip
gcc-62ffaef514aad0eae5d3bc548d8e86d21a3095e7.tar.gz
gcc-62ffaef514aad0eae5d3bc548d8e86d21a3095e7.tar.bz2
i386: Add costs for integer<->float conversions
Extend ix86_rtx_costs to cost FLOAT, UNSIGNED_FLOAT, FIX, and UNSIGNED_FIX. There are many variants of integer<->float conversions and it seems meaningful to start with the typical scalar and vector ones. On modern CPUs the variants differs by at most 1 cycle. gcc/ChangeLog: * config/i386/i386.cc (ix86_rtx_costs): Cost FLOAT, UNSIGNED_FLOAT, FIX, UNSIGNED_FIX. * config/i386/i386.h (struct processor_costs): Add cvtsi2ss, cvtss2si, cvtpi2ps, cvtps2pi. * config/i386/x86-tune-costs.h (struct processor_costs): Update tables.
Diffstat (limited to 'libstdc++-v3/doc/doxygen/stdheader.cc')
0 files changed, 0 insertions, 0 deletions