6 $0 =~ m/(.*[\/\\])[^\/\\]+$/; $dir=$1;
7 ( $xlate="${dir}arm-xlate.pl" and -f $xlate ) or
8 ( $xlate="${dir}perlasm/arm-xlate.pl" and -f $xlate) or
9 die "can't locate arm-xlate.pl";
11 open OUT,"| \"$^X\" $xlate $flavour $output";
18 #if defined(__thumb2__) && !defined(__APPLE__)
26 .global OPENSSL_atomic_add
27 .type OPENSSL_atomic_add,%function
43 add r6,r3,r2 @ &spinlock
45 .Lspin: bl sched_yield
54 str r0,[r6] @ release spinlock
58 .word 0xe12fff1e @ bx lr
60 .size OPENSSL_atomic_add,.-OPENSSL_atomic_add
62 .global OPENSSL_cleanse
63 .type OPENSSL_cleanse,%function
97 .word 0xe12fff1e @ bx lr
99 .size OPENSSL_cleanse,.-OPENSSL_cleanse
101 #if __ARM_MAX_ARCH__>=7
106 .global _armv7_neon_probe
107 .type _armv7_neon_probe,%function
111 .size _armv7_neon_probe,.-_armv7_neon_probe
114 .type _armv7_tick,%function
117 mrrc p15,0,r0,r1,c14 @ CNTPCT
119 mrrc p15,1,r0,r1,c14 @ CNTVCT
122 .size _armv7_tick,.-_armv7_tick
124 .global _armv8_aes_probe
125 .type _armv8_aes_probe,%function
127 #if defined(__thumb2__) && !defined(__APPLE__)
128 .byte 0xb0,0xff,0x00,0x03 @ aese.8 q0,q0
130 .byte 0x00,0x03,0xb0,0xf3 @ aese.8 q0,q0
133 .size _armv8_aes_probe,.-_armv8_aes_probe
135 .global _armv8_sha1_probe
136 .type _armv8_sha1_probe,%function
138 #if defined(__thumb2__) && !defined(__APPLE__)
139 .byte 0x00,0xef,0x40,0x0c @ sha1c.32 q0,q0,q0
141 .byte 0x40,0x0c,0x00,0xf2 @ sha1c.32 q0,q0,q0
144 .size _armv8_sha1_probe,.-_armv8_sha1_probe
146 .global _armv8_sha256_probe
147 .type _armv8_sha256_probe,%function
149 #if defined(__thumb2__) && !defined(__APPLE__)
150 .byte 0x00,0xff,0x40,0x0c @ sha256h.32 q0,q0,q0
152 .byte 0x40,0x0c,0x00,0xf3 @ sha256h.32 q0,q0,q0
155 .size _armv8_sha256_probe,.-_armv8_sha256_probe
156 .global _armv8_pmull_probe
157 .type _armv8_pmull_probe,%function
159 #if defined(__thumb2__) && !defined(__APPLE__)
160 .byte 0xa0,0xef,0x00,0x0e @ vmull.p64 q0,d0,d0
162 .byte 0x00,0x0e,0xa0,0xf2 @ vmull.p64 q0,d0,d0
165 .size _armv8_pmull_probe,.-_armv8_pmull_probe
168 .global OPENSSL_wipe_cpu
169 .type OPENSSL_wipe_cpu,%function
171 #if __ARM_MAX_ARCH__>=7
172 ldr r0,.LOPENSSL_armcap
173 adr r1,.LOPENSSL_armcap
182 #if __ARM_MAX_ARCH__>=7
205 .word 0xe12fff1e @ bx lr
207 .size OPENSSL_wipe_cpu,.-OPENSSL_wipe_cpu
209 .global OPENSSL_instrument_bus
210 .type OPENSSL_instrument_bus,%function
211 OPENSSL_instrument_bus:
218 .word 0xe12fff1e @ bx lr
220 .size OPENSSL_instrument_bus,.-OPENSSL_instrument_bus
222 .global OPENSSL_instrument_bus2
223 .type OPENSSL_instrument_bus2,%function
224 OPENSSL_instrument_bus2:
231 .word 0xe12fff1e @ bx lr
233 .size OPENSSL_instrument_bus2,.-OPENSSL_instrument_bus2
236 #if __ARM_MAX_ARCH__>=7
238 .word OPENSSL_armcap_P-.
244 .word atomic_add_spinlock-.Lspinlock
253 .comm OPENSSL_armcap_P,4,4
254 .hidden OPENSSL_armcap_P