fp_type
enum fp_type *fp_type;
enum fp_type to_save;
enum fp_type fp_type;
enum fp_type fp_type; /* registers FPSIMD or SVE? */
current->thread.fp_type = FP_STATE_SVE;
current->thread.fp_type = FP_STATE_FPSIMD;
last->fp_type = ¤t->thread.fp_type;
if (current->thread.fp_type == FP_STATE_SVE)
switch (current->thread.fp_type) {
WARN_ON_ONCE(current->thread.fp_type != FP_STATE_SVE);
WARN_ON_ONCE(current->thread.fp_type != FP_STATE_FPSIMD);
*last->fp_type = FP_STATE_SVE;
*last->fp_type = FP_STATE_FPSIMD;
task->thread.fp_type = FP_STATE_FPSIMD;
if (task->thread.fp_type == FP_STATE_SVE)
if (task->thread.fp_type != FP_STATE_SVE)
dst->thread.fp_type = FP_STATE_FPSIMD;
target->thread.fp_type = FP_STATE_SVE;
if (active && target->thread.fp_type == FP_STATE_SVE)
target->thread.fp_type = FP_STATE_FPSIMD;
if (add_all || current->thread.fp_type == FP_STATE_SVE ||
current->thread.fp_type = FP_STATE_FPSIMD;
} else if (current->thread.fp_type == FP_STATE_SVE) {
current->thread.fp_type = FP_STATE_SVE;
fp_state.fp_type = &vcpu->arch.fp_type;