November 12, 2019 What is equivalent of gcc `__volatile__` attribute? | ||||
---|---|---|---|---|
| ||||
What is the equivalent of __volatile__ in ``` __asm__ __volatile__ ( ... ); ``` |
November 12, 2019 Re: What is equivalent of gcc `__volatile__` attribute? | ||||
---|---|---|---|---|
| ||||
Posted in reply to drug | On Tuesday, 12 November 2019 at 16:55:02 UTC, drug wrote: > What is the equivalent of __volatile__ in > ``` > __asm__ __volatile__ ( ... ); > ``` I guess that's the `sideeffect` IR attribute (http://llvm.org/docs/LangRef.html#inline-assembler-expressions), which LDC currently always emits for __asm. |
Copyright © 1999-2021 by the D Language Foundation