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

2024-09-19 Thread Jennifer Schmitz
ate: Tue, 17 Sep 2024 00:15:38 -0700 >> Subject: [PATCH] SVE intrinsics: Fold svmul with all-zero operands to zero >> vector >> >> As recently implemented for svdiv, this patch folds svmul to a zero >> vector if one of the operands is a zero vector. This transformatio

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

2024-09-19 Thread Richard Sandiford
00:00:00 2001 >>> From: Jennifer Schmitz >>> Date: Tue, 17 Sep 2024 00:15:38 -0700 >>> Subject: [PATCH] SVE intrinsics: Fold svmul with all-zero operands to zero >>> vector >>> >>> As recently implemented for svdiv, this patch folds svmul to

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

2024-09-18 Thread Richard Sandiford
Jennifer Schmitz writes: > From 05e010a4ad5ef8df082b3e03b253aad85e2a270c Mon Sep 17 00:00:00 2001 > From: Jennifer Schmitz > Date: Tue, 17 Sep 2024 00:15:38 -0700 > Subject: [PATCH] SVE intrinsics: Fold svmul with all-zero operands to zero > vector > > As recently implem

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

2024-09-17 Thread Jennifer Schmitz
As recently implemented for svdiv, this patch folds svmul to a zero vector if one of the operands is a zero vector. This transformation is applied if at least one of the following conditions is met: - the first operand is all zeros or - the second operand is all zeros, and the predicate is ptrue or