diff options
author | Jennifer Schmitz <jschmitz@nvidia.com> | 2024-08-07 08:56:45 -0700 |
---|---|---|
committer | Jennifer Schmitz <jschmitz@nvidia.com> | 2024-08-22 09:11:28 +0200 |
commit | 9bbad3685131ec95d970f81bf75f9556d4d92742 (patch) | |
tree | 731fef87bffc9f3cc9a8ec71fc1899d6fe102b50 /libgo/go/net/udpsock_plan9_test.go | |
parent | 23496098bba769044ed352c0d7bdb317477c16ac (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
This patch adds a new vectorization pattern that detects the modulo
operation where the second operand is a variable.
It replaces the statement by division, multiplication, and subtraction.
The patch was bootstrapped and regtested on aarch64-linux-gnu, no regression.
Ok for mainline?
Signed-off-by: Jennifer Schmitz <jschmitz@nvidia.com>
gcc/
PR tree-optimization/101390
* tree-vect-patterns.cc (vect_recog_mod_var_pattern): Add new pattern.
gcc/testsuite/
PR tree-optimization/101390
* gcc.dg/vect/vect-mod-var.c: New test.
* gcc.target/aarch64/sve/mod_1.c: Likewise.
* lib/target-supports.exp: New selector expression.
Diffstat (limited to 'libgo/go/net/udpsock_plan9_test.go')
0 files changed, 0 insertions, 0 deletions