|
From: <sv...@va...> - 2015-02-24 18:11:08
|
Author: florian
Date: Tue Feb 24 18:11:01 2015
New Revision: 14962
Log:
Add a comment explaining why there are only 3 emulation warnings
and not 4 as one would expect.
Update the .exp file to show correct line numbers.
Modified:
trunk/none/tests/s390x/fpext_warn.c
trunk/none/tests/s390x/fpext_warn.stderr.exp
Modified: trunk/none/tests/s390x/fpext_warn.c
==============================================================================
--- trunk/none/tests/s390x/fpext_warn.c (original)
+++ trunk/none/tests/s390x/fpext_warn.c Tue Feb 24 18:11:01 2015
@@ -11,6 +11,10 @@
__asm__ volatile ( CEGBRA(1,0,0,0) : : : "cc", "memory");
__asm__ volatile ( CEFBRA(3,0,0,0) : : : "cc", "memory");
__asm__ volatile ( CDGBRA(4,0,0,0) : : : "cc", "memory");
+
+ /* Note: an emulation warning is expected for the following
+ insn but none is given. The reason is that at most 3 warnings
+ of a given kind will be issued - and we already had three. */
__asm__ volatile ( CEFBRA(5,0,0,0) : : : "cc", "memory");
printf("after\n");
Modified: trunk/none/tests/s390x/fpext_warn.stderr.exp
==============================================================================
--- trunk/none/tests/s390x/fpext_warn.stderr.exp (original)
+++ trunk/none/tests/s390x/fpext_warn.stderr.exp Tue Feb 24 18:11:01 2015
@@ -4,17 +4,17 @@
feature requires the floating point extension facility
which is not available on this host. Continuing using
the rounding mode from FPC. Results may differ!
- at 0x........: main (fpext_warn.c:10)
+ at 0x........: main (fpext_warn.c:11)
Emulation warning: unsupported action:
The specified rounding mode cannot be supported. That
feature requires the floating point extension facility
which is not available on this host. Continuing using
the rounding mode from FPC. Results may differ!
- at 0x........: main (fpext_warn.c:10)
+ at 0x........: main (fpext_warn.c:12)
Emulation warning: unsupported action:
The specified rounding mode cannot be supported. That
feature requires the floating point extension facility
which is not available on this host. Continuing using
the rounding mode from FPC. Results may differ!
- at 0x........: main (fpext_warn.c:10)
+ at 0x........: main (fpext_warn.c:13)
|