diff --git a/arch/sw_64/lib/deep-copy_template.S b/arch/sw_64/lib/deep-copy_template.S index 8355ecf8a905faf58b8da992d70be04efc05f8d0..f80be2bef44c4ca1395ed7e1c0602448728b0abc 100644 --- a/arch/sw_64/lib/deep-copy_template.S +++ b/arch/sw_64/lib/deep-copy_template.S @@ -83,9 +83,9 @@ $quad_loop_head: addl $17, 8, $17 FIXUP_LDST( stl $2, 0($16) ) addl $16, 8, $16 - and $16, 31, $1 blt $18, $simd_end - beq $16, $dest_aligned_32 + and $16, 31, $1 + beq $1, $dest_aligned_32 br $31, $quad_loop_head $dest_aligned_32: @@ -191,7 +191,8 @@ $quad_u_loop_head: FIXUP_LDST( stl $2, 0($16) ) addl $16, 8, $16 blt $18, $simd_end - beq $16, $dest_aligned_32 + and $16, 31, $1 + beq $1, $dest_aligned_32 br $31, $quad_u_loop_head $prep_simd_u_loop: