Re: [PATCH v2] target/loongarch: Restrict instruction execution based on CPU features

2025-04-15 Thread Philippe Mathieu-Daudé
Hi, On 15/4/25 14:06, WANG Rui wrote: Previously, some instructions could be executed regardless of CPU mode or feature support. This patch enforces proper checks so that instructions are only allowed when the required CPU features are enabled. Signed-off-by: WANG Rui --- target/loongarch/cp

Re: [PATCH v2] target/loongarch: Restrict instruction execution based on CPU features

2025-04-15 Thread WANG Rui
Hi, On Tue, Apr 15, 2025 at 8:25 PM Philippe Mathieu-Daudé wrote: > > Hi, > > On 15/4/25 14:06, WANG Rui wrote: > > Previously, some instructions could be executed regardless of CPU mode or > > feature support. This patch enforces proper checks so that instructions are > > only allowed when the r

[PATCH v2] target/loongarch: Restrict instruction execution based on CPU features

2025-04-15 Thread WANG Rui
Previously, some instructions could be executed regardless of CPU mode or feature support. This patch enforces proper checks so that instructions are only allowed when the required CPU features are enabled. Signed-off-by: WANG Rui --- target/loongarch/cpu.c| 4 +-- targe