Hygon be Bygon

Every processor made in the US has to be of a certain performance level in order to be deemed suitable for export. Companies have pages and pages of documents relating to the performance of their hardware as determined by the metrics that govern the laws in the USA. These metrics include raw processing power, measured in gigaflops (GFLOPs), adjusted peak performance (APP), and/or the composite theoretical performance (CTP). Depending on which territory you export to, one or more of these metrics may apply.

One way around this, if you cannot import the CPU, is to have a license to build it. But more than that, if you can adjust the license and have a custom input into the design, you can relabel the hardware as a homespun device and be somewhat within the realms of plausibility. This is how one of AMD’s core designs, with modifications, has made it into a ‘Chinese’ x86 CPU for the Chinese market. The big plus on the packaging isn’t so much that it avoids import issues, but the ‘中国’ label that comes attached. Then again, one assumes that the people using these CPUs don’t exactly have a choice in what they can buy.

We discovered that these processors have been changed from the Zen 1 design in a number of ways. To say they are carbon copies of the Zen 1 SoCs, which is what a lot of people have suspected, is not true – enough has changed in the design to say that these parts are rebalanced, mostly for worse performance than their Zen 1 counterparts. The integer performance is essentially identical, however the floating point performance has been reduced – common instructions having half the throughput, and random number generation has been adjusted to be both slow and produce lower quality random numbers. The cryptography engines have also been replaced, such that common AES instructions are no longer accelerated but others more specific to the Chinese security, such as SM2, SM3, and SM4, are now included. In our testing, despite the processors showing AVX/AVX2 support when probed, it appeared to be disabled. We suspect this to be more of a firmware bug than a limitation of the Hygon CPU.

The method by which AMD was able to get an edited version of its first generation Zen core design into a ‘Chinese’ designed x86 CPU is highly convoluted. By first creating a joint venture with other Chinese companies called THATIC, then by forming two companies called HMC and Hygon each owned in different amounts between AMD and THATIC, how each business was able to discuss and control parts of the IP was sculpted in order to keep the secret sauce still in AMD’s hands, but allow the Chinese side of the ventures to request modifications. Those requests have to then be approved, and then HMC commissions the chips from GlobalFoundries, while Hygon packages them and sells them to companies like Sugon. We go into detail on this in our overview back on the first page, but suffice to say trying to follow where all the pieces are is almost like playing a game of Risk blindfolded.

With AMD unwilling to discuss on the record any of the finer details of the arrangement or changes to the processors, when asked if they could disclose how the processors were changed, we were told ‘if you find anything out, we may confirm it’. The one time I was able to see a Hygon Dhyana processor was due to a miscommunication with one of the Hygon vendors at Computex, and the person who let me take pictures suddenly stopped communicating with me after the event (I presume to keep his job). It still took over a year from those discussions to get hold of the chips for testing, and only then we were able to obtain the chips due to the current US Entity List ban covering one of the joint venture companies. This essentially killed the project dead, and caused one of the US subsidiaries to be mothballed, allowing some parts to leak onto the market where they had once been meticulously controlled.

Overall these Hygon CPUs offered China an alternative to the Intel market, and arguably something faster than they might have been able to purchase through import restrictions. AMD made some money at a time it badly needed it, but with the success of its Zen 2 platform, I don’t foresee AMD needing to do something similar over the next decade. The nature of the agreement between AMD, its joint venture THATIC, and the joint companies, was only for a single core design, Zen 1, and not Zen 2, limiting its competitiveness. Moreover, the US Entity List ban on one of the joint venture companies, for all intents and purposes, has made the project dead. The Chinese Hygon Dhyana x86 processors will still be in use by governments and other such organizations for a number of years to come, but this is bound to end up one of the oddest annals of the history of semiconductors.

Benchmarks: Windows
Comments Locked

133 Comments

View All Comments

  • s.yu - Sunday, March 1, 2020 - link

    It seems quite clearly sarcastic to me.
  • jospoortvliet - Monday, March 2, 2020 - link

    Sarcasm doesn't translate well to online communication... sadly.
  • Sailor23M - Thursday, February 27, 2020 - link

    “ It’s amusing that this menu is called ‘Moksha Common Options’. Moksha being a word commonly associated with ‘enlightenment’ or ‘release’. This is either a clever word play, or someone digging out a non-contextual old Chinese to English dictionary in translation.“

    Moksha is a Sanskrit word, the oldest language in the world, its not Chinese.
  • Oxford Guy - Thursday, February 27, 2020 - link

    "Before everyone leaps to ‘creating backdoors for the Chinese government"

    Yes, because apparently the first thing China demanded of AMD was the removal of PSP, a backdoor created for the American government (to spy on Americans and others).
  • dickeywang - Tuesday, May 12, 2020 - link

    well said.
    Virtually all governments are spying on people, b/c that their job to watch for bad people, whatever they see fits. If people want to complain about that, go complain to the officers who scan your body with x-ray machine in the airport.
    In addition, from a tech point of view, the American government has the most advanced technology.

    It is interesting to see so many people in the U.S. believe that people from other country, which is thousands of miles away, are actively planning to come and take away their sh*t, while their own government launched so many wars over the last 300 years in which they took land from the Mexicans, the Spanish, and oil from the people in the Mideast. Not to mention that the Wall street bankers and politicians in the capital hill are actively taking the American's tax money and send them to big corporations.

    Talking about missing the big picture...
  • warreo - Friday, February 28, 2020 - link

    Great article Ian/Wendell, really informative write-up on a super interesting topic!

    I still can't believe that AMD was able to get the DoC, DoD, et al to sign off on this deal. And that Intel did not do a single thing to stop it. The tech may have been old, and AMD may have obfuscated its IP as much as possible, but still...as you Ian/Wendell said, one of the oddest annals of the history of semis.
  • Quantumz0d - Friday, February 28, 2020 - link

    I mentioned earlier that elites allowed it. Guess who ? The clue is Intel Israel. I believe the old Intel is dead esp with all the PC drivel going on in thr HR dept and BK firing pretext.
  • Notmyusualid - Sunday, March 8, 2020 - link

    Nuts.
  • Hifihedgehog - Friday, February 28, 2020 - link

    Coronavirus not included ;P
  • GreenReaper - Friday, February 28, 2020 - link

    Hopefully you enabled the C-states that show as disabled in that options photo before benchmarking, as otherwise it almost certainly wouldn't be able to boost to good levels for single-threaded or low-core-count operation (because all the cores are in C0).

Log in

Don't have an account? Sign up now