]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/hexagon: Make HVX vector args. restrict *
authorAnton Johansson <anjo@rev.ng>
Fri, 6 Dec 2024 16:01:03 +0000 (17:01 +0100)
committerBrian Cain <brian.cain@oss.qualcomm.com>
Fri, 13 Dec 2024 03:43:57 +0000 (21:43 -0600)
commitb29b11b51f1ac1884a64c5b6bde969a46206263f
tree0cff25e8a74b5a2410ada637f1a87c2f2482fbeb
parente295796726131ff9c07a53afe2642c53229e6ca3
target/hexagon: Make HVX vector args. restrict *

Adds restrict qualifier to HVX pointer arguments. This will allow the
compiler to produce better optimized code, as input vectors are now
assumed not to alias, and no runtime aliasing checks will be required.

Signed-off-by: Anton Johansson <anjo@rev.ng>
Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
target/hexagon/mmvec/macros.h