On Sun, 24 Nov 2024, Al Viro wrote: > Both msa_get() and msa_set() have very odd logics: > > } else if (sizeof(target->thread.fpu.fpr[0]) == regset->size) { > > and > > if (sizeof(target->thread.fpu.fpr[0]) == regset->size) { > > resp. [...] > So it looks like both checks are constant true. What am I missing here? FWIW ISTM these are leftovers from an earlier version or suchlike. FAOD I haven't had anything to do with this code so this is based solely on visual inspection. Also no MSA hardware available here to verify anything (but QEMU might do). HTH. Maciej