Debian Codegraph @

rpython/jit/backend/x86/test/test_ztranslation_jit_stats.py

raw symbols SCIP
1 from rpython.jit.backend.llsupport.test.ztranslation_test import TranslationTestJITStats
2 from rpython.translator.translator import TranslationContext
3 from rpython.config.translationoption import DEFL_GC
4 from rpython.jit.backend.x86.arch import WORD
5 import sys
6
7
8 class TestTranslationJITStatsX86(TranslationTestJITStats):
9 def _check_cbuilder(self, cbuilder):
10 #We assume here that we have sse2. If not, the CPUClass
11 # needs to be changed to CPU386_NO_SSE2, but well.
12 if WORD == 4 and sys.platform != 'win32':
13 assert '-msse2' in cbuilder.eci.compile_extra
14 assert '-mfpmath=sse' in cbuilder.eci.compile_extra