Remove warning caused by D demangle testcase
[valgrind.git] / VEX / test / fpucw.c
blob013089770c3635aa49979d19e9e14d03c6348b53
2 #include <stdio.h>
4 void fldcw_default ( void )
6 asm(" pushw $0x037F ; fldcw (%esp) ; addl $2, %esp");
9 void fldcw_exns ( void )
11 asm(" pushw $0x037E ; fldcw (%esp) ; addl $2, %esp");
14 void fldcw_precision ( void )
16 asm(" pushw $0x007F ; fldcw (%esp) ; addl $2, %esp");
19 void fldcw_rounding ( void )
21 asm(" pushw $0x077F ; fldcw (%esp) ; addl $2, %esp");
24 int main ( void )
26 printf("default\n");
27 fldcw_default();
28 printf("\n");
30 printf("exns\n");
31 fldcw_exns();
32 printf("\n");
34 printf("precision\n");
35 fldcw_precision();
36 printf("\n");
38 printf("rounding\n");
39 fldcw_rounding();
40 printf("\n");
42 return 0;