[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] [PATCH 0/4] stdatomic: code generators
From: |
Dmitry Selyutin |
Subject: |
Re: [Tinycc-devel] [PATCH 0/4] stdatomic: code generators |
Date: |
Mon, 15 Feb 2021 13:18:28 +0300 |
At least one architecture I know has different models to implement atomics (LSE instructions from AArch64); with gcc, the corresponding switch is -mno-outline-atomics. Once this option is present, compiler inlines atomics, otherwise a function call is emitted.