On Wed, Jan 29, 2020 at 05:19:19PM +0100, Florian Weimer wrote: > * Segher Boessenkool: > >> But GCC doesn't expose them as integers to C code, so you can't do much > >> without them. > > > > Sure, it doesn't expose any other registers directly, either. > > I can use r0 & 1 with a register variable r0 to check a bit.
That is not reliable, or supported, and it *will* break. This is explicit for local register asm, and global register asm is underdefined. > I don't > think writing a similar check against a condition register is possible > today. That's right. You cannot express CCmode (MODE_CC) values in C at all. Segher
