]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/ppc: Replace HAVE_ISEL macro with a variable
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 30 Sep 2019 03:06:47 +0000 (03:06 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 14 Oct 2019 14:09:40 +0000 (07:09 -0700)
commit63922f467a200dabc43be3eaf7edbec800365bb5
tree6ba3801a5f4754ebdb12b4fda3ba9b6a8316ed91
parent4e33fe0137b51947f00d210dbd43b4f5b65956ae
tcg/ppc: Replace HAVE_ISEL macro with a variable

Previously we've been hard-coding knowledge that Power7 has ISEL, but
it was an optional instruction before that.  Use the AT_HWCAP2 bit,
when present, to properly determine support.

Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/ppc/tcg-target.inc.c