diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-09-10 10:20:15 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-09-10 10:20:15 +0200 |
commit | 41655f6c8d38270cc50407b0141b443f6ee90100 (patch) | |
tree | 838b8432f9a66123ca876579298e2eb34b51d407 /extraction | |
parent | be6dc9e64912901b8217f56656d770f957d15cb4 (diff) | |
download | compcert-41655f6c8d38270cc50407b0141b443f6ee90100.tar.gz compcert-41655f6c8d38270cc50407b0141b443f6ee90100.zip |
Added builtin for atomic compare and exchange.
The new __builtin_atomic_compare_exchange(int *ptr,int *exp,int *dsr);
writes dsr into ptr if ptr is equal to exp and returns true if
ptr is not equal to exp it writes ptr into exp and returns false.
Diffstat (limited to 'extraction')
0 files changed, 0 insertions, 0 deletions