summaryrefslogtreecommitdiff
path: root/testsuite/instruction
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2005-12-04 18:21:10 +0000
committerDavid Schleef <ds@schleef.org>2005-12-04 18:21:10 +0000
commit7fca61c41fb9fe5d118a2d2b7fb2c01b90670ec6 (patch)
tree9edbf1afa63df0233c43c9c1b71936f976b850ef /testsuite/instruction
parentb9014f81bbe7a81848e74c43ebc4f601b8826802 (diff)
downloadliboil-7fca61c41fb9fe5d118a2d2b7fb2c01b90670ec6.tar.gz
* doc/Makefile.am:
Add a sync target to encourage me to upload docs. * examples/Makefile.am: * examples/oil-graph.c: (test), (main): New program to print out time v. N results easily graphable. * liboil/liboilfunction.c: (oil_class_optimize): * liboil/liboiltest.c: (oil_test_check_function), (oil_test_check_impl): * liboil/liboiltest.h: Add ave/std members to OilProfile and use them. * liboil/fb/fbmmx.c: This requires MMXEXT. * testsuite/instruction/check-instructions.pl: Fix regexp. * testsuite/instruction/list-impls.c: (main): Architecture test switched to HAVE_GCC_I386.
Diffstat (limited to 'testsuite/instruction')
-rwxr-xr-xtestsuite/instruction/check-instructions.pl2
-rw-r--r--testsuite/instruction/list-impls.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/instruction/check-instructions.pl b/testsuite/instruction/check-instructions.pl
index 0b33c53..b12969a 100755
--- a/testsuite/instruction/check-instructions.pl
+++ b/testsuite/instruction/check-instructions.pl
@@ -512,7 +512,7 @@ $error = 0;
@insns = ();
while($_=shift @output){
chomp;
- if(m/^0[0-9a-fA-F]+\s<[\.\w]+>:$/){
+ if(m/^0[0-9a-fA-F]+\s<[\.\w@]+>:$/){
$f = $_;
$f =~ s/^0[0-9a-fA-F]+\s<([\.\w]+)>:$/$1/;
diff --git a/testsuite/instruction/list-impls.c b/testsuite/instruction/list-impls.c
index 905f64b..a8970da 100644
--- a/testsuite/instruction/list-impls.c
+++ b/testsuite/instruction/list-impls.c
@@ -54,7 +54,7 @@ main (int argc, char *argv[])
for (impl = klass->first_impl; impl; impl = impl->next) {
printf("%s:", impl->name);
-#ifdef HAVE_CPU_I386
+#ifdef HAVE_GCC_I386
if (impl->flags & OIL_IMPL_FLAG_3DNOW)
printf(" 3dnow");
if (impl->flags & OIL_IMPL_FLAG_3DNOWEXT)
@@ -70,7 +70,7 @@ main (int argc, char *argv[])
if (impl->flags & OIL_IMPL_FLAG_SSE2)
printf(" sse2");
#endif
-#ifdef HAVE_CPU_PPC
+#ifdef HAVE_GCC_PPC
if (impl->flags & OIL_IMPL_FLAG_ALTIVEC)
printf(" altivec");
#endif