+#ifdef __ASM_INTR_DIAGNOSIS
+ movl %eax, (debug_resv + 8)
+ movl iesp(%esp), %eax
+ movl exeip(%eax), %eax
+ movl %eax, (debug_resv + 4) # eip
+#endif
+ // movl __current, %eax
+ // movl proc_fxstate(%eax), %eax
+
+ // test %eax, %eax # do we have stored x87 context?
+
+ movl ics(%esp), %eax
+ andl $3, %eax
+ jz 1f
+
+ movl iuesp(%esp), %eax
+ andl $stack_alignment, %eax
+ subl $512, %eax
+ fxrstor (%eax)
+
+1:
+ popl %eax # discard isr_param::depth