]> xenbits.xensource.com Git - qemu-xen.git/commit
tests: tcg: ppc64: Add tests for Vector Extract Mask Instructions
authorShivaprasad G Bhat <sbhat@linux.ibm.com>
Thu, 4 May 2023 09:36:04 +0000 (05:36 -0400)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 5 May 2023 15:34:22 +0000 (12:34 -0300)
commit0eb9fcc7358b2b65867f4cfe5a0fd0367d969aaf
tree049ff8dbaf3aca45f61add893315348a8e612c8a
parent6a5d81b17201ab8a95539bad94c8a6c08a42e076
tests: tcg: ppc64: Add tests for Vector Extract Mask Instructions

Add test for vextractbm, vextractwm, vextractdm and vextractqm
instructions. Test works for both qemu-ppc64 and qemu-ppc64le.

Based on the test case written by John Platts posted at [1]

References:
[1] - https://gitlab.com/qemu-project/qemu/-/issues/1536

Signed-off-by: John Platts <john_platts@hotmail.com>
Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Reviewed-by: Lucas Mateus Castro <lucas.araujo@eldorado.org.br>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <168319294881.1159309.17060400720026083557.stgit@ltc-boston1.aus.stglabs.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
tests/tcg/ppc64/Makefile.target
tests/tcg/ppc64/vector.c [new file with mode: 0644]