Clear the register stack frame before using loadrs to invalidate the
stacked registers.
This commit is contained in:
parent
48ac0f7c79
commit
4f8d61b521
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67211
@ -293,6 +293,7 @@ ENTRY(cpu_switch, 0)
|
||||
mov ar.bspstore=r18 ;;
|
||||
mov ar.rnat=r19
|
||||
mov pr=r20,0x1ffff
|
||||
alloc r14=ar.pfs,0,0,0,0 // lose current frame
|
||||
;;
|
||||
loadrs
|
||||
mov ar.rsc=3 // restart RSE
|
||||
|
Loading…
Reference in New Issue
Block a user