Add 'aesdec' to the set of insns checked for assembler level SSE4.2
support (Rich Coe) and tidy up a couple of other bits of assembly by
giving them trashed-register lists.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12772 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/configure.in b/configure.in
index c7878c7..cefb428 100644
--- a/configure.in
+++ b/configure.in
@@ -1695,7 +1695,7 @@
 
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
   do { 		 
-      __asm__ __volatile__("lzcnt %rax,%rax");
+      __asm__ __volatile__("lzcnt %%rax,%%rax" : : : "rax");
   } while (0)
 ]])], [
   ac_have_as_lzcnt=yes
@@ -1718,7 +1718,9 @@
    __asm__ __volatile__(
       "crc32q %%r15,%%r15" : : : "r15" );
    __asm__ __volatile__(
-      "pblendvb (%rcx), %xmm11"); }
+      "pblendvb (%%rcx), %%xmm11" : : : "memory", "xmm11"); 
+   __asm__ __volatile__(
+      "aesdec %%xmm2, %%xmm1" : : : "xmm2", "xmm1"); }
   while (0)
 ]])], [
 ac_have_as_sse42=yes
@@ -1762,7 +1764,7 @@
 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
   do { long long int x; 
    __asm__ __volatile__(
-      "movbe (%%rsp), %%r15" : : : "r15" ); }
+      "movbe (%%rsp), %%r15" : : : "memory", "r15" ); }
   while (0)
 ]])], [
 ac_have_as_movbe=yes