]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add testcase for bug 328100 XABORT not implemented (VEX r2800).
authorMark Wielaard <mark@klomp.org>
Tue, 10 Dec 2013 09:31:18 +0000 (09:31 +0000)
committerMark Wielaard <mark@klomp.org>
Tue, 10 Dec 2013 09:31:18 +0000 (09:31 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13754

none/tests/amd64/tm1.c
none/tests/amd64/tm1.stdout.exp

index 86a31b396d578c59f6301e2fbfe84792a6c5da0d..558bf90c1ea224388ab4c60cd5206762a370c71b 100644 (file)
@@ -58,5 +58,9 @@ int main ( void )
      : : "r"(&n) : "cc", "memory"
   );
   */
+
+  __asm__ __volatile__( "xabort $0x1" );
+  printf("xabort: outside transaction is nop.\n");
+
   return 0;
 }
index 14f4c02d1f90fe0a9b336b44cc2b50e2e7f1fbf3..165966a8da523710c16494a944bca88bfa29cec4 100644 (file)
@@ -1,2 +1,3 @@
 transactionally_apply: ok = 0 (expected 0)
 xtest: rflags.Z = 1 (expected 1)
+xabort: outside transaction is nop.