]> git.ipfire.org Git - thirdparty/gcc.git/commit
Support 64bit fma/fms/fnma/fnms under avx512vl.
authorliuhongt <hongtao.liu@intel.com>
Wed, 22 Sep 2021 01:54:08 +0000 (09:54 +0800)
committerliuhongt <hongtao.liu@intel.com>
Wed, 22 Sep 2021 06:18:35 +0000 (14:18 +0800)
commitb0ac84dc27874f5bd69255d55f909e240f0b45a5
treed4877ab16a5048774f1ccca660045bd4f6d4c67f
parent0f4b73f4edf8fa2c24eb4402b1364a1ddb971565
Support 64bit fma/fms/fnma/fnms under avx512vl.

gcc/ChangeLog:

* config/i386/i386.md (define_attr "isa"): Add
fma_or_avx512vl.
(define_attr "enabled"): Correspond fma_or_avx512vl to
TARGET_FMA || TARGET_AVX512VL.
* config/i386/mmx.md (fmav2sf4): Extend to AVX512 fma.
(fmsv2sf4): Ditto.
(fnmav2sf4): Ditto.
(fnmsv2sf4): Ditto.

gcc/testsuite/ChangeLog:

* gcc.target/i386/avx512vl-pr95046.c: New test.
gcc/config/i386/i386.md
gcc/config/i386/mmx.md
gcc/testsuite/gcc.target/i386/avx512vl-pr95046.c [new file with mode: 0644]