OSDN Git Service

target/ppc: Introduce REQUIRE_VSX macro
authorBruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Thu, 4 Nov 2021 12:37:04 +0000 (09:37 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 8 Nov 2021 23:32:52 +0000 (10:32 +1100)
commit8226cb2d9c4c309664ed3f224c29aae536475443
treea5a3c7c3882f8510e008aa490dab7c31313a2a45
parent28110b72a804e0cd8d5b4a14408ac7c38baa3f2c
target/ppc: Introduce REQUIRE_VSX macro

Introduce the macro to centralize checking if the VSX facility is
enabled and handle it correctly.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bruno Larsen (billionai) <bruno.larsen@eldorado.org.br>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Message-Id: <20211104123719.323713-11-matheus.ferst@eldorado.org.br>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c