On 11/01/2019 09:50, Jan Beulich wrote:
> The way the instruction invocations are coded, it is compiler version
> dependent whether things work: With old gcc, fail_{,in}valid will not
> get touched and hence remain at their initial values, while with newer
> gcc evaluation of the status flags occurs outside of the asm(), i.e.
> also when an exception was received (in which case EFLAGS didn't change
> from its value before the faulting instruction).
>
> Since it is more logical anyway to check for a possible exception first,
> do so uniformly instead of trying to fiddle with the asm() in some way.
>
> Signed-off-by: Jan Beulich <[email protected]>Ouch - that is a nasty corner case I hadn't considered with the condition code outputs. Reivewed-by: Andrew Cooper <[email protected]> _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
