Files
ftmemsim-valgrind/none/tests/s390x/fpext_warn.c
Florian Krohm 2d935572f5 Update testcase as a followup to VEX r2509.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12955
2012-09-03 17:45:15 +00:00

19 lines
526 B
C

#include <stdio.h>
#include "opcodes.h"
/* Test that emulation warnings appear when the floating point
extension facility is not installed and the opcode specifies
a rounding mode other than 0. */
int
main(void)
{
printf("before\n");
__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");
__asm__ volatile ( CEFBRA(5,0,0,0) : : : "cc", "memory");
printf("after\n");
return 0;
}