diff options
author | liuhongt <hongtao.liu@intel.com> | 2025-03-17 22:47:11 -0700 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2025-03-19 23:33:34 -0700 |
commit | 62a6cafd7f55c6e88a9780b91039257572038535 (patch) | |
tree | dccdcd242b761d7ebfeb20183ea32a3c54315da4 /gcc/rust | |
parent | c3a211c9329cbd4380820e5350f224aa04ba0071 (diff) | |
download | gcc-62a6cafd7f55c6e88a9780b91039257572038535.zip gcc-62a6cafd7f55c6e88a9780b91039257572038535.tar.gz gcc-62a6cafd7f55c6e88a9780b91039257572038535.tar.bz2 |
Use ix86_fp_comparison_operator in cbranchbf4 to avoid ICE.
*jcc only supports ix86_fp_comparison_operator for CCFP, when
comparison code is LT, there's an ICE. W/o AVX10.2, it's ok since
do_compare_rtx_and_jump will transform LT to GT, but w/ AVX10.2 it
goes directly into ix86_expand_branch which doesn't handle it.
Use ix86_fp_comparison_operator in cbranchbf4.
gcc/ChangeLog:
PR target/117452
* config/i386/i386.md (cbranchbf4): Use
ix86_fp_comparison_operator instead of comparison_operator.
gcc/testsuite/ChangeLog:
* gcc.target/i386/pr117452.c: New test.
Diffstat (limited to 'gcc/rust')
0 files changed, 0 insertions, 0 deletions