File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -976,27 +976,12 @@ _PyObjectArray_Free(PyObject **array, PyObject **scratch)
976976#include "generated_cases.c.h"
977977#endif
978978
979- #if (defined(__GNUC__ ) && __GNUC__ >= 10 && !defined(__clang__ )) && defined(__x86_64__ )
980- /*
981- * gh-129987: The SLP autovectorizer can cause poor code generation for
982- * opcode dispatch in some GCC versions (observed in GCCs 12 through 15,
983- * probably caused by https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115777),
984- * negating any benefit we get from vectorization elsewhere in the
985- * interpreter loop. Disabling it significantly affected older GCC versions
986- * (prior to GCC 9, 40% performance drop), so we have to selectively disable
987- * it.
988- */
989- #define DONT_SLP_VECTORIZE __attribute__((optimize ("no-tree-slp-vectorize")))
990- #else
991- #define DONT_SLP_VECTORIZE
992- #endif
993-
994979typedef struct {
995980 _PyInterpreterFrame frame ;
996981 _PyStackRef stack [1 ];
997982} _PyEntryFrame ;
998983
999- PyObject * _Py_HOT_FUNCTION DONT_SLP_VECTORIZE
984+ PyObject * _Py_HOT_FUNCTION
1000985_PyEval_EvalFrameDefault (PyThreadState * tstate , _PyInterpreterFrame * frame , int throwflag )
1001986{
1002987 _Py_EnsureTstateNotNULL (tstate );
You can’t perform that action at this time.
0 commit comments