Peter Stuge wrote:
Carl-Daniel Hailfinger wrote:
The code does not really support more than one CPU "type" at a time.
CAR code for K8/Fam10 autodetects the CPU and issues the right commands based on autodetection.
That's fine, but it's not worth much without actually supporting both CPU types later on in the binary as well..
Yes, and no. We used that codeto be able to switch between two completely different AMD mainboards (different chipsets and different CPUs) instead of doing normal/fallback. On K8/Fam10 this choice is done after enabling CAR. So just having unified CAR is worth a whole lot already.
Apart from that, it would be very nice to unify the later K8/Fam10 CPU code of course. Maybe you want to give it a try?
Stefan