Commit Graph

613 Commits

Author SHA1 Message Date
Julian Seward
b43eec1219 Documentation update for 3.6.0 (not including NEWS).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11440
2010-10-13 21:47:29 +00:00
Julian Seward
1375448f10 Make the --prefix-to-strip=... command-line option added in r11312
behave more like the original proposal in #245535.  This makes it
more flexible and general.  Also rename it.

* new name is --fullpath-after=

* allow multiple instances of --fullpath-after=

* don't require the specified strings to be prefixes, only substrings

But retain the elegant backwards-compatibility trick in Bart's r11312
commit: if --fullpath-after= is not specified at all, then behave
exactly as before.

Fixes #245535.  A mixture of patches from Bart Van Assche
(bart.vanassche@gmail.com), Alexander Potapenko (glider@google.com),
and me (integration and documentation).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11430
2010-10-12 00:44:05 +00:00
Julian Seward
9decf216bf Add tests for NOP cases.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11427
2010-10-11 18:55:24 +00:00
Julian Seward
d8c8293925 Improve NEON instruction set tests, so as to run tests with
different data in high and low d-register halves.
(Dmitry Zhurikhin, zhur@ispras.ru)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11426
2010-10-11 17:41:46 +00:00
Bart Van Assche
6888d60d53 none/tests/ppc*/jm-insns.c: Minor simplification.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11425
2010-10-11 07:04:07 +00:00
Bart Van Assche
e6ad90d0da ppc/jm-insns.c: Use proper integer types.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11401
2010-10-06 16:13:17 +00:00
Julian Seward
7fe3927ff5 Test cases for amd64 PCLMULDQ (Emmanuel Thome, Emmanuel.Thome@gmail.com).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11389
2010-09-28 19:59:47 +00:00
Julian Seward
552292d206 Add test cases for CMPXCHG reg, reg on amd64. (Vince Weaver,
vince@csl.cornell.edu).  See #246311.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11386
2010-09-28 14:58:03 +00:00
Julian Seward
5725aecb7a Add test cases for amd64 ADC Iv, eAX and SBB Iv, eAX (Jakub Jelinek,
jakub@redhat.com).  See #211410.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11385
2010-09-28 14:39:39 +00:00
Julian Seward
b132b8b282 Add tests for all encodings of REV and REV16 in both ARM and Thumb mode.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11381
2010-09-26 00:51:12 +00:00
Julian Seward
d1853b294d Add tests for ORN (immediate) and ORN (register).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11380
2010-09-25 22:07:01 +00:00
Julian Seward
82792e19c7 Test for RBIT in ARM mode.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11379
2010-09-24 23:51:42 +00:00
Julian Seward
9258157b08 Add VFP test cases, as per bug 244493 comment 1. Minorly cleaned up
version of a patch by (Dmitry Zhurikhin, zhur@ispras.ru)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11374
2010-09-23 01:26:06 +00:00
Julian Seward
0bbcbaab63 Add more test cases for {U,S}{ADD,SUB}16.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11372
2010-09-22 01:00:06 +00:00
Julian Seward
f63ccaefa1 Add test cases for SSUB8 and UHADD8.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11370
2010-09-21 09:05:20 +00:00
Julian Seward
1701d0550d Add tests for new insns in vex r2033 (SADD16, SSUB16, SASX, SMLAWB, SMLAWT)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11369
2010-09-20 22:54:25 +00:00
Bart Van Assche
3dac272dff Made power6_bcmp testcases pass - patch from Maynard Johnson. Closes #250777.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11359
2010-09-18 08:10:28 +00:00
Bart Van Assche
235c2a8df3 PowerPC, Altivec: avoid using typedefs in combination with the vector keyword.
Patch by Maynard Johnson (see also #247526).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11358
2010-09-14 15:33:00 +00:00
Bart Van Assche
e8063b7b3f Added configure test that checks whether the assembler supports the SSE4a instruction lzcnt.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11357
2010-09-14 10:53:57 +00:00
Julian Seward
73edb48d85 Add missing (empty) stdout.exp files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11350
2010-09-10 13:56:53 +00:00
Julian Seward
f3758af494 Add tests for RBIT (bit-reverse) instruction (Thumb only).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11344
2010-09-08 08:46:15 +00:00
Julian Seward
9287d802b4 Add tests for new PowerISA_2.05 instructions available on Power6 CPUs.
(Maynard Johnson, maynardj@us.ibm.com and Pete Eberlein, eberlein@us.ibm.com)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11338
2010-09-03 23:49:33 +00:00
Julian Seward
0e2859069e Followup to r11333: rename HAVE_ALTIVEC back to HAS_ALTIVEC, since the
symbol is used in more places than those addressed by r11333.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11335
2010-09-03 14:36:50 +00:00
Julian Seward
d48f01beea Un-break feature detection for Altivec, so that the Altivec tests
get built properly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11333
2010-09-03 14:02:22 +00:00
Bart Van Assche
35eece7dd5 Added command-line option --prefix-to-strip=... Closes #245535.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11312
2010-08-31 15:18:32 +00:00
Julian Seward
0d2ba7f37b Improved test cases for Neon VLDn/VSTn instructions.
(Kirill Batuzov <batuzovk@ispras.ru>)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11309
2010-08-31 09:47:25 +00:00
Julian Seward
0349add9cf Add test cases for v6 media instructions in both ARM and Thumb mode.
(Donna Robinson, donna@valgrind.org).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11303
2010-08-29 12:35:37 +00:00
Julian Seward
9b9a112a99 Add tests for all {ARM,Thumb} x {integer,NEON} instructions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11286
2010-08-22 18:23:29 +00:00
Julian Seward
573dc1f1fc Merge from branches/THUMB: test programs for NEON and Thumb.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11285
2010-08-22 12:24:47 +00:00
Julian Seward
ebe90cdda2 Add a test which checks the ISTRI-vs-ESTRI-vs-ISTRM-vs-ESTRM
aspects of PCMP{I,E}STR{I,M}.  Doesn't check the actual arithmetic
very much -- that's done by pcmpstr64.c.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11267
2010-08-17 22:43:21 +00:00
Julian Seward
f3f9b8848a Add tests for PINSRB and PTEST.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11266
2010-08-17 22:40:47 +00:00
Julian Seward
47b359dd3e Fix strict-aliasing violations; + minor futzing.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11265
2010-08-17 22:39:46 +00:00
Julian Seward
c529c2c43e Majorly improve and generalise the core arithmetic routines.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11262
2010-08-17 00:19:25 +00:00
Julian Seward
366f1bd8be Add a test program for PCMPISTRI on amd64 (not yet hooked up).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11250
2010-08-06 08:10:45 +00:00
Julian Seward
8c51c94c5c Partially connect up the LZCNT tests. What remains to be done is to
make their building conditional on whether the assembler understands
'lzcnt', which is a configure time test.  (Probably simpler to do a
single test for SSE4.1, 4.2 and 4a support as that will soon be
required anyway.)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11246
2010-07-30 15:11:53 +00:00
Julian Seward
c97c366f10 Test cases for LZCNT instruction support. Not wired up yet.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11242
2010-07-29 15:55:09 +00:00
Julian Seward
302aeb78db Update expected output for Ubuntu 10.04.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11236
2010-07-29 07:03:05 +00:00
Julian Seward
0dfb413300 Update expected outputs following vex r1992.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11235
2010-07-29 07:02:18 +00:00
Nicholas Nethercote
11f94ef626 Make error messages at start-up more consistent. Every line of such
messages now begin with "valgrind: ", and they're more often printed before
the preamble.  This required introducing a new message kind, Vg_FailMsg, and
functions VG_(fmsg) and VG_(fmsg_bad_option), and removing
VG_(err_bad_option).

Where we used to have horrible output like this:

    [ocean:~/grind/ws2] vg5 --tool=massif --threshold=101 date
    ==31877== Massif, a heap profiler
    ==31877== Copyright (C) 2003-2010, and GNU GPL'd, by Nicholas Nethercote
    ==31877== Using Valgrind-3.6.0.SVN and LibVEX; rerun with -h for copyright info
    ==31877== Command: date
    ==31877== 
    ==31877== --threshold must be between 0.0 and 100.0
    valgrind: Bad option '--threshold'; aborting.
    valgrind: Use --help for more information.

We now have nice output like this:

    [ocean:~/grind/ws2] vg2 --tool=massif --threshold=101 date
    valgrind: Bad option: --threshold=101
    valgrind: --threshold must be between 0.0 and 100.0
    valgrind: Use --help for more information or consult the user manual.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11209
2010-07-06 04:05:23 +00:00
Nicholas Nethercote
6fd0eb7b07 Merged the MACOSX106 branch to the trunk. Merge command:
svn merge -r11143:HEAD svn://svn.valgrind.org/valgrind/branches/MACOSX106

There were some easy-to-resolve conflicts.

Then I had to fix up coregrind/link_tool_exe*.in -- those files had been
added independently on both the trunk and the branch, AFAICT.  I just
overwrote the trunk versions with the branch versions.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11194
2010-07-01 00:20:20 +00:00
Julian Seward
bf4960d9de Add tests for ROUNDSS and ROUNDSD -- partial coverage, for the cases
where the rounding mode is encoded in the instruction itself.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11190
2010-06-28 08:15:48 +00:00
Julian Seward
1ce6a7eda5 Valgrind-side changes needed to go with vex r1984 (Implement SSE4
insns: CMPGTQ PMAXUD PMINUD PMAXSB PMINSB PMULLD)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11181
2010-06-18 08:18:38 +00:00
Julian Seward
efded08326 Add a test program for SSE4 instructions. Currently not integrated
into the build/regtest system.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11177
2010-06-15 08:16:00 +00:00
Julian Seward
05124264b0 Remove link_tool_exe.c and replace it with perl scripts that do the
same thing.  A .c file doesn't work for cross compilation.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11174
2010-06-13 22:13:58 +00:00
Julian Seward
c46347280b Add a new program (link_tool_exe.c) and use this to link the tool
executables.  Gets rid of the linker script kludgery and uniformly
uses -Ttext=0x38000000 (or whatever) on Linux, so as to accomodate
both traditional ld and gold.  Should fix #193413 although I have
been unable to test it.  Using a whole new program seems like
overkill, but this is infrastructure to support static linking of
the tool executables on MacOS too.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11141
2010-06-02 00:31:34 +00:00
Julian Seward
06ee4f712b Add missing backslash.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11131
2010-05-14 11:18:52 +00:00
Julian Seward
06b158b13b Add test cases for XADD reg,reg. (Nicolas Sauzede, nicolas.sauzede@st.com).
See #195662.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11127
2010-05-10 20:53:28 +00:00
Julian Seward
bbf4d274fd Enable testing of FISTS and FISTPS on amd64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11126
2010-05-10 20:06:08 +00:00
Julian Seward
2e6b7655d1 New flag --require-text-symbol=:sopatt:fnpatt, to be used to check
that specified shared objects contain specified symbols.  Along with a
couple of regtests that unfortunately will fail on MacOSX.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11125
2010-05-09 22:30:43 +00:00
Julian Seward
9b0574dff8 Update copyright dates to 2010.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11121
2010-05-03 21:37:12 +00:00