target/ppc: Move ISA300 flag check out of do_helper_XX3.
authorChinmay Rath <rathc@linux.ibm.com>
Thu, 23 May 2024 09:48:19 +0000 (15:18 +0530)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:51:33 +0000 (09:51 +1000)
commit48eda6abfd7ebf3a21c699d8b13d7506b877d1b7
tree81c389f4a2ba090af32f4fd8793331a93426f7ed
parent8fc7b63adaa860c81119f6f8cd6cc981504bfb7b
target/ppc: Move ISA300 flag check out of do_helper_XX3.

Moving PPC2_ISA300 flag check out of do_helper_XX3 method in vmx-impl.c.inc
so that the helper can be used with other instructions as well.

Signed-off-by: Chinmay Rath <rathc@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/translate/vsx-impl.c.inc