Commit Graph

914 Commits

Author SHA1 Message Date
Petar Jovanovic
3aa005ea1c mips32: add missing exp file for Bug#320057
r13450 misses the exp file.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13452
2013-07-15 10:16:09 +00:00
Petar Jovanovic
302ca71a6a 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
2013-07-12 15:32:27 +00:00
Julian Seward
25e9b5634b Add test cases pertaining to vex r2731, for the following instructions:
SSAX SXTAB16 SHASX SHSAX SHSUB16 SHSUB8
  UASX USAX UQADD16 UQASX UQSAX UHASX UHSAX REVSH

Pertaining to
  321363 321364 321466 321467 321468 321619 321704
  321620 321621 321692 321694 321696 321697 321703

(Vasily, w.golubev@mail.ru)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13447
2013-07-04 20:39:53 +00:00
Julian Seward
0f61834992 Add test cases for
(T1) STRBT reg+#imm8
(T1) STRHT reg+#imm8
(T1) LDRBT reg+#imm8
(T1) LDRSBT reg+#imm8

Pertaining to: 319858 319932 320083 321693 321148

(Vasily, w.golubev@mail.ru)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13445
2013-07-04 15:29:07 +00:00
Julian Seward
571f45ce1c Update expected outputs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13441
2013-07-02 20:47:24 +00:00
Florian Krohm
2a6f957df4 s390: Update testcase for PFPO
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13429
2013-06-17 21:04:25 +00:00
Philippe Waroquiers
da19b5f43e improve --help for --main-stacksize and supported ARM cpu
If the command line option --main-stacksize is not used,
the current ulimit value is used, with a min of 1MB
and a max of 16MB. Document this min/max default formula
in the --help.

Also indicate that Valgrind supports ARMv7


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13426
2013-06-12 21:45:39 +00:00
Petar Jovanovic
f6fbe93a41 mips64: fix typo in EXTRA_DIST
Fixes make dist error.
Typo spotted and reported by Maran Pakkirisamy <maranp@linux.vnet.ibm.com>


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13424
2013-06-09 14:29:10 +00:00
Petar Jovanovic
4ff0a91332 mips64: add missing line-continuation character
make distclean failed for the missing character.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13416
2013-06-02 17:23:43 +00:00
Petar Jovanovic
92a11afe46 mips64: rename exp files for load_store_multiple
Rename none/tests/mips64/load_store_multiple exp files to match the name
of the source file.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13412
2013-05-29 10:50:31 +00:00
Petar Jovanovic
94576d9cb4 mips64: expected output for mips64 specific tests
Follow up to the previous change in which mips64 specific tests were added.
It covers both MIPS64-LE and MIPS64-BE.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13411
2013-05-28 18:06:05 +00:00
Petar Jovanovic
d7adfcc772 mips64: set of mips64 specific tests
This is a set of mips64 programs that test mips64 instruction set.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13410
2013-05-28 16:51:27 +00:00
Julian Seward
af4c08f658 Add test case for STRT. See #319395.
(Vasily Golubev, w.golubev@mail.ru)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13397
2013-05-13 10:29:32 +00:00
Julian Seward
025f9149e7 Add test cases for SSAT16. See #318929.
(Vasily Golubev, w.golubev@mail.ru)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13396
2013-05-13 10:03:28 +00:00
Petar Jovanovic
45e740c563 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
2013-05-11 22:23:27 +00:00
Florian Krohm
30f32f46d2 s390: valgrind side support for PFPO. New hwcap added.
See companion patch VEX r2719.

Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ #307113


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13387
2013-05-11 15:05:04 +00:00
Petar Jovanovic
ef5865f643 mips: add allexec tests for mips64
Initial patch for none/tests/mips64/.
allexec tests added.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13385
2013-05-10 13:14:54 +00:00
Petar Jovanovic
ee3a906b26 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
2013-04-27 01:34:05 +00:00
Julian Seward
3d0ccce657 Add test cases for SMMLA{R}.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13376
2013-04-23 08:52:35 +00:00
Julian Seward
c990b98d2a Minor changes to how V{LD}{1,2,3,4} are tested:
* print the output 64-bit results in most-to-least-significant
  lane format
* change the memory values used in these tests to ones which
  are reliably able to detect confusion of 8-bit lanes.  The
  previous values couldn't to that reliable.  This change causes
  the diff to be huge because the stdout.exp changes a lot.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13374
2013-04-20 23:43:49 +00:00
Julian Seward
434ec6b7f5 Non-functional changes: flush stdout frequently, so as to make
it easier to sync with stderr output.  Also, add some more helpful
data for testing Neon loads/stores.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13372
2013-04-18 11:52:19 +00:00
Julian Seward
f1c82a29d7 Add test cases for SDIV and UDIV. Pertains to #314178.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13365
2013-04-11 13:58:48 +00:00
Julian Seward
34113acb36 Add test cases for (T1) LDRT reg+#imm8. See #315689.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13364
2013-04-11 10:58:18 +00:00
Tom Hughes
a990370cde Update test results for EQ_UQ SSE FP comparison operation. BZ#317444.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13344
2013-03-28 09:35:39 +00:00
Julian Seward
78b3b945b4 Fix BMI assembler configure check and avx2/bmi/fma vgtest prereqs.
#317461.  (Mark Wielaard, mjw@redhat.com)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13343
2013-03-27 21:59:21 +00:00
Tom Hughes
9ada76d11c Test support for the EQ_UQ SSE FP comparison operation. BZ#317444.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13342
2013-03-27 15:39:18 +00:00
Julian Seward
1c50d16462 Testcase additions pertaining to #305728, which added support for
AVX2, BMI1, BMI2 and FMA instructions.
(Jakub Jelinek, jakub@redhat.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13339
2013-03-27 11:42:05 +00:00
Julian Seward
ccf13bd148 Add test cases for SSE4 MOVNTDQA insn. Pertains to #316503.
(Patrick J. LoPresti, lopresti@gmail.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13336
2013-03-26 10:29:05 +00:00
Florian Krohm
b6e7089a33 s390: Add testcase for the SRNMT instruction.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13325
2013-03-12 01:32:40 +00:00
Bart Van Assche
2e49d05487 s390: Distribute dfp-1 expected output files also if built on a non-s390 platform
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13317
2013-03-10 11:30:22 +00:00
Julian Seward
3525bf5b27 Add test cases for VCVT.{S,U}32.F64 D[d], D[d], #frac_bits.
Pertains to #315738.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13313
2013-03-06 08:35:12 +00:00
Julian Seward
cbc042d10e Add test cases for VCVT.F64.{SU}32, #imm, including a bunch of dodging and
weaving to work around buggy assemblers.  Pertains to #308717.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13312
2013-03-05 14:27:44 +00:00
Julian Seward
fd4de60b17 Add test cases for SMLAL{BB,BT,TB,TT}. Related to #308718.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13311
2013-03-04 18:35:17 +00:00
Florian Krohm
1f53bd2199 s390: Testcases and vbit-tester changes for the following
DFP insns:
- extract basied exponent
- insert biased exponent
- quantize
- reround to significance
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ #307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13286
2013-02-14 14:28:22 +00:00
Florian Krohm
6965adf43e s390: Add testcase for these DFP insns: CDGTRA, CXGTR, CGXTR, and CGDTR (VEX r2680).
Update vbit tester. Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ #307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13285
2013-02-08 23:34:31 +00:00
Florian Krohm
bf50824155 s390: Pedantic cleanups by Maran.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13259
2013-01-22 13:59:54 +00:00
Florian Krohm
61ec39eecf s390: Add another testcase for DFP insns.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13254
2013-01-21 15:39:44 +00:00
Petar Jovanovic
00d404c557 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
2013-01-20 18:27:39 +00:00
Philippe Waroquiers
6fb1158a78 Implement --merge-recursive-frames + provide VALGRIND_MONITOR_COMMAND client req.
In a big applications, some recursive algorithms have created
hundreds of thousands of stacktraces, taking a lot of memory.

Option --merge-recursive-frames=<number> tells Valgrind to
detect and merge (collapse) recursive calls when recording stack traces.
The value is changeable using the monitor command
'v.set merge-recursive-frames'.

Also, this provides a new client request: VALGRIND_MONITOR_COMMAND
allowing to execute a gdbsrv monitor command from the client
program.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13246
2013-01-20 17:11:58 +00:00
Florian Krohm
a255caf02a s390: Add ecag.stdout.exp-zec12 to EXTRA_DIST.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13219
2013-01-10 15:44:28 +00:00
Christian Borntraeger
4836e36fee add ecag exp file for zec12
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13218
2013-01-09 14:54:33 +00:00
Florian Krohm
963e82c6fe s390: Add testcases for DFP "shift significant" insns.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13215
2013-01-01 22:20:12 +00:00
Florian Krohm
83a2d3c94d s390: Add testcase for "test data class/group" insns.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
This is part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13214
2012-12-28 15:54:23 +00:00
Julian Seward
415490d305 Improvements to the built-in profiling infrastructure:
--profile-flags=00000000 now prints summary statistics, one line per
profiled block, but with no translation details.  Previously it had
no effect.

--profile-interval=<number> is a new flag that causes the profile data
to be dumped and zeroed every <number> event checks.  This makes it
possible to get profile data without waiting for runs to end, and to
get profile data which depends on the current workload etc.  If
--profile-interval=0 or is unset, the profile is printed only once, at
the end of the run, as before.

--profile-flags=XXXXXXXX (for at least one nonzero X) prints the
summary lines both at the start and end of the profile, so you don't
have to scroll back up to the top to see the summary.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13213
2012-12-28 09:12:14 +00:00
Florian Krohm
28063e7da5 s390: Add testcases for ESDTR and EXDTR.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
Part of fixing BZ #307113.

[ r13211 was also implemented by Maran. ]


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13212
2012-12-27 20:17:32 +00:00
Florian Krohm
3df5c8e140 valgrind side changes to support Iop_CmpExpD64 and Iop_CmpExpD128.
VEX buddy patch is r2617.
Enhance testcase for CEDTR and CEXTR. Adapt vbit tester.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).
This is part of fixing BZ 307113.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13203
2012-12-26 17:48:46 +00:00
Bart Van Assche
6ec551dd8b none/tests/process_vm_readv_writev: Avoid that compilation of this test program triggers a compiler warning
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13201
2012-12-24 11:14:08 +00:00
Florian Krohm
5bdda85fd8 s390: Add testcases for CDTR, CXTR, LDETR. LXDTR, LEDTR, LDXTR.
This is part of fixing BZ 307113.
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13196
2012-12-23 16:17:18 +00:00
Florian Krohm
46ee8bb20a Companion patch to VEX r2605. Adds a few testcases and adapts the vbit
tester. This is part of fixing BZ #307113. 
Patch by Maran Pakkirisamy (maranp@linux.vnet.ibm.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13195
2012-12-21 18:34:48 +00:00
Julian Seward
0b16d79838 Add test cases for the UMAAL instruction.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13176
2012-12-12 00:17:33 +00:00