target/i386: Split out do_xsave_chk
commita8f68831c6dfd1903555e4402addd5138f78db97
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 8 Apr 2024 19:45:13 +0000 (8 09:45 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 26 May 2024 19:51:50 +0000 (26 12:51 -0700)
tree4534dd0cec63c70ac931a545ff90705a1f5e9b44
parent58955a96d9ce59ada80af88e4ba7c8ecfb79c87f
target/i386: Split out do_xsave_chk

This path is not required by user-only, and can in fact
be shared between xsave and xrstor.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/i386/tcg/fpu_helper.c