Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917278 - profiles: CPU_FLAGS_ARM: add I8MM flag
Summary: profiles: CPU_FLAGS_ARM: add I8MM flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard: arm: HWCAP_I8MM (1 << 27); arm64: HWC...
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-11-13 05:37 UTC by Leonardo Hernández Hernández
Modified: 2024-01-14 04:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Hernández Hernández 2023-11-13 05:37:12 UTC
ffmpeg-6.1 supports I8MM.

We don't have a CPU_FLAGS_ARM_ flag for it right now, so I can't wire it up in the ebuild.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-12-29 17:01:08 UTC
On arm64, I see:

#define HWCAP2_SVEI8MM		(1 << 9)
#define HWCAP2_I8MM		(1 << 13)

Any clue what's the difference, and which one you need?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-12-29 17:40:31 UTC
Looking at ffmpeg, Linux sources and ARM manual, it's the latter.
Comment 3 Larry the Git Cow gentoo-dev 2024-01-02 16:44:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e683061e288961a1ea865247a265b61af5780ece

commit e683061e288961a1ea865247a265b61af5780ece
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-12-29 17:57:17 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-01-02 16:44:04 +0000

    profiles/desc: Add cpu_flags_arm_i8mm
    
    Closes: https://bugs.gentoo.org/917278
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/desc/cpu_flags_arm.desc | 1 +
 1 file changed, 1 insertion(+)
Comment 4 Larry the Git Cow gentoo-dev 2024-01-14 04:53:34 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e927b6952e9365d5bc8547a8cb11d81e0679304

commit 9e927b6952e9365d5bc8547a8cb11d81e0679304
Author:     Leonardo Hernández Hernández <leohdz172@proton.me>
AuthorDate: 2024-01-06 17:33:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-14 04:50:07 +0000

    media-video/ffmpeg: add CPU_FLAGS_ARM_{I8MM,ASIMDDP}
    
    Bug: https://bugs.gentoo.org/917277
    Bug: https://bugs.gentoo.org/917278
    Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
    Closes: https://github.com/gentoo/gentoo/pull/34689
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/ffmpeg/ffmpeg-6.1.1-r1.ebuild | 4 ++--
 media-video/ffmpeg/ffmpeg-9999.ebuild     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)