mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Do further conversions in the test.
git-svn-id: svn://svn.valgrind.org/vex/trunk@230
This commit is contained in:
parent
045cea038b
commit
fcc66db356
@ -134,8 +134,17 @@ void capture_convert_show ( /* preallocated storage */
|
||||
printf("\n\n");
|
||||
printVexState(vex_state);
|
||||
printf("\n\n");
|
||||
#if 0
|
||||
asm volatile("frstor (%0) ; fsave (%0)"
|
||||
:
|
||||
: "r" (x87_state1)
|
||||
: "memory" );
|
||||
#endif
|
||||
printFpuState(x87_state1);
|
||||
printf("\n\n");
|
||||
x87_to_vex(x87_state1, vex_state);
|
||||
printVexState(vex_state);
|
||||
printf("\n\n");
|
||||
}
|
||||
|
||||
int main ( void )
|
||||
@ -148,6 +157,7 @@ int main ( void )
|
||||
asm volatile ("fldpi");
|
||||
capture_convert_show(x87_state0, x87_state1, vex_state);
|
||||
asm volatile ("fldz ; fld1 ; fdiv %st(1)");
|
||||
asm volatile ("fldln2 ; fldlg2 ; fchs ; fsqrt");
|
||||
capture_convert_show(x87_state0, x87_state1, vex_state);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user