mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
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:
parent
68a414e99d
commit
90b1433da8
@ -15,3 +15,4 @@ FEATURE(CASA)
|
||||
FEATURE(FMAF)
|
||||
FEATURE(VIS3)
|
||||
FEATURE(IMA)
|
||||
FEATURE(VIS4)
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user