It seems that PIE had two genders: animate and inanimate which map roughly to non-o-stem masculine/feminine and neuter.

And both Dutch and Swedish have reverted to this condition - the two genders are "common" (representing masculine and feminine) and neuter. German of course still operates 3 genders (a curse be upon it!)