Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831975 - dev-libs/xxhash: Enable dispatch
Summary: dev-libs/xxhash: Enable dispatch
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: Normal enhancement with 2 votes (vote)
Assignee: Guilherme Amadio
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-24 14:02 UTC by Hugo Beauzée-Luyssen
Modified: 2023-03-11 23:48 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 Hugo Beauzée-Luyssen 2022-01-24 14:02:34 UTC
Hi,

Currently the xxhash package doesn't include the dispatch code in order to use SIMD, while it probably should on supported architectures (x86 & x64).

This is done by setting adding DISPATCH=1 to the build env: https://github.com/Cyan4973/xxHash#build-modifiers

My apologies if this isn't the proper way of reporting such a request
Comment 1 Matthew Smith gentoo-dev 2022-01-24 18:29:39 UTC
Also maybe CPU_FLAGS_X86 could be used instead to set XXH_VECTOR.