~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
! Copyright (C) 2000, 2002 MySQL AB
2
! 
3
! This library is free software; you can redistribute it and/or
4
! modify it under the terms of the GNU Library General Public
5
! License as published by the Free Software Foundation; version 2
6
! of the License.
7
! 
8
! This library is distributed in the hope that it will be useful,
9
! but WITHOUT ANY WARRANTY; without even the implied warranty of
10
! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
! Library General Public License for more details.
12
! 
13
! You should have received a copy of the GNU Library General Public
14
! License along with this library; if not, write to the Free
15
! Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
16
! MA 02111-1307, USA
17
18
	.file	"bmove_upp-sparc.s"
19
.section	".text"
20
	.align 4
21
	.global bmove_upp
22
	.type	 bmove_upp,#function
23
	.proc	020
24
bmove_upp:
25
	subcc	%o2, 1, %o2		! o2= len
26
	bcs	.end
27
	nop
28
.loop:
29
	sub	%o1, 1, %o1
30
	ldub	[%o1], %o3
31
	sub	%o0, 1, %o0
32
	subcc	%o2, 1, %o2
33
	bcc	.loop
34
	stb	%o3, [%o0]
35
.end:
36
	retl
37
	nop
38
.bmove_upp_end:
39
	.size	 bmove_upp,.bmove_upp_end-bmove_upp
40
	.ident	"Matt Wagner & Monty"