fbb8b6b9ab
return actual size of register, 0 if not applicable, -1 of legacy implementation.
return actual size of register, 0 if not applicable, -1 of legacy implementation.