diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2019-06-23 19:04:36 +0200 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2019-10-14 07:09:22 -0700 |
commit | 1838905eb3a6283b14b67e71bc1576d6b75ceadc (patch) | |
tree | e8abfeefa827909075b61c142ee03906061a1bbb /tcg | |
parent | 42281ec646f906aaa63e28daf2f6ba7ca2dd7caf (diff) | |
download | qemu-1838905eb3a6283b14b67e71bc1576d6b75ceadc.zip qemu-1838905eb3a6283b14b67e71bc1576d6b75ceadc.tar.gz qemu-1838905eb3a6283b14b67e71bc1576d6b75ceadc.tar.bz2 |
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>
Diffstat (limited to 'tcg')
-rw-r--r-- | tcg/ppc/tcg-target.inc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tcg/ppc/tcg-target.inc.c b/tcg/ppc/tcg-target.inc.c index 9d678c3..8dc5455 100644 --- a/tcg/ppc/tcg-target.inc.c +++ b/tcg/ppc/tcg-target.inc.c @@ -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) |