diff options
author | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2003-02-27 17:43:39 +0000 |
commit | 078bcec0997ad0e07b720c43cc9e6d0e046a75ab (patch) | |
tree | 36cb0f6be2ef078fe3374de8c087b93ecf82f812 /ext/mysql/libmysql/bmove_upp.c | |
parent | fd61f69077f6156ca71dde60ecfd9ed9765a02db (diff) | |
download | php-git-PHP-5.tar.gz |
This commit was manufactured by cvs2svn to create branch 'PHP_5'.PHP-5
Diffstat (limited to 'ext/mysql/libmysql/bmove_upp.c')
-rw-r--r-- | ext/mysql/libmysql/bmove_upp.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/ext/mysql/libmysql/bmove_upp.c b/ext/mysql/libmysql/bmove_upp.c deleted file mode 100644 index e10f6978f7..0000000000 --- a/ext/mysql/libmysql/bmove_upp.c +++ /dev/null @@ -1,37 +0,0 @@ -/* Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB -This file is public domain and comes with NO WARRANTY of any kind */ - -/* File : bmove.c - Author : Michael widenius - Updated: 1987-03-20 - Defines: bmove_upp() - - bmove_upp(dst, src, len) moves exactly "len" bytes from the source - "src-len" to the destination "dst-len" counting downwards. -*/ - -#include <global.h> -#include "m_string.h" - -#if defined(MC68000) && defined(DS90) - -/* 0 <= len <= 65535 */ -void bmove_upp(byte *dst, const byte *src,uint len) -{ -asm(" movl 12(a7),d0 "); -asm(" subql #1,d0 "); -asm(" blt .L5 "); -asm(" movl 4(a7),a1 "); -asm(" movl 8(a7),a0 "); -asm(".L4: movb -(a0),-(a1) "); -asm(" dbf d0,.L4 "); -asm(".L5: "); -} -#else - -void bmove_upp(register char *dst, register const char *src, register uint len) -{ - while (len-- != 0) *--dst = *--src; -} - -#endif |