summaryrefslogtreecommitdiff
path: root/cachegrind/tests
diff options
context:
space:
mode:
authorthughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9>2004-03-27 18:02:37 +0000
committerthughes <thughes@a5019735-40e9-0310-863c-91ae7b9d1cf9>2004-03-27 18:02:37 +0000
commitb76f0dcfccd0b78beb8c1fc0dbfb59a7f6173031 (patch)
treebf146b4ec7b8075e50f23b446482a1b39a0a9d12 /cachegrind/tests
parent149f699002bc2282267e648d0a44f49bfe288065 (diff)
Extended instruction test system to handle x87 floating point instructions
and started working on adding tests for the x87 instruction set. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2338 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'cachegrind/tests')
-rw-r--r--cachegrind/tests/Makefile.am2
-rw-r--r--cachegrind/tests/insn_fpu.stderr.exp0
-rw-r--r--cachegrind/tests/insn_fpu.stdout.exp183
-rw-r--r--cachegrind/tests/insn_fpu.vgtest3
4 files changed, 187 insertions, 1 deletions
diff --git a/cachegrind/tests/Makefile.am b/cachegrind/tests/Makefile.am
index 1416a960..cb3115d7 100644
--- a/cachegrind/tests/Makefile.am
+++ b/cachegrind/tests/Makefile.am
@@ -1,6 +1,6 @@
noinst_SCRIPTS = filter_stderr filter_cachesim_discards
-INSN_TESTS=insn_basic insn_cmov insn_mmx insn_mmxext insn_sse insn_sse2
+INSN_TESTS=insn_basic insn_fpu insn_cmov insn_mmx insn_mmxext insn_sse insn_sse2
EXTRA_DIST = $(noinst_SCRIPTS) \
chdir.vgtest chdir.stderr.exp \
diff --git a/cachegrind/tests/insn_fpu.stderr.exp b/cachegrind/tests/insn_fpu.stderr.exp
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/cachegrind/tests/insn_fpu.stderr.exp
diff --git a/cachegrind/tests/insn_fpu.stdout.exp b/cachegrind/tests/insn_fpu.stdout.exp
new file mode 100644
index 00000000..cb958af0
--- /dev/null
+++ b/cachegrind/tests/insn_fpu.stdout.exp
@@ -0,0 +1,183 @@
+fabs_1 ... ok
+fabs_2 ... ok
+fabs_3 ... ok
+fabs_4 ... ok
+fadds_1 ... ok
+fadds_2 ... ok
+fadds_3 ... ok
+fadds_4 ... ok
+faddl_1 ... ok
+faddl_2 ... ok
+faddl_3 ... ok
+faddl_4 ... ok
+fadd_1 ... ok
+fadd_2 ... ok
+fadd_3 ... ok
+fadd_4 ... ok
+fadd_5 ... ok
+fadd_6 ... ok
+fadd_7 ... ok
+fadd_8 ... ok
+fadd_9 ... ok
+fadd_10 ... ok
+fadd_11 ... ok
+fadd_12 ... ok
+fadd_13 ... ok
+fadd_14 ... ok
+fadd_15 ... ok
+fadd_16 ... ok
+faddp_1 ... ok
+faddp_2 ... ok
+faddp_3 ... ok
+faddp_4 ... ok
+faddp_5 ... ok
+faddp_6 ... ok
+faddp_7 ... ok
+faddp_8 ... ok
+faddp_9 ... ok
+faddp_10 ... ok
+faddp_11 ... ok
+faddp_12 ... ok
+faddp_13 ... ok
+faddp_14 ... ok
+faddp_15 ... ok
+faddp_16 ... ok
+fiadds_1 ... ok
+fiadds_2 ... ok
+fiadds_3 ... ok
+fiadds_4 ... ok
+fiadds_5 ... ok
+fiadds_6 ... ok
+fiadds_7 ... ok
+fiadds_8 ... ok
+fiaddl_1 ... ok
+fiaddl_2 ... ok
+fiaddl_3 ... ok
+fiaddl_4 ... ok
+fiaddl_5 ... ok
+fiaddl_6 ... ok
+fiaddl_7 ... ok
+fiaddl_8 ... ok
+fchs_1 ... ok
+fchs_2 ... ok
+fchs_3 ... ok
+fchs_4 ... ok
+fld1_1 ... ok
+fldl2t_1 ... ok
+fldl2e_1 ... ok
+fldpi_1 ... ok
+fldlg2_1 ... ok
+fldln2_1 ... ok
+fldz_1 ... ok
+fsubs_1 ... ok
+fsubs_2 ... ok
+fsubs_3 ... ok
+fsubs_4 ... ok
+fsubl_1 ... ok
+fsubl_2 ... ok
+fsubl_3 ... ok
+fsubl_4 ... ok
+fsub_1 ... ok
+fsub_2 ... ok
+fsub_3 ... ok
+fsub_4 ... ok
+fsub_5 ... ok
+fsub_6 ... ok
+fsub_7 ... ok
+fsub_8 ... ok
+fsub_9 ... ok
+fsub_10 ... ok
+fsub_11 ... ok
+fsub_12 ... ok
+fsub_13 ... ok
+fsub_14 ... ok
+fsub_15 ... ok
+fsub_16 ... ok
+fsubp_1 ... ok
+fsubp_2 ... ok
+fsubp_3 ... ok
+fsubp_4 ... ok
+fsubp_5 ... ok
+fsubp_6 ... ok
+fsubp_7 ... ok
+fsubp_8 ... ok
+fsubp_9 ... ok
+fsubp_10 ... ok
+fsubp_11 ... ok
+fsubp_12 ... ok
+fsubp_13 ... ok
+fsubp_14 ... ok
+fsubp_15 ... ok
+fsubp_16 ... ok
+fisubs_1 ... ok
+fisubs_2 ... ok
+fisubs_3 ... ok
+fisubs_4 ... ok
+fisubs_5 ... ok
+fisubs_6 ... ok
+fisubs_7 ... ok
+fisubs_8 ... ok
+fisubl_1 ... ok
+fisubl_2 ... ok
+fisubl_3 ... ok
+fisubl_4 ... ok
+fisubl_5 ... ok
+fisubl_6 ... ok
+fisubl_7 ... ok
+fisubl_8 ... ok
+fsubrs_1 ... ok
+fsubrs_2 ... ok
+fsubrs_3 ... ok
+fsubrs_4 ... ok
+fsubrl_1 ... ok
+fsubrl_2 ... ok
+fsubrl_3 ... ok
+fsubrl_4 ... ok
+fsubr_1 ... ok
+fsubr_2 ... ok
+fsubr_3 ... ok
+fsubr_4 ... ok
+fsubr_5 ... ok
+fsubr_6 ... ok
+fsubr_7 ... ok
+fsubr_8 ... ok
+fsubr_9 ... ok
+fsubr_10 ... ok
+fsubr_11 ... ok
+fsubr_12 ... ok
+fsubr_13 ... ok
+fsubr_14 ... ok
+fsubr_15 ... ok
+fsubr_16 ... ok
+fsubrp_1 ... ok
+fsubrp_2 ... ok
+fsubrp_3 ... ok
+fsubrp_4 ... ok
+fsubrp_5 ... ok
+fsubrp_6 ... ok
+fsubrp_7 ... ok
+fsubrp_8 ... ok
+fsubrp_9 ... ok
+fsubrp_10 ... ok
+fsubrp_11 ... ok
+fsubrp_12 ... ok
+fsubrp_13 ... ok
+fsubrp_14 ... ok
+fsubrp_15 ... ok
+fsubrp_16 ... ok
+fisubrs_1 ... ok
+fisubrs_2 ... ok
+fisubrs_3 ... ok
+fisubrs_4 ... ok
+fisubrs_5 ... ok
+fisubrs_6 ... ok
+fisubrs_7 ... ok
+fisubrs_8 ... ok
+fisubrl_1 ... ok
+fisubrl_2 ... ok
+fisubrl_3 ... ok
+fisubrl_4 ... ok
+fisubrl_5 ... ok
+fisubrl_6 ... ok
+fisubrl_7 ... ok
+fisubrl_8 ... ok
diff --git a/cachegrind/tests/insn_fpu.vgtest b/cachegrind/tests/insn_fpu.vgtest
new file mode 100644
index 00000000..1b9546f5
--- /dev/null
+++ b/cachegrind/tests/insn_fpu.vgtest
@@ -0,0 +1,3 @@
+vgopts: -q
+prog: ../../none/tests/insn_fpu
+cpu_test: fpu