[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Differing PAC behavior between Qemu and Arm FVP
From: |
Richard Henderson |
Subject: |
Re: Differing PAC behavior between Qemu and Arm FVP |
Date: |
Tue, 28 Jul 2020 13:00:59 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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~