Last change
on this file since 352 was 352, checked in by coas-nagasima, 6 years ago |
arm向けASP3版ECNLを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain;charset=UTF-8
|
File size:
677 bytes
|
Rev | Line | |
---|
[352] | 1 | .syntax unified
|
---|
| 2 | .global _longjmp
|
---|
| 3 | .global longjmp
|
---|
| 4 | .type _longjmp,%function
|
---|
| 5 | .type longjmp,%function
|
---|
| 6 | _longjmp:
|
---|
| 7 | longjmp:
|
---|
| 8 | mov ip,r0
|
---|
| 9 | movs r0,r1
|
---|
| 10 | moveq r0,#1
|
---|
| 11 | ldmia ip!, {v1,v2,v3,v4,v5,v6,sl,fp}
|
---|
| 12 | ldmia ip!, {r2,lr}
|
---|
| 13 | mov sp,r2
|
---|
| 14 |
|
---|
| 15 | adr r1,1f
|
---|
| 16 | ldr r2,1f
|
---|
| 17 | ldr r1,[r1,r2]
|
---|
| 18 |
|
---|
| 19 | tst r1,#0x260
|
---|
| 20 | beq 3f
|
---|
| 21 | tst r1,#0x20
|
---|
| 22 | beq 2f
|
---|
| 23 | ldc p2, cr4, [ip], #48
|
---|
| 24 | 2: tst r1,#0x40
|
---|
| 25 | beq 2f
|
---|
| 26 | .fpu vfp
|
---|
| 27 | vldmia ip!, {d8-d15}
|
---|
| 28 | .fpu softvfp
|
---|
| 29 | .eabi_attribute 10, 0
|
---|
| 30 | .eabi_attribute 27, 0
|
---|
| 31 | 2: tst r1,#0x200
|
---|
| 32 | beq 3f
|
---|
| 33 | ldcl p1, cr10, [ip], #8
|
---|
| 34 | ldcl p1, cr11, [ip], #8
|
---|
| 35 | ldcl p1, cr12, [ip], #8
|
---|
| 36 | ldcl p1, cr13, [ip], #8
|
---|
| 37 | ldcl p1, cr14, [ip], #8
|
---|
| 38 | ldcl p1, cr15, [ip], #8
|
---|
| 39 | 3: bx lr
|
---|
| 40 |
|
---|
| 41 | .hidden __hwcap
|
---|
| 42 | .align 2
|
---|
| 43 | 1: .word __hwcap-1b
|
---|
Note:
See
TracBrowser
for help on using the repository browser.