explicit-hle.cc: Tightten scan-assembler-times regexps...

* testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
	Tightten scan-assembler-times regexps, add dg-additional-options for
	ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
	dg-options.

From-SVN: r195383
This commit is contained in:
Jakub Jelinek 2013-01-22 18:15:47 +01:00 committed by Jakub Jelinek
parent 502498d5b3
commit 0a18c815f9
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2013-01-22 Jakub Jelinek <jakub@redhat.com>
* testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc:
Tightten scan-assembler-times regexps, add dg-additional-options for
ia32, add -g0 -fno-exceptions -fno-asynchronous-unwind-tables to
dg-options.
2013-01-12 Andi Kleen <ak@linux.intel.com>
Jonathan Wakely <jwakely.gcc@gmail.com>

View File

@ -1,9 +1,10 @@
// { dg-options "-std=gnu++0x" }
// { dg-do compile { target i?86-*-* x86_64-*-* } }
// { dg-final { scan-assembler-times "\(xacquire\|\.byte.*0xf2\)" 14 } }
// { dg-final { scan-assembler-times "\(xrelease\|\.byte.*0xf3\)" 14 } }
// { dg-options "-std=gnu++0x -g0 -fno-exceptions -fno-asynchronous-unwind-tables" }
// { dg-options "-std=gnu++0x -g0 -fno-exceptions -fno-asynchronous-unwind-tables -march=i486" { target ia32 } }
// { dg-final { scan-assembler-times "xacquire\|\.byte\[^\n\r]*0xf2" 14 } }
// { dg-final { scan-assembler-times "xrelease\|\.byte\[^\n\r]*0xf3" 14 } }
// Copyright (C) 2008, 2009, 2013 Free Software Foundation, Inc.
// Copyright (C) 2008-2013 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the