0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 12:48:54 +02:00

ircd::simd: Attribute target lzcnt feature.

This commit is contained in:
Jason Volk 2020-07-12 13:00:14 -07:00
parent 7928ad4f9b
commit 63f43ba60a

View file

@ -38,6 +38,7 @@ namespace ircd
/// targets and specializations are created.
template<class T>
inline uint
__attribute__((target("lzcnt")))
ircd::simd::clz(const T a)
noexcept
{
@ -64,6 +65,7 @@ noexcept
/// targets and specializations are created.
template<class T>
inline uint
__attribute__((target("lzcnt")))
ircd::simd::ctz(const T a)
noexcept
{