OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [newlib/] [libc/] [machine/] [h8300/] [h8sx_strcpy.S] - Blame information for rev 345

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 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.