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

2025-04-18 Thread WANG Rui
Hi Bibo, On Fri, Apr 18, 2025 at 2:08 PM bibo mao wrote: > > Rui, > > Thanks for the patch. > Overall it looks good to me. > > Could you split it into three small patches? such as crc/64/fp specified > small patches. Thank you for your feedback! I appreciate your suggestion. I'll gladly split th

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

2025-04-17 Thread bibo mao
Rui, Thanks for the patch. Overall it looks good to me. Could you split it into three small patches? such as crc/64/fp specified small patches. Regards Bibo Mao On 2025/4/18 上午11:07, WANG Rui wrote: Previously, some instructions could be executed regardless of CPU mode or feature support. T

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

2025-04-17 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