Skip to content

x86-64 microarchitecture level #128777

@nagayev

Description

@nagayev

Feature or enhancement

Proposal:

We can compile Python only for modern processors to achieve a performance speedup.
Using a level 2 compiler, we can take advantage of SSE3 instructions, for example (https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels), and we still have the option to run Python on older hardware (a 2008 or newer processor is required)."
Also Windows 11 requires theese instructions (https://www.tomshardware.com/software/windows/microsoft-updates-windows-11-24h2-requirements-cpu-must-support-sse42-or-the-os-will-not-boot), RHEL 10 use v3:
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10-beta/html/10.0_beta_release_notes/architectures and
Fedora discussion https://fedoraproject.org/wiki/Changes/Optimized_Binaries_for_the_AMD64_Architecture_v2

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancePerformance or resource usagetype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions