Re: AVX but not AVX2: F42 Change Proposal: Optimized Binaries for the AMD64 / x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 10, 2025 at 01:45:44PM -0800, John Reiser wrote:
> > A vendor-independent x86-64 psABI
> > supplement defines four "microachitecture levels": `x86-64-v1` (the
> > baseline, our code targets this), `x86-64-v2` (+`SSE3`, CentoOS
> > targets this), `x86-64-v3` (+`AVX`), `x86-64-v4` (+`AVX512`) [1].
> The levels are not explicit about the classification of a CPU that has
> AVX (128-bit xmm registers) but lacks AVX2 (256-bit ymm registers.)

Lacking AVX2 means the CPU would NOT satisfy x86-64-v3. The Fedora change
just gives a high level example. The canonical specification is at

  https://gitlab.com/x86-psABIs/x86-64-ABI

More specifically

 https://gitlab.com/x86-psABIs/x86-64-ABI/-/jobs/artifacts/master/raw/x86-64-ABI/abi.pdf?job=build

Chapter 3.1.1  Process archictecture

A CPU has to provide all features designated at a given level, plus
all features designated at lower levels.

> The proposal should be revised to consider this case explicitly.

I'd suggest it should just point to the canonical specification

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux