9
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
1 .cpu cortex-a8
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
2 .eabi_attribute 27, 3
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
3 .fpu neon
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
4 .eabi_attribute 23, 1
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
5 .eabi_attribute 24, 1
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
6 .eabi_attribute 25, 1
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
7 .eabi_attribute 26, 2
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
8 .eabi_attribute 30, 1
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
9 .eabi_attribute 18, 4
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
10
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
11 .text
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
12 .align 2
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
13 .global kf_bfly2
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
14 .type kf_bfly2, %function
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
15 kf_bfly2:
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
16 .fnstart
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
17 .cfi_startproc
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
18 add r2, r2, #264
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
19 mov r1, r1, asl #4
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
20 sub r1, r1, #16
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
21 add ip, r0, r3, asl #4
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
22 .for:
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
23
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
24 vld1.32 {d24,d25}, [ip]
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
25 vld1.32 {d20,d21}, [r2]!
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
26
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
27 vmul.f32 d17, d24, d20
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
28 vmul.f32 d18, d20, d25
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
29 vld1.32 {d19,d20}, [r0]
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
30 vmls.f32 d17, d25, d21
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
31 vmla.f32 d18, d24, d21
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
32
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
33 add r2, r2, r1
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
34
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
35 vsub.f32 d24, d19, d17
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
36 vsub.f32 d25, d20, d18
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
37 vst1.32 {d24,d25}, [ip]!
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
38
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
39 vadd.f32 d17, d19, d17
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
40 vadd.f32 d18, d20, d18
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
41 vst1.32 {d17,d18}, [r0]!
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
42
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
43 subs r3, r3, #1
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
44 bne .for
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
45 bx lr
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
46 .cfi_endproc
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
47 .fnend
|
Peter Meerwald <p.meerwald@bct-electronic.com>
parents:
diff
changeset
|
48 .size kf_bfly2, .-kf_bfly2
|