mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-09-06 09:55:55 +00:00
tcg/ppc: Introduce macro VX4()
Introduce macro VX4() used for encoding Altivec instructions. 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> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
This commit is contained in:
parent
42281ec646
commit
1838905eb3
|
@ -319,6 +319,7 @@ static int tcg_target_const_match(tcg_target_long val, TCGType type,
|
|||
#define XO31(opc) (OPCD(31)|((opc)<<1))
|
||||
#define XO58(opc) (OPCD(58)|(opc))
|
||||
#define XO62(opc) (OPCD(62)|(opc))
|
||||
#define VX4(opc) (OPCD(4)|(opc))
|
||||
|
||||
#define B OPCD( 18)
|
||||
#define BC OPCD( 16)
|
||||
|
|
Loading…
Reference in a new issue