|
From: | Richard Henderson |
Subject: | Re: [PATCH] Use a more portable way to enable target specific functions |
Date: | Thu, 10 Nov 2022 14:43:28 +1100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 |
On 11/10/22 09:03, Tom Stellard wrote:
This adds function attributes for avx2, sse2, etc. specialized functions. These attributes are supported by both clang and gcc and are necessary in order to build the code with clang. The existing gcc specific pragmas were left in place due to a comment in utils/bufferiszero.c which mentions the pragmas are needed before headers to work around a bug in gcc <= 4.8.
GCC 4.8 is now below our minimum, surely. We should be able to simply replace the pragma with the attribute. r~
[Prev in Thread] | Current Thread | [Next in Thread] |