[PATCH] D61052: [compiler-rt][builtins] Implement some fetch-and-x operations for Cortex-M

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 08:08:48 PDT 2019


aykevl updated this revision to Diff 197554.
aykevl added a comment.

- use the ldrex/strex implementation on Cortex-M3 and up for SYNC_OP_4
- fixed a bug in SYNC_OP_4 for the sub instruction (a bug remains in SYNC_OP_8, will fix soon)


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61052/new/

https://reviews.llvm.org/D61052

Files:
  lib/builtins/arm/sync-ops.h
  lib/builtins/arm/sync_fetch_and_add_4.S
  lib/builtins/arm/sync_fetch_and_add_8.S
  lib/builtins/arm/sync_fetch_and_and_4.S
  lib/builtins/arm/sync_fetch_and_and_8.S
  lib/builtins/arm/sync_fetch_and_nand_4.S
  lib/builtins/arm/sync_fetch_and_nand_8.S
  lib/builtins/arm/sync_fetch_and_or_4.S
  lib/builtins/arm/sync_fetch_and_or_8.S
  lib/builtins/arm/sync_fetch_and_sub_4.S
  lib/builtins/arm/sync_fetch_and_sub_8.S
  lib/builtins/arm/sync_fetch_and_xor_4.S
  lib/builtins/arm/sync_fetch_and_xor_8.S

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61052.197554.patch
Type: text/x-patch
Size: 7254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190501/0cecd61f/attachment.bin>


More information about the llvm-commits mailing list