summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/arm/sync-ops.h
Commit message (Collapse)AuthorAgeFilesLines
* [builtins] Fix assembly in arm sync-ops.hNikita Popov2019-07-121-1/+1
| | | | | | | | | This assembly is part of a macro that was reformatted in D60351. The missing space between push and { results in: Error: bad instruction `push{r4, r5,r6,lr}' llvm-svn: 365957
* [builtins] Use single line C++/C99 comment stylePetr Hosek2019-04-281-13/+13
| | | | | | | | | | | Use the uniform single line C++/99 style for code comments. This is part of the cleanup proposed in "[RFC] compiler-rt builtins cleanup and refactoring". Differential Revision: https://reviews.llvm.org/D60352 llvm-svn: 359411
* [builtins] Reformat builtins with clang-formatPetr Hosek2019-04-281-44/+42
| | | | | | | | | | | Update formatting to use the LLVM style. This is part of the cleanup proposed in "[RFC] compiler-rt builtins cleanup and refactoring". Differential Revision: https://reviews.llvm.org/D60351 llvm-svn: 359410
* Update more file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | | to reflect the new license. These used slightly different spellings that defeated my regular expressions. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351648
* Fix the armv7 thumb builtins on darwinSteven Wu2014-10-041-2/+2
| | | | | | | | | | The arm builtins converted into thumb in r213481 are not working on darwin. On apple platforms, .thumb_func directive is required to generated correct symbols for thumb functions. <rdar://problem/18523605> llvm-svn: 219040
* Fix incompatible assembly in ARM builtins libraryRenato Golin2014-07-221-2/+6
| | | | | | | | | | Convert the CBNZ backward branch instruction to CMP and BNE avoiding illegal backwards branch and making the assembly code in synh-ops.h to be UAL compliant. Patch by: Sumanth Gundapaneni llvm-svn: 213685
* [CompilerRT] use .p2align, .balign instead of .alignSaleem Abdulrasool2014-05-121-2/+2
| | | | | | | | | | | | The .align statements in ARM assembly routines is actually meant to be a power of 2 alignment (e.g. .align 2 == 4 byte alignment, not 2). Switch to using .p2align. .p2align is guaranteed to be a power-of-two alignment always and much more explicit. The .align in the case of x86_64 is byte alignment, use .balign instead of .align. llvm-svn: 208578
* ARM: fix file's header commentTim Northover2014-03-071-4/+3
| | | | llvm-svn: 203247
* ARM: implement __sync_fetch_and_* operationsTim Northover2014-03-041-0/+61
Since these are primarily useful for deeply embedded targets where code size is very important, they are each in a separate file making use of infrastructure in sync-ops.h. This allows a linker to include just the functions that are actually used. rdar://problem/14736665 llvm-svn: 202812
OpenPOWER on IntegriCloud