Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917277 - profiles: CPU_FLAGS_ARM: add DOTPROD flag
Summary: profiles: CPU_FLAGS_ARM: add DOTPROD flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: ARM64 Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard: arm: HWCAP_ASIMDDP (1 << 24) ; arm64:...
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-11-13 05:35 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:35:29 UTC
ffmpeg-6.1 supports DOTPROD.

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:00:09 UTC
Would that be:

asimddp 	ARMv8.2-DotProd 	SIMD Dot Product

?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-12-29 17:37:56 UTC
Yep, confirmed it with ARM's reference manual, ffmpeg code and kernel code.
Comment 3 Larry the Git Cow gentoo-dev 2024-01-02 16:44:53 UTC
The bug has been closed via the following commit(s):

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

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

    profiles/desc: Add cpu_flags_arm_asimddp
    
    Closes: https://bugs.gentoo.org/917277
    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:35 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(-)