[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] target/arm: Make Thumb store insns UNDEF for Rn==1111

From: Richard Henderson
Subject: Re: [PATCH] target/arm: Make Thumb store insns UNDEF for Rn==1111
Date: Thu, 8 Apr 2021 12:02:17 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 4/8/21 9:24 AM, Peter Maydell wrote:
The Arm ARM specifies that for Thumb encodings of the various plain
store insns, if the Rn field is 1111 then we must UNDEF.  This is
different from the Arm encodings, where this case is either
UNPREDICTABLE or has well-defined behaviour.  The exclusive stores,
store-release and STRD do not have this UNDEF case for any encoding.

Enforce the UNDEF for this case in the Thumb plain store insns.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
  target/arm/translate.c | 16 ++++++++++++++++
  1 file changed, 16 insertions(+)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]