summary refs log tree commit diff stats
path: root/tests/tcg/mips/include/test_utils.h
diff options
context:
space:
mode:
authorAleksandar Markovic <amarkovic@wavecomp.com>2019-03-05 16:34:36 +0100
committerAleksandar Markovic <amarkovic@wavecomp.com>2019-03-05 17:03:44 +0100
commit2a367db039fae3ea921ca4aa03374cd6c6d8d188 (patch)
tree194fed758b8fe43c82502394a3cf9120988e24e1 /tests/tcg/mips/include/test_utils.h
parent7ecdacc56858aff19048d99e6041b1e786f1cf0a (diff)
downloadfocaccia-qemu-2a367db039fae3ea921ca4aa03374cd6c6d8d188.tar.gz
focaccia-qemu-2a367db039fae3ea921ca4aa03374cd6c6d8d188.zip
tests/tcg: target/mips: Add tests for MSA pack instructions
Add tests for MSA pack instructions. This includes following
instructions:

  * PCKEV.B - pack even (bytes)
  * PCKEV.H - pack even (halfwords)
  * PCKEV.W - pack even (words)
  * PCKEV.D - pack even (doublewords)
  * PCKOD.B - pack odd (bytes)
  * PCKOD.H - pack odd (halfwords)
  * PCKOD.W - pack odd (words)
  * PCKOD.D - pack odd (doublewords)
  * VSHF.B - data preserving shuffle (bytes)
  * VSHF.H - data preserving shuffle (halfwords)
  * VSHF.W - data preserving shuffle (words)
  * VSHF.D - data preserving shuffle (doublewords)

Each test consists of 80 test cases, so altogether there are 960
test cases.

Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com>
Message-Id: <1551800076-8104-15-git-send-email-aleksandar.markovic@rt-rk.com>
Diffstat (limited to 'tests/tcg/mips/include/test_utils.h')
0 files changed, 0 insertions, 0 deletions