[PATCH] D15568: [X86] Add signed aliases for popcnt intrinsics
Kuperstein, Michael M via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 17 05:29:07 PST 2015
The exact same semantics as for positive, the sign bit counts:
https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=popcnt&expand=4047
vs.
https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=popcnt&expand=4045
(To be honest, I have no idea *why* these aliases exist.)
-----Original Message-----
From: llvm-commits [mailto:llvm-commits-bounces at lists.llvm.org] On Behalf Of Joerg Sonnenberger via llvm-commits
Sent: Wednesday, December 16, 2015 17:35
To: llvm-commits at lists.llvm.org
Subject: Re: [PATCH] D15568: [X86] Add signed aliases for popcnt intrinsics
On Wed, Dec 16, 2015 at 02:07:08PM +0000, Michael Kuperstein via llvm-commits wrote:
> The Intel manual documents both an unsigned form (_mm_popcnt_u32) and a signed form (_popcnt32) of the intrinsic.
What's the semantic for negative input?
Joerg
_______________________________________________
llvm-commits mailing list
llvm-commits at lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the llvm-commits
mailing list