Skip to content
Commit 40a51e1a authored by Hassnaa Hamdi's avatar Hassnaa Hamdi
Browse files

[AArch64][SVE]: custom lower AVGFloor/AVGCeil.

-Lower AVGFloor(A, B) to:
 SRL(A) + SRL(B) + (A&B)&1.
-Lower AVGCeil(A, B) to:
 SRL(A) + SRL(B) + (A|B)&1.

Differential Revision: https://reviews.llvm.org/D143283
parent 0ea18a0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment