tests/tcg: target/mips: Include isa/ase and group name in test outputFor better appearance and usefullnes, include ISA/ASE name andinstruction group name in the output of tests. For example, allt
tests/tcg: target/mips: Include isa/ase and group name in test outputFor better appearance and usefullnes, include ISA/ASE name andinstruction group name in the output of tests. For example, allthis data will be displayed for FMAX_A.W test:| MSA | Float Max Min | FMAX_A.W || PASS: 80 | FAIL: 0 | elapsed time: 0.16 ms |(the data will be displayed in one row; they are presented here in tworows not to exceed the width of the commit message)Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com>Message-Id: <1561031359-6727-2-git-send-email-aleksandar.markovic@rt-rk.com>
show more ...
tests/tcg: target/mips: Add utility function reset_msa_registers()Add function reset_msa_registers() and utilize it in each MSA test.This is needed to ensure independency of test results on the st
tests/tcg: target/mips: Add utility function reset_msa_registers()Add function reset_msa_registers() and utilize it in each MSA test.This is needed to ensure independency of test results on the state ofMSA registers before test execution. This also allows for correctionof tests for VSHF* instructions, that are now independent on theprevious state of MSA registers.Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com>Message-Id: <1559838440-9866-9-git-send-email-aleksandar.markovic@rt-rk.com>
tests/tcg: target/mips: Add tests for MSA shift instructionsAdd tests for MSA shift instructions. This includes followinginstructions: * SLL.B - shift left logical (bytes) * SLL.H - shift lef
tests/tcg: target/mips: Add tests for MSA shift instructionsAdd tests for MSA shift instructions. This includes followinginstructions: * 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>