aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-patterns.cc
diff options
context:
space:
mode:
authorLevy Hsu <admin@levyhsu.com>2024-09-02 13:52:38 +0800
committerLevy Hsu <admin@levyhsu.com>2024-09-05 02:34:43 +0000
commitf9ca3fd1fe30f3ee6725bfe4a612e9a1234c11ac (patch)
tree1c52f7d57426fede1d322b97f7785ba66fca455d /gcc/tree-vect-patterns.cc
parent91421e21e8f0f05f440174b8de7a43a311700e08 (diff)
downloadgcc-f9ca3fd1fe30f3ee6725bfe4a612e9a1234c11ac.zip
gcc-f9ca3fd1fe30f3ee6725bfe4a612e9a1234c11ac.tar.gz
gcc-f9ca3fd1fe30f3ee6725bfe4a612e9a1234c11ac.tar.bz2
i386: Support partial vectorized FMA for V2BF/V4BF
This patch introduces support for vectorized FMA operations for bf16 types in V2BF and V4BF modes on the i386 architecture. New mode iterators and define_expand entries for fma, fnma, fms, and fnms operations are added in mmx.md, enhancing the i386 backend to handle these complex arithmetic operations. gcc/ChangeLog: * config/i386/mmx.md (TARGET_MMX_WITH_SSE): New mode iterator VBF_32_64 (fma<mode>4): define_expand for V2BF/V4BF fma<mode>4. (fnma<mode>4): define_expand for V2BF/V4BF fnma<mode>4. (fms<mode>4): define_expand for V2BF/V4BF fms<mode>4. (fnms<mode>4): define_expand for V2BF/V4BF fnms<mode>4. gcc/testsuite/ChangeLog: * gcc.target/i386/avx10_2-partial-bf-vector-fma-1.c: New test.
Diffstat (limited to 'gcc/tree-vect-patterns.cc')
0 files changed, 0 insertions, 0 deletions