target/sparc: Add feature bit for VIS4

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2023-11-04 19:44:28 -07:00
parent 68a414e99d
commit 90b1433da8
2 changed files with 3 additions and 0 deletions

View File

@ -15,3 +15,4 @@ FEATURE(CASA)
FEATURE(FMAF)
FEATURE(VIS3)
FEATURE(IMA)
FEATURE(VIS4)

View File

@ -2430,6 +2430,7 @@ static int extract_qfpreg(DisasContext *dc, int x)
# define avail_VIS2(C) ((C)->def->features & CPU_FEATURE_VIS2)
# define avail_VIS3(C) ((C)->def->features & CPU_FEATURE_VIS3)
# define avail_VIS3B(C) avail_VIS3(C)
# define avail_VIS4(C) ((C)->def->features & CPU_FEATURE_VIS4)
#else
# define avail_32(C) true
# define avail_ASR17(C) ((C)->def->features & CPU_FEATURE_ASR17)
@ -2446,6 +2447,7 @@ static int extract_qfpreg(DisasContext *dc, int x)
# define avail_VIS2(C) false
# define avail_VIS3(C) false
# define avail_VIS3B(C) false
# define avail_VIS4(C) false
#endif
/* Default case for non jump instructions. */