For older aircrafts FCOM says:
The characteristic speeds displayed on the PFD are computed by the Flight Augmentation Computer (FAC), according to aerodynamic data.
For newer:
The characteristic speeds displayed on the PFD are computed by the Flight Augmentation Computer (FAC), according to the FMS weight data (for PFD/MCDU display consistency and accuracy purposes), and aerodynamic data as a backup.