3 ms·
I wonder if this helps improve the fidelity of Clang-built Linux.
by saagarjha 7y ago
I wonder if this helps improve the fidelity of Clang-built Linux.
- pm215 7y agoNo, because (as the commit message notes) gcc does not support output constraints on asm goto, so the kernel can't be using this feature at the moment. (Indeed, nothing can be...) On the other hand, Torvalds has mentioned in the past (https://lkml.org/lkml/2018/2/14/656 https://lkml.org/lkml/2018/2/14/656) that asm-goto with outputs would be nice to have and that if clang supported this he'd like to see it in gcc too...
- pwdisswordfish2 7y agoIt won’t. This is an original feature, absent from GCC. Regular asm goto has been merged a while ago. I’m wondering what the use case is; asm goto by itself is quite an obscure feature already, so I expect this would be doubly so.