I'm trying to write an asm statement (inline assembly in GCC), that just calls some function, that returns one value in floating-point register and has no operands, but potentially clobbers all the floating-point registers.
asm("call *%1"
: "=t"(result_)
: "d"(code_.data())
: "memory", "cc", "ax", "%st(1)", "%st(2)", "%st(3)", "%st(4)", "%st(5)", "%st(6)", "%st(7)"
);
My problem is that I cannot tell the assembler, that is clobbering the top floating-point register %st(0) too, because I cannot specify "%st(0)" (or "%st") in clobber list (it results in an compilation error).