Advanced Micro Devices’s quarterly revenue handsomely beat Wall Street estimates, and the chipmaker said it signed a $293 million licensing agreement with a Chinese investment group.
Shares of the company surged 23% after hours.
AMD said it signed an agreement licensing its processor technology to a joint venture it has formed with Tianjin Haiguang Advanced Technology Investment Co. (THATIC), an investment unit of Chinese Academy of Sciences.
Get Data Sheet, Fortune’s technology newsletter.
The venture will develop processors tailored for the Chinese server market, AMD said.
The company has been struggling with weak demand from China, its biggest market, as well as stiff competition from Intel and Nvidia.
AMD’s first-quarter revenue fell 19.2% to $832 million, but beat average analysts’ estimate of $818.2 million, according to Thomson Reuters.
Net loss narrowed to $109 million, or 14 cents per share, in the first quarter ended March 26, from $180 million, or 23 cents per share, a year earlier.
Excluding items, AMD posted a loss of 12 cents per share, compared with analysts’ estimate of a 13 cents per share loss.