target/loongarch: Extract 64-bit specifics to loongarch64_cpu_class_init
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 21 Aug 2023 12:59:56 +0000 (14:59 +0200)
committerSong Gao <gaosong@loongson.cn>
Thu, 24 Aug 2023 03:17:56 +0000 (11:17 +0800)
commite389358e569628dec1e3be6210621d64335f0c90
treecf7daed64a3d8eefc27ce478587a7f4f66df0656
parent146f2354b58aaa7b223e0394d889f83138911d9f
target/loongarch: Extract 64-bit specifics to loongarch64_cpu_class_init

Extract loongarch64 specific code from loongarch_cpu_class_init()
to a new loongarch64_cpu_class_init().

In preparation of supporting loongarch32 cores, rename these
functions using the '64' suffix.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230821125959.28666-6-philmd@linaro.org>
Signed-off-by: Song Gao <gaosong@loongson.cn>
target/loongarch/cpu.c