|
From: | Richard Henderson |
Subject: | Re: [PATCH 05/10] target/arm: Don't allow BLX imm for M-profile |
Date: | Tue, 13 Oct 2020 09:41:32 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 10/12/20 8:37 AM, Peter Maydell wrote: > The BLX immediate insn in the Thumb encoding always performs > a switch from Thumb to Arm state. This would be totally useless > in M-profile which has no Arm decoder, and so the instruction > does not exist at all there. Make the encoding UNDEF for M-profile. > > (This part of the encoding space is used for the branch-future > and low-overhead-loop insns in v8.1M.) > > Signed-off-by: Peter Maydell <peter.maydell@linaro.org> > --- > target/arm/translate.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
[Prev in Thread] | Current Thread | [Next in Thread] |