|
From: | Derrick McKee |
Subject: | Re: Differing PAC behavior between Qemu and Arm FVP |
Date: | Wed, 29 Jul 2020 15:01:13 -0400 |
On 7/28/20 11:15 AM, Derrick McKee wrote:
> asm("pacda %[loc], %[mod]"
> : "=r"(result)
> : [loc] "r"(addr_to_use), [mod] "r"(modifier)
> :
> );
As an aside, this asm statement is buggy. You need to use a matching
constraint to force RESULT and ADDR_TO_USE to be in the same register.
Like so:
[loc] "0"(addr_to_use)
r~
[Prev in Thread] | Current Thread | [Next in Thread] |