OLD | NEW |
| 1 .. include:: /migration/deprecation.inc |
| 2 |
1 ============================== | 3 ============================== |
2 PNaCl Bitcode Reference Manual | 4 PNaCl Bitcode Reference Manual |
3 ============================== | 5 ============================== |
4 | 6 |
5 .. contents:: | 7 .. contents:: |
6 :local: | 8 :local: |
7 :backlinks: none | 9 :backlinks: none |
8 :depth: 3 | 10 :depth: 3 |
9 | 11 |
10 Introduction | 12 Introduction |
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 | 579 |
578 declare i1 @llvm.nacl.atomic.is.lock.free(i32 <byte_size>, i8* <address>) | 580 declare i1 @llvm.nacl.atomic.is.lock.free(i32 <byte_size>, i8* <address>) |
579 | 581 |
580 The ``llvm.nacl.atomic.is.lock.free`` intrinsic is designed to | 582 The ``llvm.nacl.atomic.is.lock.free`` intrinsic is designed to |
581 determine at translation time whether atomic operations of a certain | 583 determine at translation time whether atomic operations of a certain |
582 ``byte_size`` (a compile-time constant), at a particular ``address``, | 584 ``byte_size`` (a compile-time constant), at a particular ``address``, |
583 are lock-free or not. This reflects the C11 ``atomic_is_lock_free`` | 585 are lock-free or not. This reflects the C11 ``atomic_is_lock_free`` |
584 function from header ``<stdatomic.h>`` and the C++11 ``is_lock_free`` | 586 function from header ``<stdatomic.h>`` and the C++11 ``is_lock_free`` |
585 member function in header ``<atomic>``. It can be used through the | 587 member function in header ``<atomic>``. It can be used through the |
586 ``__nacl_atomic_is_lock_free`` builtin. | 588 ``__nacl_atomic_is_lock_free`` builtin. |
OLD | NEW |