]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ck/aarch64: Specify output operands for ck_pr_md_store_*
authorMark Johnston <markj@FreeBSD.org>
Thu, 8 Feb 2024 15:53:10 +0000 (10:53 -0500)
committerMark Johnston <markj@FreeBSD.org>
Thu, 8 Feb 2024 16:35:03 +0000 (11:35 -0500)
commitb5ed3ef802ebfed6f08008bff602834b18f83a11
treeb3793f6878d09dff5bb65e47b457ea1ecff27293
parent92eb673b2b0d229ba046d386f19df7c01c09b26f
ck/aarch64: Specify output operands for ck_pr_md_store_*

This is a backport of upstream commit d1e9f03b89:

    ck_pr/aarch64: Specify output operands for ck_pr_md_store_*

    As in commit 2f9acab, we want to specify output operand widths so that
    MSAN compiler instrumentation correctly updates the shadow map.  In
    particular, LLVM's implementation depends on having type information for
    output operands, even when that's not otherwise necessary.  Without it,
    KMSAN in FreeBSD generates false positives on aarch64.

Reviewed by: cognet
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks, Inc.
sys/contrib/ck/include/gcc/aarch64/ck_pr.h