Debian Codegraph @

rpython/translator/c/src/asm_msvc.h

raw symbols SCIP
1 #ifdef PYPY_X86_CHECK_SSE2
2 #define PYPY_X86_CHECK_SSE2_DEFINED
3 RPY_EXTERN void pypy_x86_check_sse2(void);
4 #endif
5
6
7 /* Provides the same access to RDTSC as used by the JIT backend. This
8 is needed (at least if the JIT is enabled) because otherwise the
9 JIT-produced assembler would use RDTSC while the non-jitted code
10 would use QueryPerformanceCounter(), giving different incompatible
11 results. See issue #900.
12 */
13 #include <intrin.h>
14 #pragma intrinsic(__rdtsc)
15 #define READ_TIMESTAMP(val) do { val = (long long)__rdtsc(); } while (0)
16 #define READ_TIMESTAMP_UNIT TIMESTAMP_UNIT_TSC