Home
last modified time | relevance | path

Searched refs:fpu_save_area (Results 1 – 1 of 1) sorted by relevance

/xen/tools/tests/x86_emulator/
A Dx86-emulate.c36 static char fpu_save_area[4096] __attribute__((__aligned__((64)))); variable
44 #define FXSAVE_AREA ((struct x86_fxsr *)fpu_save_area)
50 : [ptr] "=m" (fpu_save_area) in emul_save_fpu_state()
53 asm volatile ( "fxsave %0" : "=m" (fpu_save_area) ); in emul_save_fpu_state()
61 : [ptr] "+m" (fpu_save_area) in emul_restore_fpu_state()
64 asm volatile ( "fxrstor %0" : "+m" (fpu_save_area) ); in emul_restore_fpu_state()
77 } *fxs = (void *)fpu_save_area; in emul_test_init()
107 assert(ebx < sizeof(fpu_save_area)); in emul_test_init()

Completed in 3 milliseconds