[cfe-dev] RFC: Support x86 interrupt and exception handlers
Joerg Sonnenberger via cfe-dev
cfe-dev at lists.llvm.org
Mon Sep 21 13:56:25 PDT 2015
On Mon, Sep 21, 2015 at 01:45:41PM -0700, H.J. Lu via cfe-dev wrote:
> The main purpose of x86 interrupt attribute is to allow programmers
> to write x86 interrupt/exception handlers in C WITHOUT assembly
> stubs to avoid extra branch from assembly stubs to C functions.
Let's take just this statement. Are you sure that the call/ret pair for
such a stub has *any* significant impact on the interrupt latency?
I'm quite doubtful of that. That's completely ignoring the fact that raw
interrupt or exception latency is generally not an issue.
Joerg
More information about the cfe-dev
mailing list