diff options
author | Lingling Kong <lingling.kong@intel.com> | 2024-10-17 10:42:44 +0800 |
---|---|---|
committer | Lingling Kong <lingling.kong@intel.com> | 2024-10-17 10:43:28 +0800 |
commit | 2d8c3a26dca8912147e34e3a496297138c9261d8 (patch) | |
tree | 9e4d75bfc034af31a58a8c164db9ab24b46d20ad /gcc | |
parent | 21e2cd65add9070292313f8e12e8731d0aa2c869 (diff) | |
download | gcc-2d8c3a26dca8912147e34e3a496297138c9261d8.zip gcc-2d8c3a26dca8912147e34e3a496297138c9261d8.tar.gz gcc-2d8c3a26dca8912147e34e3a496297138c9261d8.tar.bz2 |
i386: Fix scalar VCOMSBF16 which only compares low word
gcc/ChangeLog:
* config/i386/sse.md(avx10_2_comsbf16_v8bf): Fixed scalar
operands.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/i386/sse.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index 59b826c..685bce3 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -32366,8 +32366,12 @@ (define_insn "avx10_2_comsbf16_v8bf" [(set (reg:CCFP FLAGS_REG) (unspec:CCFP - [(match_operand:V8BF 0 "register_operand" "v") - (match_operand:V8BF 1 "nonimmediate_operand" "vm")] + [(vec_select:BF + (match_operand:V8BF 0 "register_operand" "v") + (parallel [(const_int 0)])) + (vec_select:BF + (match_operand:V8BF 1 "nonimmediate_operand" "vm") + (parallel [(const_int 0)]))] UNSPEC_VCOMSBF16))] "TARGET_AVX10_2_256" "vcomsbf16\t{%1, %0|%0, %1}" |