Commit Graph

726 Commits

Author SHA1 Message Date
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
Florian Krohm
068a951cf7 Update expected results.
This is the companion patch to VEX r2444 which backs out the special
handling for the 00 opcode.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12776
2012-07-23 18:05:52 +00:00
Florian Krohm
da2bfe57dc Add testcases for CU24. Part of fixing #289839.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12771
2012-07-21 17:42:54 +00:00
Florian Krohm
21c67106a6 Add testcases for CU21. Update opcode table.
WRT the memcheck test: the good news is we get all the complaints
we want. The bad news is:
- the line numbers from within do_cu21 are off
- there are 2 complaints when attempting to convert from
  an uninitialised input buffer instead of one. One of them has a 
  completely bogus line number.

Possibly due to bad debug info?  Let's see what happens on machines
with more recent GCCs. 


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12765
2012-07-20 00:17:16 +00:00
Florian Krohm
c57d56c01b Add macros for "convert unicode" insns.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12764
2012-07-19 23:29:06 +00:00
Petar Jovanovic
27fdf23181 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
2012-07-16 14:07:47 +00:00
Julian Seward
57c1e52b2d Add tests for MOVBE -- an Intel-Atom-only instruction
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12750
2012-07-16 08:23:26 +00:00
Julian Seward
b3d96945ad Add expected outputs for VCMPNGESS. Should have been included in r12745.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12748
2012-07-14 19:47:32 +00:00
Julian Seward
3823586a6f Add test case for VCMPNGESS.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12745
2012-07-14 14:31:44 +00:00
Julian Seward
73bed921ca Add tests for SMMUL{R}, both ARM and Thumb encodings.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12733
2012-07-11 16:58:59 +00:00
Julian Seward
e08776c783 RM: Implement QADD and QSUB (valgrind side fixes). Fixes #286917.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12727
2012-07-11 13:20:58 +00:00
Bart Van Assche
e744067f88 none/tests/ifunc: Only run this test if the "ifunc" executable has been built
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12722
2012-07-07 06:13:55 +00:00
Philippe Waroquiers
831cddf0a1 fix 303127 Power test suite fixes for frsqrte, vrefp, and vrsqrtefp instructions
The frsqrte and vrefp instructions produce an approximate result.
According to the ISA document for the POWER processor, the result will
vary in its precision for different processor implementations.  This patch
fixes the masks to be applied to the results to remove the variability
in the results.  The expected output files are also updated to reflect the
change in the result given the new masking of the result.

patch from Carl Love <cel@us.ibm.com>



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12720
2012-07-06 22:52:09 +00:00
Philippe Waroquiers
2254b8ab60 fix 303116 - Add support for the POWER instruction popcntb (Valgrind side)
patch from carll@us.ibm.com


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12719
2012-07-06 21:59:03 +00:00
Philippe Waroquiers
4160fb96ff fix 302918 Enable testing of the vmaddfp and vnsubfp instructions in the testsuite
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12718
2012-07-06 21:42:14 +00:00
Florian Krohm
1a6f7a0371 Add testcase from bugzilla #301204.
Testcase by Chantry Xavier (shiningxc@gmail.com).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12715
2012-07-05 21:21:37 +00:00
Florian Krohm
c01fe34536 Add new .exp file to EXTRA_DIST
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12706
2012-07-03 20:45:00 +00:00
Florian Krohm
bd406e6073 Yet another exp file for dash (0.5.7-2ubuntu2).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12705
2012-07-03 18:43:40 +00:00
Florian Krohm
a9d7ff4340 Update exp file (should have been part of r12701).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12703
2012-07-03 13:58:59 +00:00
Julian Seward
430d9f537a Finalise the expected output.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12675
2012-06-25 07:55:53 +00:00
Julian Seward
9fa38b2fce Improve testing of AVX FP comparisons.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12674
2012-06-25 07:52:47 +00:00
Julian Seward
9cdc3535d5 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12672
2012-06-24 15:11:48 +00:00
Julian Seward
f34f860376 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12671
2012-06-24 14:58:08 +00:00
Julian Seward
5a5f0707c2 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12670
2012-06-24 14:27:06 +00:00
Julian Seward
abdffdd424 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12669
2012-06-24 14:00:56 +00:00
Julian Seward
5f15bb1f11 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12668
2012-06-24 13:44:35 +00:00
Julian Seward
5270b0c1aa Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12667
2012-06-24 13:28:04 +00:00
Julian Seward
54a27a479a Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12666
2012-06-24 11:04:08 +00:00
Julian Seward
78935b2a3a Allow each test to be run multiple times (default is 3), rather than
just once.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12665
2012-06-24 10:30:53 +00:00
Julian Seward
03c59c3191 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12664
2012-06-24 09:10:38 +00:00
Bart Van Assche
8235b63124 Fix compiler warnings for ppc test cases. Patch from Carl Love (carll@us.ibm.com). See also #302205.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12663
2012-06-23 11:04:01 +00:00
Petar Jovanovic
d69863ecfe 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
2012-06-22 13:44:04 +00:00
Julian Seward
c26d658560 Update these for Linaro's pre-release build of Ubuntu 12.04, with
Linaro gcc 4.6.3, running on an A9.  Not sure why these need to be
updated, but they results are same as native on said platform, so am
not worried.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12660
2012-06-22 09:34:58 +00:00
Julian Seward
21ddb56ea2 Add test cases for UHADD16.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12659
2012-06-22 09:28:58 +00:00
Julian Seward
f8be24cd53 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12657
2012-06-20 11:46:42 +00:00
Julian Seward
dbb4ad6c0f Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12656
2012-06-20 10:21:22 +00:00
Julian Seward
00b6562e77 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12654
2012-06-18 23:17:46 +00:00
Julian Seward
c751f921d4 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12653
2012-06-18 22:10:03 +00:00
Julian Seward
77766b2f17 Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12652
2012-06-18 16:40:05 +00:00
Julian Seward
d5734af62d Update.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12640
2012-06-15 15:48:24 +00:00