Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Side by Side Diff: src/opts/memset.arm.S

Issue 831663004: Hide ARM assembly memset symbols. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/opts/memset16_neon.S » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2010 The Android Open Source Project 2 * Copyright 2010 The Android Open Source Project
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 /* Changes: 8 /* Changes:
9 * 2010-08-11 Steve McIntyre <steve.mcintyre@arm.com> 9 * 2010-08-11 Steve McIntyre <steve.mcintyre@arm.com>
10 * Added small changes to the two functions to make them work on the 10 * Added small changes to the two functions to make them work on the
11 * specified number of 16- or 32-bit values rather than the original 11 * specified number of 16- or 32-bit values rather than the original
12 * code which was specified as a count of bytes. More verbose comments 12 * code which was specified as a count of bytes. More verbose comments
13 * to aid future maintenance. 13 * to aid future maintenance.
14 */ 14 */
15 15
16 .text 16 .text
17 .align 4 17 .align 4
18 .syntax unified 18 .syntax unified
19 19
20 .global arm_memset32 20 .global arm_memset32
djsollen 2015/01/13 16:25:08 I don't think you need .global if you are marking
21 .hidden arm_memset32
21 .type arm_memset32, %function 22 .type arm_memset32, %function
22 .global arm_memset16 23 .global arm_memset16
24 .hidden arm_memset16
23 .type arm_memset16, %function 25 .type arm_memset16, %function
24 26
25 /* 27 /*
26 * Optimized memset functions for ARM. 28 * Optimized memset functions for ARM.
27 * 29 *
28 * void arm_memset16(uint16_t* dst, uint16_t value, int count); 30 * void arm_memset16(uint16_t* dst, uint16_t value, int count);
29 * void arm_memset32(uint32_t* dst, uint32_t value, int count); 31 * void arm_memset32(uint32_t* dst, uint32_t value, int count);
30 * 32 *
31 */ 33 */
32 arm_memset16: 34 arm_memset16:
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 movs r2, r2, lsl #28 104 movs r2, r2, lsl #28
103 stmiacs r0!, {r1,r3,ip,lr} 105 stmiacs r0!, {r1,r3,ip,lr}
104 stmiami r0!, {r1,lr} 106 stmiami r0!, {r1,lr}
105 movs r2, r2, lsl #2 107 movs r2, r2, lsl #2
106 strcs r1, [r0], #4 108 strcs r1, [r0], #4
107 strhmi lr, [r0], #2 109 strhmi lr, [r0], #2
108 110
109 .Lfinish: 111 .Lfinish:
110 pop {pc} 112 pop {pc}
111 .fnend 113 .fnend
OLDNEW
« no previous file with comments | « no previous file | src/opts/memset16_neon.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698