|
From: <sv...@va...> - 2012-07-22 11:10:17
|
sewardj 2012-07-22 12:10:08 +0100 (Sun, 22 Jul 2012)
New Revision: 12772
Log:
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.
Modified files:
trunk/configure.in
Modified: trunk/configure.in (+5 -3)
===================================================================
--- trunk/configure.in 2012-07-21 18:42:54 +01:00 (rev 12771)
+++ trunk/configure.in 2012-07-22 12:10:08 +01:00 (rev 12772)
@@ -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
|