mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 21:41:19 +12:00
SSE4.1 attribute.
This commit is contained in:
parent
c7e5fc4dbb
commit
a430d0a8d1
1 changed files with 3 additions and 1 deletions
|
@ -9,8 +9,10 @@
|
|||
|
||||
#ifdef __GNUC__
|
||||
#define ATTRIBUTE_AVX2 __attribute__((target("avx2")))
|
||||
#define ATTRIBUTE_SSE41 __attribute__((target("sse4.1")))
|
||||
#else
|
||||
#define ATTRIBUTE_AVX2
|
||||
#define ATTRIBUTE_SSE41
|
||||
#endif
|
||||
|
||||
struct
|
||||
|
@ -355,7 +357,7 @@ void LatteIndices_fastConvertU16_AVX2(const void* indexDataInput, void* indexDat
|
|||
indexMin = std::min(indexMin, _minIndex);
|
||||
}
|
||||
|
||||
ATTRIBUTE_AVX2
|
||||
ATTRIBUTE_SSE41
|
||||
void LatteIndices_fastConvertU16_SSE41(const void* indexDataInput, void* indexDataOutput, uint32 count, uint32& indexMin, uint32& indexMax)
|
||||
{
|
||||
// SSSE3 & SSE4.1 optimized decoding
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue