Mark Wielaard
45dc581a53
Fix none/tests/amd64/Makefile.am typo s/AM_CFKAGS/AM_CFLAGS/
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15980
2016-09-23 20:52:30 +00:00
Ivo Raisr
b21c19ffb3
Use proper compiler flags on Solaris for fma4 test.
...
n-i-bz
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15978
2016-09-23 14:10:55 +00:00
Mark Wielaard
c5556b2094
Testcases for fma4 instructions. Bug #369000 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15961
2016-09-19 12:41:38 +00:00
Julian Seward
def5ad1abf
Add test cases for PCMPxSTRx cases 0x62 and 0x72, and reformat the associated
...
switch statements a bit more consistently. Pertains to #353384 and #353727 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15913
2016-07-24 11:41:12 +00:00
Julian Seward
a488a6f093
Add test cases for PCMPxSTRx cases 0x70 and 0x19. Pertains to #359952 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15910
2016-07-20 16:37:09 +00:00
Tom Hughes
5465229553
Add tests for FCOM/FCOMP instructions. BZ#212352.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15779
2016-02-03 10:15:56 +00:00
Florian Krohm
e5b272e28c
Fix a typo in the clobber list.
...
Spotted by Michael Daniels <mdaniels@qnx.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15737
2015-11-24 19:38:16 +00:00
Mark Wielaard
26cbea8712
Bug #278744 cvtps2pd with redundant RexW.
...
Add testcase for VEX svn r3198.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15699
2015-10-12 14:32:03 +00:00
Rhys Kidd
b6efb6f0be
Increase test coverage on OS X, by re-enabling the none/tests/amd64/avx2-1 regression test.
...
n-i-bz
(Unfortunately I don’t have right here the hw support, but build environment works)
$ perl tests/vg_regtest none/tests/amd64/avx2-1
avx2-1: (skipping, prereq failed: test -x avx2-1 && ../../../tests/x86_amd64_features amd64-avx)
== 0 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
On OS X 10.10
Before:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15553
2015-08-15 12:21:42 +00:00
Rhys Kidd
74d7f1cdfa
Preliminary OS X memalign() shim work, although this specific regression test remains guarded due to clang build issues with _randArray.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15552
2015-08-15 11:40:27 +00:00
Rhys Kidd
be875fe3ac
Increase test coverage on OS X, by re-enabling the none/tests/amd64/avx-1 regression tests with a handy memalign() shim.
...
n-i-bz
(Unfortunately I don’t have right here the hw support, but build environment works)
$ perl tests/vg_regtest none/tests/amd64/avx-1
avx-1: (skipping, prereq failed: test -x avx-1 && ../../../tests/x86_amd64_features amd64-avx)
== 0 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
On OS X 10.10
Before:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15550
2015-08-15 11:04:02 +00:00
Rhys Kidd
8a014b4f97
Increase test coverage on OS X, by re-enabling the none/tests/*/movbe regression tests with a handy memalign() shim.
...
n-i-bz
$ perl tests/vg_regtest none/tests/x86/movbe none/tests/amd64/movbe
movbe: valgrind -q ./movbe
movbe: valgrind -q ./movbe
== 2 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
On OS X 10.10
Before:
== 592 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 594 tests, 215 stderr failures, 9 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15549
2015-08-15 10:47:55 +00:00
Rhys Kidd
17aa7a30f6
Plumb through memalign16() rather than having four implementations of the same code. n-i-bz.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15548
2015-08-15 08:55:14 +00:00
Julian Seward
bda73f5b54
do_cmpxchg8b(): fix incorrect inline assembly (wrong register name)
...
and updated expected result. n-i-bz.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15536
2015-08-13 14:46:10 +00:00
Julian Seward
19a7577acd
Add test cases for PCMPxSTRx case 0x18.
...
Pertains to #348574 , vex r3172.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15535
2015-08-13 14:19:48 +00:00
Julian Seward
1172cbc47a
Add test cases for PCMPxSTRx case 0x42.
...
Pertains to #339820 , vex r3171.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15534
2015-08-13 13:47:02 +00:00
Julian Seward
a6af6dabd9
Add test cases for missing AVX VCMPPD/VCMPPS cases.
...
Pertains to vex r3170.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15532
2015-08-13 12:42:28 +00:00
Rhys Kidd
b21fcf35e9
Properly guard none/tests/amd64/avx-1. This resolves one failing regression test on OS X with modern hardware. n-i-bz.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15463
2015-07-31 13:06:14 +00:00
Rhys Kidd
15a0f32113
Complete fix for bz#344416 - Fix make regtest does not work cleanly on OS X (3).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15442
2015-07-23 05:49:13 +00:00
Rhys Kidd
e003dfb3b3
Partial fix for bz#344416 - Fix make regtest does not work cleanly on OS X.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15440
2015-07-23 05:04:36 +00:00
Julian Seward
ac60633d65
Bug 345248 - add support for Solaris OS in valgrind
...
Authors of this port:
Petr Pavlu setup@dagobah.cz
Ivo Raisr ivosh@ivosh.net
Theo Schlossnagle theo@omniti.com
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15426
2015-07-21 14:44:28 +00:00
Rhys Kidd
86b8c2f235
Re-enable functioning none/tests/amd64/bug137714-amd64 on OS X
...
n-i-bz
Before:
== 588 tests, 221 stderr failures, 16 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
After:
== 588 tests, 220 stderr failures, 15 stdout failures, 0 stderrB failures, 0 stdoutB failures, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15280
2015-05-22 16:16:19 +00:00
Rhys Kidd
5c8f850a39
Properly guard none/tests/amd64/*.vgtest on OS X for tests not compiled
...
n-i-bz
Before:
== 595 tests, 228 stderr failures, 23 stdout failures, 0 stderrB failure, 0 stdoutB failure, 30 post failures ==
After:
== 595 tests, 221 stderr failures, 16 stdout failures, 0 stderrB failure, 0 stdoutB failure, 30 post failures ==
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15279
2015-05-22 15:21:31 +00:00
Julian Seward
f7069b81da
Add test cases for AVX-1 conditional vector stores:
...
VMASKMOVP{D,S} xmm/ymm to memory. Pertains to #335785 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14894
2015-01-28 11:49:46 +00:00
Julian Seward
179d4db6dd
Add test cases for VPMASKMOV{D,Q} xmm/ymm to memory.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14893
2015-01-28 11:11:02 +00:00
Florian Krohm
b21985c758
Configury and Makefile tweaks to support compilation with Intel's
...
ICC Compiler. Patch mostly by Gregory Czajkowski <gregczajkowski@yahoo.com >.
Fixes BZ #339542 .
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14674
2014-10-29 13:57:49 +00:00
Carl Love
0689c096e5
This commit is for Bugzilla 334836. The Bugzilla contains patch 3 of 3
...
to add PPC64 LE support. The other two patches can be found in Bugzillas
334384 and 334834. Note, there are no VEX changes in this patch.
PP64 Little Endian test case fixes.
This patch adds new LE and BE expect files where needed. In other
cases, the test was fixed to run correctly on LE and BE using based on
testing to see which platform is being used.
Where practical, the test cases have been changed so that the output
produced for BE and LE will be identical. The test cases that require
a major rewrite to make the output identical for BE and LE simply
had an additional expect file added.
Signed-off-by: Carl Love <carll@us.ibm.com >
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14240
2014-08-07 23:49:27 +00:00
Julian Seward
66a38e23e3
Add test cases for PCMPxSTRx cases 0x0E, 0x34, 0x14, and reformat some
...
of the associated switch statements. Pertains to #326469 , #327639 ,
#328878 respectively.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13986
2014-05-21 14:43:11 +00:00
Mark Wielaard
a07285e393
Add test for MPX instructions and bnd prefix. Bug #333666 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13948
2014-05-09 11:41:46 +00:00
Julian Seward
6199b0550b
Add test cases for out-of-range argument handling for x87 instructions
...
FSIN, FCOS, FSINCOS and FPTAN. Mozilla bug 995564.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13921
2014-04-30 22:51:47 +00:00
Mark Wielaard
bbf509b446
Add testcase for bug 328100 XABORT not implemented (VEX r2800).
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13754
2013-12-10 09:31:18 +00:00
Tom Hughes
9887050b08
Clear direction flag after tests on amd64. BZ#326983.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13709
2013-11-01 10:46:28 +00:00
Julian Seward
f967a860bd
Add test cases for PCMPxSTRx cases 0x30 and 0x40. Pertains to #320998 .
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13654
2013-10-18 10:46:52 +00:00
Julian Seward
52b882283e
Connect up the xacq_xrel test to the build system. Also, make the
...
TSX configure test check for that the assembler can deal with
xacquire and xrelease prefixes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13649
2013-10-16 08:53:07 +00:00
Julian Seward
21e2ef83b2
A minimal test case for the parsing of XACQUIRE and XRELEASE prefixes.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13645
2013-10-15 11:37:16 +00:00
Florian Krohm
a913e218e0
Followup to r13615. Conditional testcases need a prereq line in the
...
.vgtest file. This has sucked before and I keep forgetting about it.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13617
2013-10-04 15:03:55 +00:00
Florian Krohm
9dd4979fd9
Followup to r13614. Forgot to update the .exp file. Now fixed.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13616
2013-10-04 12:00:51 +00:00
Florian Krohm
8435fc4dc3
Add a few feature tests to configure.ac because clang does not
...
understand the following:
- nested functions
- -gstabs option
- loopnel instruction
- addr32 in asm statements
- 'p' constraint in asm statements
Adapt Makefiles accordingly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13615
2013-10-04 11:35:50 +00:00
Florian Krohm
9170b1642b
Remove 4 tests of the pextrw instruction.
...
Those tests were rejected by clang and according to the
analysis below by Tom Hughes do not add anything new.
Analysis:
I'm not 100% sure that clang is right though - the Intel manual
clearly describes that argument as "reg" rather than "r32" which
is why I will have included the 64 bit version in the test. It also says:
"The upper bits of r32 or r64 is zeroed."
and:
"If the destination operand is a general-purpose register, the
default operand size is 64-bits in 64-bit mode."
which basically means that REX.W is implied for this op and there is
no way to encode a 32 bit version when running in 64 bit mode.
So in principle you could encode it as:
44 0f c5 ce 00 pextrw $0x0,%mm6,%r9d
or:
4c 0f c5 ce 00 pextrw $0x0,%mm6,%r9
but in fact gcc assembles both versions to the first form.
Equally you could argue that as REX.W is implied both versions
should disassemble as %r9.
So I think clang is being overly picky, and if it was only going to
accept one version I would argue it should be %r9 not %r9d!
In practical terms dropping the second set of tests doesn't lose us anything though.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13614
2013-10-04 11:29:26 +00:00
Florian Krohm
dfb5c06054
Change some inline assembler so it is no longer rejected by clang
...
as suggested by John Reiser and Greg Parker.
It seems that GCC has a more relaxed attitude about what it accepts
as valid input.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13610
2013-10-03 20:54:52 +00:00
Florian Krohm
392c321bb4
Check whether binutils supports TSX instructions.
...
Guard none/tests/amd64/tm1 accordingly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13587
2013-09-30 16:32:53 +00:00
Julian Seward
2a8d194303
Add a test program of sorts, for XBEGIN and XTEST.
...
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13579
2013-09-27 15:22:50 +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
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
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
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