// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
namespace System.Runtime.Intrinsics.X86
{
///
/// This class provides access to Intel POPCNT hardware instructions via intrinsics
///
[CLSCompliant(false)]
public abstract class Popcnt : Sse42
{
internal Popcnt() { }
public new static bool IsSupported { get { return false; } }
///
/// int _mm_popcnt_u32 (unsigned int a)
/// POPCNT reg, reg/m32
///
public static uint PopCount(uint value) { throw new PlatformNotSupportedException(); }
///
/// __int64 _mm_popcnt_u64 (unsigned __int64 a)
/// POPCNT reg64, reg/m64
///
public static ulong PopCount(ulong value) { throw new PlatformNotSupportedException(); }
}
}