]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Tests the pattern folding x/sqrt(x) to sqrt(x) for Float16
authorJennifer Schmitz <jschmitz@nvidia.com>
Wed, 10 Jul 2024 07:24:01 +0000 (12:54 +0530)
committerKyrylo Tkachov <ktkachov@nvidia.com>
Wed, 10 Jul 2024 07:24:01 +0000 (12:54 +0530)
commit1ae5fc24e86ecc9e7b60346d9ca2e56f83517bda
treed8fd6cb06861d679796267666a767e169486ecb1
parent6fce4664d4a2e44843bd1464930696c819906d0f
testsuite: Tests the pattern folding x/sqrt(x) to sqrt(x) for Float16

As a follow-up to adding a pattern that folds x/sqrt(x) to sqrt(x) in match.pd, this patch adds a test case for type Float16 for armv8.2-a+fp16.

The patch was bootstrapped and regtested on aarch64-linux-gnu, no regression.

Signed-off-by: Jennifer Schmitz <jschmitz@nvidia.com>
gcc/testsuite/

* gcc.target/aarch64/sqrt_div_float16.c: New test.
gcc/testsuite/gcc.target/aarch64/sqrt_div_float16.c [new file with mode: 0644]