Displaying 2 results from an estimated 2 matches for "stack_exec".
Did you mean:
sock_exec
2013 Aug 28
3
[PATCH] x86: AVX instruction emulation fixes
...PU_ymm:
+ if ( cpu_has_avx )
break;
default:
return X86EMUL_UNHANDLEABLE;
@@ -629,6 +641,73 @@ int main(int argc, char **argv)
else
printf("skipped\n");
+ printf("%-40s", "Testing vmovdqu %ymm2,(%ecx)...");
+ if ( stack_exec && cpu_has_avx )
+ {
+ extern const unsigned char vmovdqu_to_mem[];
+
+ asm volatile ( "vpcmpeqb %%xmm2, %%xmm2, %%xmm2\n"
+ ".pushsection .test, \"a\", @progbits\n"
+ "vmovdqu_to_mem: vmovdqu %%...
2011 Nov 30
0
[PATCH 2/4] x86/emulator: add emulation of SIMD FP moves
...++ b/tools/tests/x86_emulator/test_x86_emulator.c
@@ -629,6 +629,60 @@ int main(int argc, char **argv)
else
printf("skipped\n");
+ printf("%-40s", "Testing movsd %xmm5,(%ecx)...");
+ memset(res, 0x77, 64);
+ memset(res + 10, 0x66, 8);
+ if ( stack_exec && cpu_has_sse2 )
+ {
+ extern const unsigned char movsd_to_mem[];
+
+ asm volatile ( "movlpd %0, %%xmm5\n\t"
+ "movhpd %0, %%xmm5\n"
+ ".pushsection .test, \"a\", @progbits\n"
+...