Add POPCOUNT function (#2166)

This commit is contained in:
Rangi authored and GitHub committed 2026-09-27 00:17:31 +02:00
1 parent ff6f1699e9
commit d95e9260e4
13 files changed
+45 -3

No files matched your search

+3
View File
@@ -182,6 +182,9 @@ static int32_t computeRPNExpr(Patch const &patch, std::vector<Symbol> const &fil
case RPN_TZCOUNT:
value = op_tzcount(popRPN(patch));
break;
case RPN_POPCOUNT:
value = op_popcount(popRPN(patch));
break;
case RPN_OR:
value = popRPN(patch) | popRPN(patch);