Add ia64_set_fpsr().
This commit is contained in:
parent
3a9c8cf20b
commit
0e3e05fd5d
@ -246,6 +246,15 @@ ia64_get_psr(void)
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
* Set the value of ar.fpsr
|
||||
*/
|
||||
static __inline void
|
||||
ia64_set_fpsr(u_int64_t v)
|
||||
{
|
||||
__asm __volatile("mov ar.fpsr=%0" :: "r" (v));
|
||||
}
|
||||
|
||||
/*
|
||||
* Read the value of ar.k0.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user