OSDN Git Service

tests/tcg: target/mips: Add tests for MSA shift instructions
authorAleksandar Markovic <amarkovic@wavecomp.com>
Thu, 6 Jun 2019 16:27:16 +0000 (18:27 +0200)
committerAleksandar Markovic <amarkovic@wavecomp.com>
Fri, 7 Jun 2019 09:53:07 +0000 (11:53 +0200)
commit99d423e576a8c5fcdb602e863d0be203494b2801
tree71fc306e331d5c3d8d9fa7cbd52a7d9c07f2210f
parent6ec12d4feb20806adbd971fd29c5c76a1dd6614e
tests/tcg: target/mips: Add tests for MSA shift instructions

Add tests for MSA shift instructions. This includes following
instructions:

  * SLL.B - shift left logical (bytes)
  * SLL.H - shift left logical (halfwords)
  * SLL.W - shift left logical (words)
  * SLL.D - shift left logical (doublewords)
  * SRA.B - shift right arithmetic (bytes)
  * SRA.H - shift right arithmetic (halfwords)
  * SRA.W - shift right arithmetic (words)
  * SRA.D - shift right arithmetic (doublewords)
  * SRAR.B - shift right arithmetic rounded (bytes)
  * SRAR.H - shift right arithmetic rounded (halfwords)
  * SRAR.W - shift right arithmetic rounded (words)
  * SRAR.D - shift right arithmetic rounded (doublewords)
  * SRL.B - shift right logical (bytes)
  * SRL.H - shift right logical (halfwords)
  * SRL.W - shift right logical (words)
  * SRL.D - shift right logical (doublewords)
  * SRLR.B - shift right logical rounded (bytes)
  * SRLR.H - shift right logical rounded (halfwords)
  * SRLR.W - shift right logical rounded (words)
  * SRLR.D - shift right logical rounded (doublewords)

Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com>
Message-Id: <1559838440-9866-7-git-send-email-aleksandar.markovic@rt-rk.com>
20 files changed:
tests/tcg/mips/user/ase/msa/shift/test_msa_sll_b.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_sll_d.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_sll_h.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_sll_w.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_sra_b.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_sra_d.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_sra_h.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_sra_w.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_srar_b.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_srar_d.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_srar_h.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_srar_w.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_srl_b.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_srl_d.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_srl_h.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_srl_w.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_srlr_b.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_srlr_d.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_srlr_h.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/shift/test_msa_srlr_w.c [new file with mode: 0644]