Shares of Texas Instruments (TXN - Get Report) jumped in after-hours trading Tuesday after the computer-chip maker posted better-than-expected results and an upbeat forecast for the current quarter.

The stock was rising $6.93, or 5.8%, to $127 in recent action. Heading into earnings, shares of TI were up about 27%.

Texas Instruments posted second-quarter earnings of $1.36 a share on sales of $3.67 billion. Analysts surveyed by FactSet had expected the company to report earnings of $1.22 a share on sales of $3.60 billion.

The company said it expects revenue in the range of $3.65 billion to $3.95 billion, and earnings per share between $1.31 and $1.53 in the third quarter. Analysts had been forecasting revenue of $3.8 billion and earnings of $1.38 a share.