This is intended for use in the LinuxKPI - the DRM code needs it.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 8176 Build 8404: arc lint + arc unit
Event Timeline
sys/i386/include/atomic.h | ||
---|---|---|
222–224 | There is %zN construct, which prints opcode suffix for operand N. I think it is supported by clang. If you use it, you would avoid passing the instruction mnemonic to macros. Also, I suspect that it would work without suffix at all. |
sys/i386/include/atomic.h | ||
---|---|---|
222–224 | With clang 4.0 I get "error: invalid operand in inline asm," though it works with gcc 4.9. But indeed, it looks like the suffixes aren't needed anyway. |