Re: [PATCH] SVE intrinsics: Fold svdiv with all-zero operands to zero vector

2024-09-16 Thread Jennifer Schmitz
Date: Mon, 2 Sep 2024 06:46:57 -0700 >> Subject: [PATCH] SVE intrinsics: Fold svdiv with all-zero operands to zero >> vector >> >> This patch folds svdiv where one of the operands is all-zeros to a zero >> vector, if one of the following conditions holds: >> - the divi

Re: [PATCH] SVE intrinsics: Fold svdiv with all-zero operands to zero vector

2024-09-16 Thread Richard Sandiford
Jennifer Schmitz writes: > From 287073b46e3eb9e7786f95c1d4bd90208db51f75 Mon Sep 17 00:00:00 2001 > From: Jennifer Schmitz > Date: Mon, 2 Sep 2024 06:46:57 -0700 > Subject: [PATCH] SVE intrinsics: Fold svdiv with all-zero operands to zero > vector > > This patch folds s

Re: [PATCH] SVE intrinsics: Fold svdiv with all-zero operands to zero vector

2024-09-16 Thread Jennifer Schmitz
aarch64/sve/const_fold_div_1.c: Adjust expected >> outcome. >> >> From 1d50cc57cd3bbe19a48b7bbb543ea331cbd9a6f6 Mon Sep 17 00:00:00 2001 >> From: Jennifer Schmitz >> Date: Mon, 2 Sep 2024 06:46:57 -0700 >> Subject: [PATCH] SVE intrinsics: Fold svdiv with all-z

Re: [PATCH] SVE intrinsics: Fold svdiv with all-zero operands to zero vector

2024-09-09 Thread Richard Sandiford
/sve/fold_div_zero.c: New test. > * gcc.target/aarch64/sve/const_fold_div_1.c: Adjust expected > outcome. > > From 1d50cc57cd3bbe19a48b7bbb543ea331cbd9a6f6 Mon Sep 17 00:00:00 2001 > From: Jennifer Schmitz > Date: Mon, 2 Sep 2024 06:46:57 -0700 > Subject: [PATCH] S

[PATCH] SVE intrinsics: Fold svdiv with all-zero operands to zero vector

2024-09-04 Thread Jennifer Schmitz
This patch folds svdiv where one of the operands is all-zeros to a zero vector, if the predicate is ptrue or the predication is _x or _z. This case was not covered by the recent patch that implemented constant folding, because that covered only cases where both operands are constant vectors. Here,