• R
    fix vrregset_t layout and member naming on powerpc64 · 3c59a868
    Rich Felker 提交于
    the mistaken layout seems to have been adapted from 32-bit powerpc,
    where vscr and vrsave are packed into the same 128-bit slot in a way
    that looks like it relies on non-overlapping-ness of the value bits in
    big endian.
    
    the powerpc64 port accounted for the fact that the 64-bit ABI puts
    each in its own 128-bit slot, but ordered them incorrectly (matching
    the bit order used on the 32-bit ABI), and failed to account for vscr
    being padded according to endianness so that it can be accessed via
    vector moves.
    
    in addition to ABI layout, our definition used different logical
    member layout/naming from glibc, where vscr is a structure to
    facilitate access as a 32-bit word or a 128-bit vector. the
    inconsistency here was unintentional, so fix it.
    3c59a868
signal.h 2.1 KB