Go to the documentation of this file.
7 #ifndef _SPARC64_FPUMACRO_H
8 #define _SPARC64_FPUMACRO_H
17 #define FPUSTATE (struct fpustate *)(current_thread_info()->fpregs)
19 static inline unsigned long fprs_read(
void)
23 __asm__ __volatile__(
"rd %%fprs, %0" :
"=r" (retval));
28 static inline void fprs_write(
unsigned long val)
30 __asm__ __volatile__(
"wr %0, 0x0, %%fprs" : :
"r" (val));