target/ppc: Create helper_scv
commitf43520e5b233828bd4d98b4a1300ddb475e7486a
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 23 Mar 2021 18:43:35 +0000 (23 12:43 -0600)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 4 May 2021 01:41:24 +0000 (4 11:41 +1000)
tree264855ba166b319251d4618d96762742380085d7
parent7da31f260d194d203c83712cfa7b2dfe605375fd
target/ppc: Create helper_scv

Perform the test against FSCR_SCV at runtime, in the helper.

This means we can remove the incorrect set against SCV in
ppc_tr_init_disas_context and do not need to add an HFLAGS bit.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210323184340.619757-6-richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/excp_helper.c
target/ppc/helper.h
target/ppc/translate.c