1 # This directory contains a large amount of C code which provides
2 # generic implementations of the core runtime library along with optimized
3 # architecture-specific code in various subdirectories.
19 # FIXME: atomic.c may only be compiled if host compiler understands _Atomic
42 enable_execute_stack.c
191 arm/floatunssidfvfp.S
192 arm/floatunssisfvfp.S
208 arm/restore_vfp_d8_d15_regs.S
209 arm/save_vfp_d8_d15_regs.S
216 arm/sync_fetch_and_add_4.S
217 arm/sync_fetch_and_add_8.S
218 arm/sync_fetch_and_and_4.S
219 arm/sync_fetch_and_and_8.S
220 arm/sync_fetch_and_max_4.S
221 arm/sync_fetch_and_max_8.S
222 arm/sync_fetch_and_min_4.S
223 arm/sync_fetch_and_min_8.S
224 arm/sync_fetch_and_nand_4.S
225 arm/sync_fetch_and_nand_8.S
226 arm/sync_fetch_and_or_4.S
227 arm/sync_fetch_and_or_8.S
228 arm/sync_fetch_and_sub_4.S
229 arm/sync_fetch_and_sub_8.S
230 arm/sync_fetch_and_umax_4.S
231 arm/sync_fetch_and_umax_8.S
232 arm/sync_fetch_and_umin_4.S
233 arm/sync_fetch_and_umin_8.S
234 arm/sync_fetch_and_xor_4.S
235 arm/sync_fetch_and_xor_8.S
236 arm/sync_synchronize.S
245 add_custom_target(builtins)
248 foreach(arch x86_64 i386 arm)
249 if(CAN_TARGET_${arch})
250 add_compiler_rt_runtime(clang_rt.${arch} ${arch} STATIC
251 SOURCES ${${arch}_SOURCES}
253 add_dependencies(builtins clang_rt.${arch})
258 add_dependencies(compiler-rt builtins)