diff options
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/lib/memcpy_mck.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ia64/lib/memcpy_mck.S b/arch/ia64/lib/memcpy_mck.S index 6f308e62c137..46c9331e7ab5 100644 --- a/arch/ia64/lib/memcpy_mck.S +++ b/arch/ia64/lib/memcpy_mck.S | |||
@@ -625,8 +625,11 @@ EK(.ex_handler, (p17) st8 [dst1]=r39,8); \ | |||
625 | clrrrb | 625 | clrrrb |
626 | ;; | 626 | ;; |
627 | alloc saved_pfs_stack=ar.pfs,3,3,3,0 | 627 | alloc saved_pfs_stack=ar.pfs,3,3,3,0 |
628 | cmp.lt p8,p0=A,r0 | ||
628 | sub B = dst0, saved_in0 // how many byte copied so far | 629 | sub B = dst0, saved_in0 // how many byte copied so far |
629 | ;; | 630 | ;; |
631 | (p8) mov A = 0; // A shouldn't be negative, cap it | ||
632 | ;; | ||
630 | sub C = A, B | 633 | sub C = A, B |
631 | sub D = saved_in2, A | 634 | sub D = saved_in2, A |
632 | ;; | 635 | ;; |