1 #include <stdio.h> 2 #include "opcodes.h" 3 4 /* Test that emulation warnings appear when the floating point 5 extension facility is not installed and the opcode specifies 6 a rounding mode other than 0. */ 7 int 8 main(void) 9 { 10 printf("before\n"); 11 __asm__ volatile ( CEGBRA(1,0,0,0) : : : "cc", "memory"); 12 __asm__ volatile ( CEFBRA(3,0,0,0) : : : "cc", "memory"); 13 __asm__ volatile ( CDGBRA(4,0,0,0) : : : "cc", "memory"); 14 __asm__ volatile ( CEFBRA(5,0,0,0) : : : "cc", "memory"); 15 16 printf("after\n"); 17 return 0; 18 } 19