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

Subversion Repositories or1k_old

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 52 to Rev 53
    Reverse comparison

Rev 52 → Rev 53

/trunk/newlib/newlib/libc/machine/or32/Makefile.in
25,9 → 25,12
#### Host, target, and site specific Makefile fragments come in here.
###
 
OFILES=\
SFILES= setjmp.S
 
OFILES= setjmp.o
 
CFILES=
 
all: lib.a
lib.a: $(OFILES)
rm -f $@
/trunk/newlib/newlib/libc/machine/or32/setjmp.S
0,0 → 1,79
/* Simple setjmp/longjmp for the OpenRISC 1000 (OR32 ISA).
Damjan Lampret, OpenCores.org, Aug 15 2000. */
 
.align 4
.proc setjmp
.global setjmp
.extern setjmp
setjmp:
l.sw 0(r3),r1
l.sw 4(r3),r2
l.sw 12(r3),r5
l.sw 16(r3),r6
l.sw 20(r3),r7
l.sw 24(r3),r8
l.sw 28(r3),r9
l.sw 32(r3),r10
l.sw 36(r3),r11
l.sw 40(r3),r12
l.sw 44(r3),r13
l.sw 48(r3),r14
l.sw 52(r3),r15
l.sw 56(r3),r16
l.sw 60(r3),r17
l.sw 64(r3),r18
l.sw 68(r3),r19
l.sw 72(r3),r20
l.sw 74(r3),r21
l.sw 78(r3),r22
l.sw 82(r3),r23
l.sw 86(r3),r24
l.sw 90(r3),r25
l.sw 94(r3),r26
l.sw 98(r3),r27
l.sw 102(r3),r28
l.sw 106(r3),r29
l.sw 110(r3),r30
l.sw 114(r3),r31
l.addi r3,r0,0
l.jr r11
.endproc setjmp
 
.align 4
.proc longjmp
.global longjmp
longjmp:
l.lw r1,0(r3)
l.lw r2,4(r3)
l.lw r5,12(r3)
l.lw r6,16(r3)
l.lw r7,20(r3)
l.lw r8,24(r3)
l.lw r9,28(r3)
l.lw r10,32(r3)
l.lw r11,36(r3)
l.lw r12,40(r3)
l.lw r13,44(r3)
l.lw r14,48(r3)
l.lw r15,52(r3)
l.lw r16,56(r3)
l.lw r17,60(r3)
l.lw r18,64(r3)
l.lw r19,68(r3)
l.lw r20,72(r3)
l.lw r21,74(r3)
l.lw r22,78(r3)
l.lw r23,82(r3)
l.lw r24,86(r3)
l.lw r25,90(r3)
l.lw r26,94(r3)
l.lw r27,98(r3)
l.lw r28,102(r3)
l.lw r29,106(r3)
l.lw r30,110(r3)
l.lw r31,114(r3)
l.addi r3,r4,0
l.jr r11
.endproc longjmp

powered by: WebSVN 2.1.0

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