Christian Borntraeger
1a3b5409fc
newer versions of devel headers expose CLONE flags only with _GNU_SOURCE
...
defined
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13035
2012-10-08 20:35:13 +00:00
Florian Krohm
7d59048401
This is the 2nd installment of the cache info reorganisation.
...
The host's VexArchInfo is passed to the tool instrumentation
functions. Purely mechanic patch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13031
2012-10-07 21:59:42 +00:00
Florian Krohm
d5b07d8cf1
s390: Add a few more test from olden times.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13027
2012-10-07 04:00:48 +00:00
Florian Krohm
1e03eb7522
s390: Add a few more testcases from long time ago.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13026
2012-10-06 18:02:46 +00:00
Florian Krohm
75b7289d82
s390: Add testcase for some integer comparison insns
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13012
2012-09-23 00:42:49 +00:00
Florian Krohm
b792917720
s390: Add testcases for srnm and srnmb. Update opcode status list.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12997
2012-09-18 20:25:23 +00:00
Julian Seward
023cba9950
Add tests for: uqsub16 shadd16 uhsub8 uhsub16. See #304035 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12981
2012-09-17 15:29:53 +00:00
Julian Seward
d362026f49
Add test cases for PCMPxSTRx variant $0x46. See #306664 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12979
2012-09-17 13:43:57 +00:00
Florian Krohm
bf570874fc
s390: Add a testcase for 32/64-bit bfp comparison insns.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12975
2012-09-15 02:22:46 +00:00
Florian Krohm
01f00317de
s390: Add testcase for bfp multiply-and-add/sub
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12968
2012-09-13 15:09:53 +00:00
Florian Krohm
479b63d853
s390: Add testcase for square root and load positive/negative/complement.
...
Tests are for 32/64-bit values only.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12967
2012-09-13 03:04:23 +00:00
Florian Krohm
ef5f5e1119
s390x: Testcases for floating point 32/64-bit. Related to VEX r2525.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12966
2012-09-12 19:40:14 +00:00
Florian Krohm
32930aaa32
s390: Add a testcase for condition code computation for
...
convert-to-fixed. See VEX r2516. Part of fixing bugzilla #306054 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12958
2012-09-06 03:22:16 +00:00
Florian Krohm
2d935572f5
Update testcase as a followup to VEX r2509.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12955
2012-09-03 17:45:15 +00:00
Florian Krohm
4c07b236f4
Add testcase to check the emulation warning for new supported opcodes
...
on hosts without floating point extension facility.
See companion patch VEX r2501.
Part of fixing bugzilla #306098 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12935
2012-09-02 18:10:34 +00:00
Florian Krohm
02be5e72db
Change s390-features to allow testing for absence of a feature.
...
This is infintely less painful than to find out how to invert
the condition in a test prerequisite.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12928
2012-09-02 03:30:38 +00:00
Florian Krohm
d1bb8e6017
Fix Makefile.am for fpext_fail testcase.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12926
2012-09-01 23:43:03 +00:00
Florian Krohm
62e8c66124
s390: Add testcase for emulation failure.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12922
2012-09-01 17:55:10 +00:00
Florian Krohm
1229190124
s390: Valgrind-side changes to fixing bugzilla #274695 :
...
Testcase, vbit tester update, memcheck support for the new IROps,
NEWS announcement and opcode list update.
Patch by Christian Borntraeger (borntraeger@de.ibm.com ).
Vbit tester tweaks by myself.
Fixes bugzilla #274695 .
See also companion patch VEX r2496.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12921
2012-09-01 00:15:45 +00:00
Florian Krohm
a59c1512ac
Remove .deps directory.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12909
2012-08-28 18:37:40 +00:00
Florian Krohm
07b6da4bbb
Fix EXTRA_DIST. Add dummy .exp file to satisfy the consistency checker
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12904
2012-08-28 00:38:47 +00:00
Florian Krohm
16690f1ef5
s390: Add testcase for the ecag insn. Based on patch by
...
Divya Vyas (divyvyas@linux.vnet.ibm.com ). Update opcode list.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12903
2012-08-26 19:05:06 +00:00
Julian Seward
b9d41417b1
Add tests for MOVBE in 32 bit mode. See 304867. (Ambroz Bizjak,
...
ambrop7@gmail.com )
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12889
2012-08-23 23:42:46 +00:00
Julian Seward
213bf1ccbc
Add test cases for QDADD and QDSUB. See #305199 . (Mans Rullgard,
...
mans@mansr.com )
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12888
2012-08-23 20:58:08 +00:00
Philippe Waroquiers
15493bb541
Implement --vex-iropt-register-updates=sp-at-mem-access
...
Option sp-at-mem-access can be used by tools which do not
need an up to date BP and IP at each mem access.
It is needed however to have SP up to date at each memory
access, as an up to date SP is needed to grow the stack in
m_signals.c
Tools massif, cachegrind and callgrind are using sp-at-mem-access
as default.
None tool could also use sp-at-mem-access but default is kept
to unwindregs-at-mem-access (similar to memcheck, drd, helgrind, exp-sgcheck).
exp-dhat, exp-bbv, lackey have not been looked at to see if they
could make use of sp-at-mem-access.
Validated on x86, amd64, ppc64 and s390x.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12872
2012-08-14 22:28:31 +00:00
Christian Borntraeger
8ebc7597b2
wire up testcase
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12860
2012-08-08 07:54:47 +00:00
Christian Borntraeger
bae94d70af
Add a testcase for floating point <-> signed conversion that
...
actually checks the condition code of the conversion instruction
(most programs dont do that)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12859
2012-08-08 07:50:10 +00:00
Julian Seward
fae30e8323
Add a couple of useful examples to the --help text for
...
--soname-synonyms.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12855
2012-08-07 14:46:34 +00:00
Florian Krohm
1f238b89bb
Add prerequisites.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12854
2012-08-06 18:37:17 +00:00
Florian Krohm
f1d7df01e1
Add a testcase for the cu41 insn. Update opcode list, NEWS and bugstatus.
...
#289839 is finally fixed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12851
2012-08-06 00:10:53 +00:00
Julian Seward
7fd108bdb0
Update expected outputs following r12843.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12844
2012-08-05 16:10:55 +00:00
Julian Seward
4a3633e266
Update copyright dates to include 2012.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12843
2012-08-05 15:46:46 +00:00
Florian Krohm
76a9da7830
Add testcases for the cu14 insn. Update opcode table.
...
Part of fixing #289839 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12837
2012-08-05 03:02:43 +00:00
Bart Van Assche
972305fc0c
none/tests/amd64/movbe: Run this test only if the movbe executable has been built
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12827
2012-08-04 05:26:23 +00:00
Florian Krohm
4c4dcca7d8
Fix a cut'n paste error. One byte was uninitialised. Now fixed.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12826
2012-08-04 03:29:22 +00:00
Florian Krohm
61c62a503d
Simplify.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12823
2012-08-03 21:50:11 +00:00
Florian Krohm
c0b36ade5b
Fix testcase. Iterating over an array of invalid insns to test them all
...
does not work, as conversion will stop at the first invalid character.
So... need to loop over them.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12822
2012-08-03 20:28:21 +00:00
Bart Van Assche
a36fc3e178
none/tests/amd64/avx-1: Make it explicit that this test uses the vpclmulqdq instruction
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12821
2012-08-03 19:37:02 +00:00
Florian Krohm
ebc9830bb1
Add testcases for cu12. Update opcode table.
...
Part of fixing #289839 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12820
2012-08-03 18:37:26 +00:00
Philippe Waroquiers
36ca11463d
Remove --vex-iropt-precise-memory-exns, implement --vex-iropt-register-updates
...
* Option --vex-iropt-precise-memory-exns has been removed.
It is replaced by --vex-iropt-register-updates which accepts
3 values : 'unwindregs-at-mem-access' (replacing
--vex-iropt-precise-memory-exns=no), 'allregs-at-mem-access'
(replacing --vex-iropt-precise-memory-exns=yes)
and a new value 'allregs-at-each-insn'.
'allregs-at-each-insn' allows the Valgrind gdbserver to always
show up to date values to GDB.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12809
2012-08-01 22:03:12 +00:00
Julian Seward
63da47e2c2
Add test cases for "VCVT.F32.{S,U}32 S[d], S[d], #frac_bits"
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12808
2012-08-01 22:01:05 +00:00
Philippe Waroquiers
d045b4236a
Implement --redzone-size and --core-redzone-size
...
* For tools replacing the malloc library (e.g. Memcheck, Helgrind, ...),
the option --redzone-size=<number> allows to control the padding
blocks (redzones) added before and after each client allocated block.
Smaller redzones decrease the memory needed by Valgrind. Bigger
redzones increase the chance to detect blocks overrun or underrun.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12807
2012-07-31 22:17:28 +00:00
Florian Krohm
3630d97fcf
Testcases for CU42. Part of fixing bugzilla #289839 .
...
Update opcode table.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12804
2012-07-28 22:20:03 +00:00
Florian Krohm
793d6da89c
Fix error message in testcase
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12801
2012-07-28 20:39:51 +00:00
Bart Van Assche
e1927cde20
none/tests/amd64/Makefile.am: Uses not only AVX instructions but PCLMULQDQ too
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12795
2012-07-28 11:13:47 +00:00
Petar Jovanovic
ae2aec93f0
MIPS specific exp-out for none/tests/async-sigs.
...
MIPS has different signal values, so it has to have its own expected output for
the tests that deal with signal values.
This fixes (false) failure in none/tests/async-sigs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12791
2012-07-27 16:25:32 +00:00
Bart Van Assche
e9a1dc1962
none/tests/amd64/pcmpstr64: Update expected output after r12780
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12788
2012-07-26 06:49:38 +00:00
Florian Krohm
2d5ecc012c
Due to s390's dealings with invalid insns we need to do two things
...
- advance the guest_IA to the next insn after raising the signal
- adjusting the address in a complaint to point to the failing insn
(after guest_IA has been advanced)
Update testcases .exp files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12787
2012-07-26 02:41:31 +00:00
Josef Weidendorfer
d09681ca70
Additions to PCMPxSTRx tests to check fix for bug 303963.
...
Some tests used movdqa triggering a seg fault. Use movdqu instead.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12780
2012-07-25 09:49:26 +00:00
Florian Krohm
58e19c0bd3
Fix testcase and update results.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12779
2012-07-24 20:37:50 +00:00