diff options
author | Hongyu Wang <hongyu.wang@intel.com> | 2024-05-08 11:08:42 +0800 |
---|---|---|
committer | Hongyu Wang <hongyu.wang@intel.com> | 2024-06-06 15:29:48 +0800 |
commit | 0b6cea8783b9e1b86c5c7c277c301cb5931bc5e0 (patch) | |
tree | 11a2b3a6d34b66882875db2b16e85f1f284d9293 /libgfortran/configure | |
parent | 23db87301b623ecf162c9df718ce82ed9aa354a8 (diff) | |
download | gcc-0b6cea8783b9e1b86c5c7c277c301cb5931bc5e0.zip gcc-0b6cea8783b9e1b86c5c7c277c301cb5931bc5e0.tar.gz gcc-0b6cea8783b9e1b86c5c7c277c301cb5931bc5e0.tar.bz2 |
[APX CCMP] Support ccmp for float compare
The ccmp insn itself doesn't support fp compare, but x86 has fp comi
insn that changes EFLAG which can be the scc input to ccmp. Allow
scalar fp compare in ix86_gen_ccmp_first except ORDERED/UNORDERD
compare which can not be identified in ccmp.
gcc/ChangeLog:
* config/i386/i386-expand.cc (ix86_gen_ccmp_first):
Add fp compare and check the allowed fp compare type.
(ix86_gen_ccmp_next): Adjust compare_code input to ccmp for
fp compare.
gcc/testsuite/ChangeLog:
* gcc.target/i386/apx-ccmp-1.c: Add test for fp compare.
* gcc.target/i386/apx-ccmp-2.c: Likewise.
Diffstat (limited to 'libgfortran/configure')
0 files changed, 0 insertions, 0 deletions