|
From: | LIU Zhiwei |
Subject: | Re: [PATCH v3 51/81] target/arm: Pass separate addend to {U, S}DOT helpers |
Date: | Thu, 24 Sep 2020 09:29:15 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
Get it.On 9/23/20 3:01 AM, LIU Zhiwei wrote:On 2020/9/19 2:37, Richard Henderson wrote:For SVE, we potentially have a 4th argument coming from the movprfx instruction. Currently we do not optimize movprfx, so the problem is not visible.Hi Richard, I am a little confused. If it is not immediately preceded by a MOVPRFX instruction, the addend will still be used. Is it right?If movprfx is not used, then the addend register will be the same as the destination register.
d0 = a[i+0] //dot calculation d[i+0] += d0Because when addend is the destination register, it has no reason to add destination register twice.
r~
[Prev in Thread] | Current Thread | [Next in Thread] |