OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [machine/] [h8300/] [h8sx_strcpy.S] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
; This file exists to provide a movsd implementation of strcpy().
2
; Continue to use the generic version for targets other than h8sx.
3
#ifdef __H8300SX__
4
#include "setarch.h"
5
 
6
        .global _strcpy
7
_strcpy:
8
        stm.l   er4-er6,@-er7
9
        mov.l   er0,er6
10
        mov.l   er1,er5
11
1:      movsd   2f
12
        bra     1b
13
2:      rts/l   er4-er6
14
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.