OSDN Git Service

tests/tcg: target/mips: Add tests for MSA bit set instructions
authorAleksandar Markovic <amarkovic@wavecomp.com>
Fri, 19 Apr 2019 18:38:00 +0000 (20:38 +0200)
committerAleksandar Markovic <amarkovic@wavecomp.com>
Sat, 1 Jun 2019 18:20:20 +0000 (20:20 +0200)
commit1d336c87a3c7e4ce9cf50895b7811928e0fe8b49
treecebe2a02ba9bad28d3d37cf3a3886c014ae8562a
parent750541c492018e01bad5f34b087397ee6a0b835b
tests/tcg: target/mips: Add tests for MSA bit set instructions

Add tests for MSA bit set instructions. This includes following
instructions:

  * BCLR.B - clear bit (bytes)
  * BCLR.H - clear bit (halfwords)
  * BCLR.W - clear bit (words)
  * BCLR.D - clear bit (doublewords)
  * BNEG.B - negate bit (bytes)
  * BNEG.H - negate bit (halfwords)
  * BNEG.W - negate bit (words)
  * BNEG.D - negate bit (doublewords)
  * BSET.B - set bit (bytes)
  * BSET.H - set bit (halfwords)
  * BSET.W - set bit (words)
  * BSET.D - set bit (doublewords)

Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com>
Message-Id: <1555699081-24577-5-git-send-email-aleksandar.markovic@rt-rk.com>
12 files changed:
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bclr_b.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bclr_d.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bclr_h.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bclr_w.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bneg_b.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bneg_d.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bneg_h.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bneg_w.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bset_b.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bset_d.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bset_h.c [new file with mode: 0644]
tests/tcg/mips/user/ase/msa/bit-set/test_msa_bset_w.c [new file with mode: 0644]