[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 02/26] target/s390x: Use tcg_constant_* for DisasCompare
From: |
Ilya Leoshkevich |
Subject: |
Re: [PATCH 02/26] target/s390x: Use tcg_constant_* for DisasCompare |
Date: |
Thu, 3 Nov 2022 11:54:19 +0100 |
On Wed, Oct 05, 2022 at 08:43:57PM -0700, Richard Henderson wrote:
> The a and b fields are not modified by the consumer,
> and while we need not free a constant, tcg will quietly
> ignore such frees, so free_compare need not be changed.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> target/s390x/tcg/translate.c | 44 ++++++++++++++++++------------------
> 1 file changed, 22 insertions(+), 22 deletions(-)
I did not check all the code paths in the consumer, but if there is a
bug and a or b ends up being modified, one of the temp_readonly()
assertions will catch it.
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH 02/26] target/s390x: Use tcg_constant_* for DisasCompare,
Ilya Leoshkevich <=