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>
target/mips: Amend and cleanup MSA TCG testsAdd missing bits and peaces of the tests of the emulation of certainMSA (non-immediate variants): some tests were missing two last cases;some instructi
target/mips: Amend and cleanup MSA TCG testsAdd missing bits and peaces of the tests of the emulation of certainMSA (non-immediate variants): some tests were missing two last cases;some instructions were missing wrappers; some test included wrongheaders; some tests were missing altogether; updated some copywrightpreambles; do several other minor cleanups.Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>Signed-off-by: Mateja Marjanovic <mateja.marjanovic@rt-rk.com>Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com>Message-Id: <1555699081-24577-4-git-send-email-aleksandar.markovic@rt-rk.com>
tests/tcg: target/mips: Rename two header files for consistencyRename two header files for consistency and clarity. Do all otherchanges to accommodate new names.Signed-off-by: Aleksandar Markovi
tests/tcg: target/mips: Rename two header files for consistencyRename two header files for consistency and clarity. Do all otherchanges to accommodate new names.Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>Reviewed-by: Aleksandar Rikalo <amarkovic@wavecomp.com>Message-Id: <1551981716-30664-3-git-send-email-aleksandar.markovic@rt-rk.com>
tests/tcg: target/mips: Correct preambles of test source filesCorrect preambles of test source files.Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>Reviewed-by: Aleksandar Rikalo <am
tests/tcg: target/mips: Correct preambles of test source filesCorrect preambles of test source files.Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>Reviewed-by: Aleksandar Rikalo <amarkovic@wavecomp.com>Message-Id: <1551981716-30664-2-git-send-email-aleksandar.markovic@rt-rk.com>
tests/tcg: target/mips: Add tests for MSA integer compare instructionsAdd tests for MSA integer compare instructions. This includesfollowing instructions: * CEQ.B - integer compare equal (bytes
tests/tcg: target/mips: Add tests for MSA integer compare instructionsAdd tests for MSA integer compare instructions. This includesfollowing instructions: * CEQ.B - integer compare equal (bytes) * CEQ.H - integer compare equal (halfwords) * CEQ.W - integer compare equal (words) * CEQ.D - integer compare equal (doublewords) * CLE_S.B - signed integer compare less or equal (bytes) * CLE_S.H - signed integer compare less or equal (halfwords) * CLE_S.W - signed integer compare less or equal (words) * CLE_S.D - signed integer compare less or equal (doublewords) * CLE_U.B - unsigned integer compare less or equal (bytes) * CLE_U.H - unsigned integer compare less or equal (halfwords) * CLE_U.W - unsigned integer compare less or equal (words) * CLE_U.D - unsigned integer compare less or equal (doublewords) * CLT_S.B - signed integer compare less or equal (bytes) * CLT_S.H - signed integer compare less or equal (halfwords) * CLT_S.W - signed integer compare less or equal (words) * CLT_S.D - signed integer compare less or equal (doublewords) * CLT_U.B - unsigned integer compare less or equal (bytes) * CLT_U.H - unsigned integer compare less or equal (halfwords) * CLT_U.W - unsigned integer compare less or equal (words) * CLT_U.D - unsigned integer compare less or equal (doublewords)Each test consists of 80 test cases, so altogether there are 1600 testcases.Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>Reviewed-by: Aleksandar Rikalo <arikalo@wavecomp.com>Message-Id: <1551185735-17154-2-git-send-email-aleksandar.markovic@rt-rk.com>