|
From: Rich C. <rc...@wi...> - 2012-07-21 05:00:56
|
I have a i-core-2-duo where the sse-42 support test passes, but the
test in none/tests/amd64/aes.c does not compile.
This patch extends the sse-42 test to check for aesdec support.
Index: configure.in
===================================================================
--- configure.in (revision 12767)
+++ configure.in (working copy)
@@ -1718,7 +1718,9 @@
__asm__ __volatile__(
"crc32q %%r15,%%r15" : : : "r15" );
__asm__ __volatile__(
- "pblendvb (%rcx), %xmm11"); }
+ "pblendvb (%rcx), %xmm11");
+ __asm__ __volatile__(
+ "aesdec %%xmm2, %%xmm1"); }
while (0)
]])], [
ac_have_as_sse42=yes
>>> before the patch
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../../include -I../../../coregrind -I../../../include -I../../../VEX/pub -DVGA_amd64=1 -DVGO_darwin=1 -DVGP_amd64_darwin=1 -DVGPV_amd64_darwin_vanilla=1 -DVGA_SEC_x86=1 -DVGP_SEC_amd64_darwin=1 -Winline -Wall -Wshadow -g -m64 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT aes.o -MD -MP -MF .deps/aes.Tpo -c -o aes.o aes.c
aes.c: In function <E2><80><98>expand<E2><80><99>:
aes.c:44: warning: comparison is always true due to limited range of data type
/var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccP1DbiQ.s:330:no such instruction: `aesdec %xmm2, %xmm1'
/var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccP1DbiQ.s:404:no such instruction: `aesdeclast %xmm2, %xmm1'
/var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccP1DbiQ.s:478:no such instruction: `aesenc %xmm2, %xmm1'
/var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccP1DbiQ.s:552:no such instruction: `aesenclast %xmm2, %xmm1'
/var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccP1DbiQ.s:619:no such instruction: `aesimc -16(%rbp), %xmm5'
/var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccP1DbiQ.s:691:no such instruction: `aeskeygenassist $1,%xmm2, %xmm1'
/var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccP1DbiQ.s:703:no such instruction: `aeskeygenassist $2,%xmm2, %xmm1'
/var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccP1DbiQ.s:715:no such instruction: `aeskeygenassist $8,%xmm2, %xmm1'
--
Rich Coe rc...@wi...
|
|
From: Julian S. <js...@ac...> - 2012-07-22 11:18:58
|
On Saturday, July 21, 2012, Rich Coe wrote: > I have a i-core-2-duo where the sse-42 support test passes, but the > test in none/tests/amd64/aes.c does not compile. > > This patch extends the sse-42 test to check for aesdec support. Committed, r12272, thanks. J |