Re: [pcre-dev] Adding SSE2 support to PCRE2-JIT

Top Page
Delete this message
Author: Zoltán Herczeg
Date:  
To: Petr Pisar
CC: pcre-dev
Subject: Re: [pcre-dev] Adding SSE2 support to PCRE2-JIT
>May have a question about pcre executable portability? Not all x86 machines
>support SSE2. Is it there a run-time check for SSE2 support with a fall-back
>code, or is it a compile time option?


The SSE2 code path is optional. It is checked at runtime using CPUID instruction on x86-32 (it is always available on x86-64 bit).

Regards,
Zoltan