Beispiel #1
0
def autodetect():
    model = autodetect_main_model()
    if model in ('i386', 'x86'):
        from pypy.jit.backend.x86.detect_sse2 import detect_sse2
        if not detect_sse2():
            model = 'x86-without-sse2'
    return model
Beispiel #2
0
def autodetect():
    model = autodetect_main_model()
    if model in ("i386", "x86"):
        from pypy.jit.backend.x86.detect_sse2 import detect_sse2

        if not detect_sse2():
            model = "x86-without-sse2"
    return model
Beispiel #3
0
def autodetect():
    model = autodetect_main_model()
    if sys.maxint == 2**63 - 1:
        model += '_64'
    else:
        assert sys.maxint == 2**31 - 1
        if model == 'x86':
            from pypy.jit.backend.x86.detect_sse2 import detect_sse2
            if not detect_sse2():
                model = 'x86-without-sse2'
    return model
Beispiel #4
0
def autodetect():
    model = autodetect_main_model()
    if sys.maxint == 2**63-1:
        model += '_64'
    else:
        assert sys.maxint == 2**31-1
        if model == 'x86':
            from pypy.jit.backend.x86.detect_sse2 import detect_sse2
            if not detect_sse2():
                model = 'x86-without-sse2'
    return model