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.
20 # FIXME: atomic.c may only be compiled if host compiler understands _Atomic
44 enable_execute_stack.c
195 arm/floatunssidfvfp.S
196 arm/floatunssisfvfp.S
212 arm/restore_vfp_d8_d15_regs.S
213 arm/save_vfp_d8_d15_regs.S
220 arm/sync_fetch_and_add_4.S
221 arm/sync_fetch_and_add_8.S
222 arm/sync_fetch_and_and_4.S
223 arm/sync_fetch_and_and_8.S
224 arm/sync_fetch_and_max_4.S
225 arm/sync_fetch_and_max_8.S
226 arm/sync_fetch_and_min_4.S
227 arm/sync_fetch_and_min_8.S
228 arm/sync_fetch_and_nand_4.S
229 arm/sync_fetch_and_nand_8.S
230 arm/sync_fetch_and_or_4.S
231 arm/sync_fetch_and_or_8.S
232 arm/sync_fetch_and_sub_4.S
233 arm/sync_fetch_and_sub_8.S
234 arm/sync_fetch_and_umax_4.S
235 arm/sync_fetch_and_umax_8.S
236 arm/sync_fetch_and_umin_4.S
237 arm/sync_fetch_and_umin_8.S
238 arm/sync_fetch_and_xor_4.S
239 arm/sync_fetch_and_xor_8.S
240 arm/sync_synchronize.S
249 add_custom_target(builtins)
252 foreach(arch x86_64 i386 arm)
253 if(CAN_TARGET_${arch})
254 add_compiler_rt_runtime(clang_rt.builtins-${arch} ${arch} STATIC
255 SOURCES ${${arch}_SOURCES}
257 add_dependencies(builtins clang_rt.builtins-${arch})
262 add_dependencies(compiler-rt builtins)