• Home
  • History
  • Annotate
  • only in /external/valgrind/none/tests/mips32/
History log of /external/valgrind/none/tests/mips32/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
05f364138d73e533373cfa8846c57f82e9349187 11-Apr-2014 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: According to the glibc bug 5044 (https://sourceware.org/bugzilla/show_bug.cgi?id=5044)
until the glibc version 2.17 printf hadn't respected the rounding mode for decimal
output. Because of change in glibc printf function we need to change our
expected output file for none/tests/mips32/FPUarithmetic test.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13894 a5019735-40e9-0310-863c-91ae7b9d1cf9
PUarithmetic.stdout.exp
PUarithmetic.stdout.exp-mips32
df2220257f9a2d810ccf6054bca0ed25852aded7 25-Feb-2014 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Add tests for mips32 floating point compare instructions.

Tests that are testing mips instructions c.cond.s and c.cond.d have been added in none/tests/mips32.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13839 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
pu_branches.c
pu_branches.stderr.exp
pu_branches.stdout.exp
pu_branches.vgtest
24f0c3a8f6ec94f3f374c41aae7ce3a3363300db 19-Feb-2014 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Support for 64bit FPU on MIPS32 platforms.

Tests for 64bit FPU instructions on MIPS32 platforms.
Some mips instructions can cause SIGILL (Illegal instruction),
so we need to add SIGILL signal and a proper handler for that signal.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13817 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
oveIns.c
ound.c
ound.stdout.exp
ound_fpu64.c
ound_fpu64.stderr.exp
ound_fpu64.stdout.exp
ound_fpu64.stdout.exp-fpu32
ound_fpu64.vgtest
est_fcsr.c
fp.c
34ff174f3cef6e6058385c0a404572d5e8e5c67c 05-Dec-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Fix typo.

Fix some typo error and some errors in tests that was discovered while running Valgrind on MIPS/Android.
In some cases initial FCSR value wasn't being set properly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13746 a5019735-40e9-0310-863c-91ae7b9d1cf9
PUarithmetic.c
PUarithmetic.stdout.exp
PUarithmetic.stdout.exp-mips32
oadStore.c
emCpyTest.c
oveIns.c
oveIns.stdout.exp
oveIns.stdout.exp-BE
ignalException.c
ranches.c
ound.c
fp.c
1b9c249b2be7ef0def5ccb50e5bc2417f5f29ce8 14-Nov-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32/64: Test case for VEX r2799.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13713 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
est_math.cpp
est_math.stderr.exp
est_math.stdout.exp
est_math.vgtest
86e41825df7c3f90119b3ffcd9308d17492b7113 23-Oct-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Change the tests values so that the result is
the same on all mips32 platforms. Add extra cases in
vbit-test for mips32.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13687 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ips32_dsp.c
ips32_dsp.stdout.exp
ips32_dsp.stdout.exp-BE
ips32_dsp.stdout.exp-LE
ips32_dspr2.c
ips32_dspr2.stdout.exp
8cdb10b82b05862bb4a1c7925fcaacffef15aa2f 23-Oct-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Delete unused empty files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13685 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ips32_dsp.stdout.exp-mips32
ips32_dspr2.stdout.exp-mips32
8a9c20b06f772a9eec8d88929564d1ad546f42f0 24-Sep-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Change the input values for round test.
Change the input values so that the binary value
is representing exactly the same float value.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13576 a5019735-40e9-0310-863c-91ae7b9d1cf9
ound.c
ound.stdout.exp
4164a8177ff1867390e0ff38d900c99c3101544c 18-Sep-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32/mips64: tests for FCSR.

Change the existing tests to print the value of the FCSR
register after the mips fpu instruction is executed.
Add tests that are testing the value of FCSR register.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13560 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ound.c
ound.stdout.exp
est_fcsr.c
est_fcsr.stderr.exp
est_fcsr.stdout.exp
est_fcsr.vgtest
0432cfee3039e4a6a014e61bd4a4e6adee0330d8 16-Sep-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32/mips64: rename mips32_features to mips_features

As this file is now detecting mips64/Cavium boards, we are renaming it to
reflect that. The functional change is that mips_features now can detect
Cavium board and allow Cavium-specific tests to be run.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13551 a5019735-40e9-0310-863c-91ae7b9d1cf9
ips32_dsp.vgtest
ips32_dspr2.vgtest
fd7db80cf6bae41784a60161060b9a6610f94abf 02-Sep-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32/mips64: Add tests for lwl and lwr for mips32 and mips64.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13526 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
naligned_load_store.c
naligned_load_store.stderr.exp
naligned_load_store.stdout.exp-BE
naligned_load_store.stdout.exp-LE
naligned_load_store.vgtest
663a8a6f68a2450cf6626c8b5ae8fd88aac752c4 15-Aug-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Delete unnecessary exp files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13497 a5019735-40e9-0310-863c-91ae7b9d1cf9
IPS32int.stdout.exp
IPS32int.stdout.exp-BE
IPS32int.stdout.exp-mips32
fp.stdout.exp
fp.stdout.exp-BE
fp.stdout.exp-mips32
751c1e6e1657cbafe30baaf36ad9bd011c3a179b 15-Aug-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32/mips64: Fix compiler warnings.

Fix some compiler warnings when compiling Valgrind for mips32/mips64.
Clean up exp files for mips32 BE and LE.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13496 a5019735-40e9-0310-863c-91ae7b9d1cf9
oadStore.c
oadStore1.c
IPS32int.stdout.exp
IPS32int.stdout.exp-BE
IPS32int.stdout.exp-mips32
IPS32int.stdout.exp-mips32-BE
IPS32int.stdout.exp-mips32-LE
IPS32int.stdout.exp-mips32r2-BE
IPS32int.stdout.exp-mips32r2-LE
akefile.am
emCpyTest.c
ips32_dsp.c
ips32_dsp.stdout.exp-mips32
ips32_dspr2.c
ips32_dspr2.stdout.exp-mips32
fp.c
fp.stdout.exp
fp.stdout.exp-BE
fp.stdout.exp-mips32
fp.stdout.exp-mips32-BE
fp.stdout.exp-mips32-LE
fp.stdout.exp-mips32r2-BE
fp.stdout.exp-mips32r2-LE
bf68e98f4532d5469f7be4ef77933ae50069f201 02-Aug-2013 dejanj <dejanj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: Add test cases for for mips32 DSP instruction set.

Add test cases for mips32 DSP and DSP revision 2 ASE.
Correctly model SHLL_S.PH on MIPS32.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13479 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ips32_dsp.c
ips32_dsp.stderr.exp
ips32_dsp.stdout.exp
ips32_dsp.stdout.exp-BE
ips32_dsp.vgtest
ips32_dspr2.c
ips32_dspr2.stderr.exp
ips32_dspr2.stdout.exp
ips32_dspr2.vgtest
2784128079db6cc83a4d6e92a70da6f8f8695a3b 15-Jul-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: add missing exp file for Bug#320057

r13450 misses the exp file.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13452 a5019735-40e9-0310-863c-91ae7b9d1cf9
ug320057-mips32.stderr.exp
379817b720dad58e2a0436c774ed48a15fb8fec7 12-Jul-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32: another VG_(am_get_advisory) needs non-single-page-size adjustment

Another mmap issue in which another VG_(am_get_advisory) needs adjustment
wrapper for cases when (VKI_SHMLBA > VKI_PAGE_SIZE) and argument is
VKI_MAP_SHARED.

Fix by DejanJ for Bug #320057.
Issue and the test case by Vasile Floroiu.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13450 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ug320057-mips32.c
ug320057-mips32.stdout.exp
ug320057-mips32.vgtest
3406925699637bf84f155a6ba5efbac48b3006da 12-May-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips: define allexec files as soft links

This change is a follow up to r13385. It removes physical copies of the
allexec c-files in none/tests/mips32/ and none/tests/mips64/ and defines
them as soft-links to a common file like other arches do.

Credits to Philippe for noticing it.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13388 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/none/tests/allexec.c
7ca65aeabb690ae6db35e700c73452bb310f1a0f 27-Apr-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips: extending the existing test for INS and EXT instructions

Follow up to r2715 in VEX in which we fix INS instruction for lsb = 0.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13380 a5019735-40e9-0310-863c-91ae7b9d1cf9
IPS32int.c
IPS32int.stdout.exp
IPS32int.stdout.exp-BE
1764121a4dc65134f1b99309f1583c56a4d08138 20-Jan-2013 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips: additional test case for fix in VEX r2648

Test program that triggers different corner cases related to position of
branch instruction and max size of a translation block (60 instructions).
Fix for these issues has been submitted in r2648.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13248 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
lock_size.c
lock_size.stderr.exp
lock_size.stdout.exp
lock_size.vgtest
80e5c17a2a2832793a2d4962fa8264025641e47e 19-Oct-2012 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Add a proper support for several MIPS instructions that generate SigFPE.

Add support to properly handle TEQ, ADD and SUB instructions that generate
exceptions on MIPS platforms. A SignalException test for MIPS32 has also been
added, so we can cover more cases.

This resolves:

none/tests/faultstatus
gdbserver_tests/mcsignopass
gdbserver_tests/mcsigpass


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13059 a5019735-40e9-0310-863c-91ae7b9d1cf9
akefile.am
ignalException.c
ignalException.stderr.exp
ignalException.vgtest
74ec8c795646877d62acd6240e8448c6a0f0ff02 28-Aug-2012 florian <florian@a5019735-40e9-0310-863c-91ae7b9d1cf9> Remove .deps directory.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12909 a5019735-40e9-0310-863c-91ae7b9d1cf9
deps/FPUarithmetic.Po
deps/LoadStore.Po
deps/LoadStore1.Po
deps/MIPS32int.Po
deps/MemCpyTest.Po
deps/MoveIns.Po
deps/allexec-allexec.Po
deps/branches.Po
deps/round.Po
deps/vfp.Po
4931c0dbc3912b97beb3784122d1ea7825a2c882 16-Jul-2012 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Conditionally execute tests depending on revision of MIPS architecture.

Support has been added to the tests for MIPS32 revision 1. Previously, all the
tests had to be compiled for MIPS32r2 platforms.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12751 a5019735-40e9-0310-863c-91ae7b9d1cf9
PUarithmetic.c
PUarithmetic.stdout.exp-mips32
IPS32int.c
IPS32int.stdout.exp-mips32
akefile.am
ound.c
fp.c
fp.stdout.exp-mips32
228ff1a7e6799a31a4701d0928ff5a973c780c56 22-Jun-2012 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Initializing destination reg for MoveIns test for MIPS.

The test none/tests/mips32/MoveIns.c did not initialize destination register,
and that is important for movn.s and movn.d instructions. This improves the
test as we will get the same stdout with different compilers and options now.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12661 a5019735-40e9-0310-863c-91ae7b9d1cf9
oveIns.c
oveIns.stdout.exp
oveIns.stdout.exp-BE
60747ac92be008e71d498fba085828464fd33da1 09-Jun-2012 petarj <petarj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Adjusting the svn:executable property on none/tests/mips32/filter_stderr.

vg_regtest failed on MIPS as filter_stderr was not an executable.
MIPS port is currently tracked as bug #270777.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12625 a5019735-40e9-0310-863c-91ae7b9d1cf9
ilter_stderr
d14f0776cace6739bb4faf2f8b4f296f11d6c5f9 07-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> mips32-linux port: add missing (empty) stderr.exp files.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12619 a5019735-40e9-0310-863c-91ae7b9d1cf9
PUarithmetic.stderr.exp
oadStore.stderr.exp
oadStore1.stderr.exp
IPS32int.stderr.exp
emCpyTest.stderr.exp
oveIns.stderr.exp
ranches.stderr.exp
ound.stderr.exp
fp.stderr.exp
e584b0e99b31e6d257cc58c630cd6067550539e3 07-Jun-2012 sewardj <sewardj@a5019735-40e9-0310-863c-91ae7b9d1cf9> Merge in a port for mips32-linux, by Petar Jovanovic and Dejan Jevtic,
mips-valgrind@rt-rk.com, Bug 270777.

Valgrind: new non-test files for mips32-linux.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12618 a5019735-40e9-0310-863c-91ae7b9d1cf9
/external/valgrind/none/tests/allexec.c
deps/FPUarithmetic.Po
deps/LoadStore.Po
deps/LoadStore1.Po
deps/MIPS32int.Po
deps/MemCpyTest.Po
deps/MoveIns.Po
deps/allexec-allexec.Po
deps/branches.Po
deps/round.Po
deps/vfp.Po
PUarithmetic.c
PUarithmetic.stdout.exp
PUarithmetic.vgtest
oadStore.c
oadStore.stdout.exp
oadStore.stdout.exp-BE
oadStore.vgtest
oadStore1.c
oadStore1.stdout.exp
oadStore1.stdout.exp-LE
oadStore1.vgtest
IPS32int.c
IPS32int.stdout.exp
IPS32int.stdout.exp-BE
IPS32int.vgtest
akefile.am
emCpyTest.c
emCpyTest.stdout.exp
emCpyTest.vgtest
oveIns.c
oveIns.stdout.exp
oveIns.stdout.exp-BE
oveIns.vgtest
ranches.c
ranches.stdout.exp
ranches.vgtest
ilter_stderr
ound.c
ound.stdout.exp
ound.vgtest
fp.c
fp.stdout.exp
fp.stdout.exp-BE
fp.vgtest