Add spillfd(). This function loads a double-precision FP register
at the first address and spills it to the second address. This allows unaligned_fixup() to update the context of the process in a way that assures proper rounding. Similar functions for single-and extended-precision are added when needed.
This commit is contained in:
parent
d1a499ad2a
commit
075f7fe484
@ -890,3 +890,13 @@ ENTRY(copyerr, 0)
|
||||
mov ret0=EFAULT // return EFAULT
|
||||
br.ret.sptk.few rp
|
||||
END(copyerr)
|
||||
|
||||
/*
|
||||
* Support functions for handling of unaligned memory accesses.
|
||||
*/
|
||||
ENTRY(spillfd, 2)
|
||||
ldfd f6 = [r32]
|
||||
;;
|
||||
stf.spill [r33] = f6
|
||||
br.ret.sptk rp
|
||||
END(spillfd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user