target/loongarch: Fix helper_asrtle_d/asrtgt_d raise wrong exception
commit7fe7eea6ffe4f22ba66fd719aa441942d1727f7f
authorSong Gao <gaosong@loongson.cn>
Fri, 24 Jun 2022 03:10:45 +0000 (24 11:10 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 4 Jul 2022 05:38:58 +0000 (4 11:08 +0530)
treec162aaf4589f3dda52b9fad567ad7d8914547e93
parent7d552f0e0abfdfa88ad1825297a7077397e1ae95
target/loongarch: Fix helper_asrtle_d/asrtgt_d raise wrong exception

Raise EXCCODE_BCE instead of EXCCODE_ADEM for helper_asrtle_d/asrtgt_d.

Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220624031049.1716097-10-gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/loongarch/cpu.c
target/loongarch/op_helper.c