Commit 2ee7e4a3 authored by David Mosberger's avatar David Mosberger

ia64: Minor cleanups.

parent 0864708f
...@@ -701,7 +701,7 @@ GLOBAL_ENTRY(ia64_leave_kernel) ...@@ -701,7 +701,7 @@ GLOBAL_ENTRY(ia64_leave_kernel)
* NOTE: alloc, loadrs, and cover can't be predicated. * NOTE: alloc, loadrs, and cover can't be predicated.
*/ */
(pNonSys) br.cond.dpnt dont_preserve_current_frame (pNonSys) br.cond.dpnt dont_preserve_current_frame
cover // add current frame into dirty partition cover // add current frame into dirty partition and set cr.ifs
;; ;;
mov r19=ar.bsp // get new backing store pointer mov r19=ar.bsp // get new backing store pointer
sub r16=r16,r18 // krbs = old bsp - size of dirty partition sub r16=r16,r18 // krbs = old bsp - size of dirty partition
...@@ -727,7 +727,7 @@ dont_preserve_current_frame: ...@@ -727,7 +727,7 @@ dont_preserve_current_frame:
# define Nregs 14 # define Nregs 14
#endif #endif
alloc loc0=ar.pfs,2,Nregs-2,2,0 alloc loc0=ar.pfs,2,Nregs-2,2,0
shr.u loc1=r18,9 // RNaTslots <= dirtySize / (64*8) + 1 shr.u loc1=r18,9 // RNaTslots <= floor(dirtySize / (64*8))
sub r17=r17,r18 // r17 = (physStackedSize + 8) - dirtySize sub r17=r17,r18 // r17 = (physStackedSize + 8) - dirtySize
;; ;;
mov ar.rsc=r19 // load ar.rsc to be used for "loadrs" mov ar.rsc=r19 // load ar.rsc to be used for "loadrs"
...@@ -774,13 +774,13 @@ rse_clear_invalid: ...@@ -774,13 +774,13 @@ rse_clear_invalid:
;; ;;
mov loc3=0 mov loc3=0
mov loc4=0 mov loc4=0
mov loc9=0
mov loc5=0 mov loc5=0
mov loc6=0 mov loc6=0
mov loc7=0
(pRecurse) br.call.sptk.many b6=rse_clear_invalid (pRecurse) br.call.sptk.many b6=rse_clear_invalid
;; ;;
mov loc7=0
mov loc8=0 mov loc8=0
mov loc9=0
cmp.ne pReturn,p0=r0,in1 // if recursion count != 0, we need to do a br.ret cmp.ne pReturn,p0=r0,in1 // if recursion count != 0, we need to do a br.ret
mov loc10=0 mov loc10=0
mov loc11=0 mov loc11=0
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* gets translated into an assembly file which, in turn, is processed * gets translated into an assembly file which, in turn, is processed
* by awk to generate offsets.h. So if you make any changes to this * by awk to generate offsets.h. So if you make any changes to this
* file, be sure to verify that the awk procedure still works (see * file, be sure to verify that the awk procedure still works (see
* prin_offsets.awk). * print_offsets.awk).
*/ */
#include <linux/config.h> #include <linux/config.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment