Fix: Use more selectivity when building SSE specific code
See: https://github.com/OpenTTD/OpenTTD/issues/9935 (cherry picked from commit c3f55d53405af04bfe928d9e1a815e06c187ca50)
This commit is contained in:

committed by
Jonathan G Rennison

parent
432717b21d
commit
44e3b05c50
@@ -24,6 +24,7 @@ static_assert((sizeof(ParentSpriteToDraw) % 16) == 0);
|
||||
#endif
|
||||
|
||||
/** Sort parent sprites pointer array using SSE4.1 optimizations. */
|
||||
GNU_TARGET("sse4.1")
|
||||
void ViewportSortParentSpritesSSE41(ParentSpriteToSortVector *psdv)
|
||||
{
|
||||
const __m128i mask_ptest = _mm_setr_epi8(-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 0, 0);
|
||||
|
Reference in New Issue
Block a user