From 0a18c815f9567ee8b9f3be6badd68ae5648c467e Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 22 Jan 2013 18:15:47 +0100 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 7 +++++++ .../29_atomics/atomic_flag/test_and_set/explicit-hle.cc | 9 +++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 49bf46e..d60eb9b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2013-01-22 Jakub Jelinek + + * 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 Jonathan Wakely diff --git a/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc b/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc index 916a5e2..a24336d 100644 --- a/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc +++ b/libstdc++-v3/testsuite/29_atomics/atomic_flag/test_and_set/explicit-hle.cc @@ -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 -- 2.7.4