mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
amd: allow addrlib to enable SIMD if possible
The SIMD variants are way faster, the order of magnitude seems x10. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40996>
This commit is contained in:
parent
daeb52d38d
commit
aea04d11b7
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ files_addrlib = files(
|
|||
)
|
||||
|
||||
# Skip the addrlib definition of ADDR_FASTCALL so as not to use regparm.
|
||||
cpp_args_addrlib = ['-DADDR_FASTCALL=']
|
||||
cpp_args_addrlib = ['-DADDR_FASTCALL=', '-DADDR_ALLOW_SIMD=1']
|
||||
|
||||
if host_machine.endian() == 'little'
|
||||
cpp_args_addrlib += '-DLITTLEENDIAN_CPU'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue