[pcre-dev] [Bug 2176] New: Disable SSE2 under Valgrind dynam…

Startseite
Nachricht löschen
Autor: admin
Datum:  
To: pcre-dev
Betreff: [pcre-dev] [Bug 2176] New: Disable SSE2 under Valgrind dynamically
https://bugs.exim.org/show_bug.cgi?id=2176

            Bug ID: 2176
           Summary: Disable SSE2 under Valgrind dynamically
           Product: PCRE
           Version: 8.41
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: ibragimovrinat@???
                CC: pcre-dev@???


Created attachment 1044
--> https://bugs.exim.org/attachment.cgi?id=1044&action=edit
Do not use SSE2 code path when running under Valgrind.

By default, PCRE JIT uses SSE2-optimized code that makes Valgrind unhappy. It's
possible to compile PCRE with --enable-valgrind, but that disables
optimizations, even if not running under Valgrind.

Valgrind headers contain various macros that help to detect it at run time. I
propose to use RUNNING_ON_VALGRIND to disable SSE2-enabled code only when
running under Valgrind.

(patch attached)

--
You are receiving this mail because:
You are on the CC list for the bug.