Hi,
So here's an extended variant of my hack that implements throwing asms.
Like rth proposed I've added a new pseudo clobber, "throw":
int f (void)
{
int x, y;
x = 1;
y = 2;
try {
__asm__ ("" : "=r"(x), "=r"(y) : : "throw");
} catch (...) {
return 2+x+y;
}
return x+y;
}
On 03/30/2012 12:37 PM, Michael Matz wrote:
> Not yet regstrapped, so no rfa, but does this seem sane?
It definitely seems plausible. I can't immediately think of
anything you might have forgotten.
r~
On 03/30/2012 12:43 PM, Richard Henderson wrote:
> On 03/30/2012 12:37 PM, Michael Matz wrote:
>> Not yet regstrapped, so no rfa, but does this seem sane?
>
> It definitely seems plausible. I can't immediately think of
> anything you might have forgotten.
Stating the obvious, but you'd do well t