Quantcast
Channel: lkml.org : Shesha Sreenivasamurthy
Viewing all articles
Browse latest Browse all 1267

Re: [RFC PATCH 3/4] x86/asm: Make alternative macro interfaces mor ...

$
0
0
Linus Torvalds writes: (Summary) And no, we don't actually seem to have anybody using those right now, but I did find people using both OUTPUT and INPUT in some C files, so those names are clearly not very unique or distinct.
names are clearly not very unique or distinct.
On the whole, I'm not entirely sure this is the right approach. I think we should
think we should
(a) approach clang about their obvious bug (a compiler that clobbers

[...]

rsp because we mark it as in/out is clearly buggy)
(b) ask gcc people if there's some other alternative that would work with clang as-is rather than the "mark %rsp register as clobbered" with clang as-is rather than the "mark %rsp register as clobbered" I couldn't actually find the %rsp trick in any docs, I assume it came from discussions with gcc developers directly.

Viewing all articles
Browse latest Browse all 1267

Trending Articles