OLD | NEW |
1 /*************************************************************************** | 1 /*************************************************************************** |
2 * Copyright (c) 2009,2010, Code Aurora Forum. All rights reserved. | 2 * Copyright (c) 2009,2010, Code Aurora Forum. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 ***************************************************************************/ | 6 ***************************************************************************/ |
7 | 7 |
| 8 .syntax unified |
8 .code 32 | 9 .code 32 |
9 .fpu neon | 10 .fpu neon |
10 .align 4 | 11 .align 4 |
11 .globl memset32_neon | 12 .globl memset32_neon |
12 .hidden memset32_neon | 13 .hidden memset32_neon |
13 | 14 |
14 /* r0 = buffer, r1 = value, r2 = times to write */ | 15 /* r0 = buffer, r1 = value, r2 = times to write */ |
15 memset32_neon: | 16 memset32_neon: |
16 cmp r2, #1 | 17 cmp r2, #1 |
17 streq r1, [r0], #4 | 18 streq r1, [r0], #4 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 str r1, [r0, #24] | 104 str r1, [r0, #24] |
104 str r1, [r0, #20] | 105 str r1, [r0, #20] |
105 str r1, [r0, #16] | 106 str r1, [r0, #16] |
106 str r1, [r0, #12] | 107 str r1, [r0, #12] |
107 str r1, [r0, #8] | 108 str r1, [r0, #8] |
108 str r1, [r0, #4] | 109 str r1, [r0, #4] |
109 str r1, [r0, #0] | 110 str r1, [r0, #0] |
110 bx lr | 111 bx lr |
111 | 112 |
112 .end | 113 .end |
OLD | NEW |