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.
Ok for mainline?

Signed-off-by: Jennifer Schmitz <jschm...@nvidia.com>

gcc/testsuite/

* gcc.target/aarch64/sqrt_div_float16.c: New test.

Attachment: fold_sqrt_float16.patch
Description: Binary data

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to