mirror of
https://github.com/matrix-construct/construct
synced 2025-02-16 16:50:12 +01:00
ircd::simd: Add broad_cast template without required deduction argument.
This commit is contained in:
parent
30e5a0110c
commit
42fd88d169
1 changed files with 14 additions and 0 deletions
|
@ -16,6 +16,20 @@ namespace ircd::simd
|
||||||
template<class T,
|
template<class T,
|
||||||
class V>
|
class V>
|
||||||
T broad_cast(T, const V) noexcept;
|
T broad_cast(T, const V) noexcept;
|
||||||
|
|
||||||
|
template<class T,
|
||||||
|
class V>
|
||||||
|
T broad_cast(const V) noexcept;
|
||||||
|
}
|
||||||
|
|
||||||
|
template<class T,
|
||||||
|
class V>
|
||||||
|
[[using gnu: always_inline, gnu_inline, artificial]]
|
||||||
|
extern inline T
|
||||||
|
ircd::simd::broad_cast(const V v)
|
||||||
|
noexcept
|
||||||
|
{
|
||||||
|
return broad_cast(T{}, v);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class T,
|
template<class T,
|
||||||
|
|
Loading…
Add table
Reference in a new issue