Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85933
b: refs/heads/master
c: 50c0716
h: refs/heads/master
i:
  85931: b5e992f
v: v3
  • Loading branch information
Chris Zankel committed Feb 14, 2008
1 parent aaa430c commit ec99f1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ed3174d93c342b8b2eeba6bbd124707d55304a7b
refs/heads/master: 50c0716aa2f49a9d34589e380fad73402464c088
8 changes: 5 additions & 3 deletions trunk/arch/xtensa/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ ENTRY(_spill_registers)

/* We are done if there are no more than the current register frame. */

extui a3, a3, 1, WSBITS-2 # a3 = 0yyxxxwww
extui a3, a3, 1, WSBITS-1 # a3 = 0yyxxxwww
movi a2, (1 << (WSBITS-1))
_beqz a3, .Lnospill # only one active frame? jump

Expand Down Expand Up @@ -1394,6 +1394,10 @@ ENTRY(_spill_registers)
l32e a4, a1, -16
j .Lc12c

.Lnospill:
rsr a2, DEPC # restore a2 and 'return'
jx a0

.Lloop: _bbsi.l a3, 1, .Lc4
_bbci.l a3, 2, .Lc12

Expand All @@ -1419,8 +1423,6 @@ ENTRY(_spill_registers)
movi a3, 1
sll a3, a3
wsr a3, WINDOWSTART

.Lnospill:
jx a0

.Lc4: s32e a4, a9, -16
Expand Down

0 comments on commit ec99f1a

Please sign in to comment.