On 05/09/2016 03:37 PM, Bernd Edlinger wrote:
On 05/09/16 09:56, Richard Biener wrote:
At least it sounds to me that its semantics can be fully expressed
with generic asms? (Maybe apart from the only-if-ASM_STRING-is-empty
part)
That was also my first idea too.
In simple cases an asm ("whatever"); should do the same as
asm ("whatever" ::: );
Adding a "memory" to the clobber list would be simple that's true.
But in general it can be pretty complicated, especially if the
string contains the special characters % { | }.
Is the only difference in how the string is output? Maybe we can have a
slightly different form of ASM_OPERANDS (with a bit set, or with the
string wrapped in something else) to indicate that it's old-style.
Bernd