SAN FRANCISCO -- RF Micro Devices ( RFMD) beat Wall Street expectations in its fiscal second quarter, even as it swung to a loss due to restructuring charges. And the company offered a forecast for the current quarter that wasn't as bleak as those offered by many of its fellow chipmakers, sending shares up in extended trading. The Greensboro, N.C., chipmaker posted a loss of $11. 8 million, or 4 cents a share, vs. net income of $14.5 million, or 7 cents a share at this time last year. RFMD's results included a $17.6 million charge related to a reorganization announced in May that slashed 350 jobs from the payroll. Excluding that charge, as well as stock option expenses and certain other charges, RFMD said it earned 7 cents a share in the current quarter. Analysts polled by Thomson Reuters were looking for 5 cents a share, excluding charges. Shares of RFMD, which closed Tuesday's regular session up 7%, jumped a further 12% to $2.13 in extended trading. The company said sales for the three months ended Sept. 27 totaled $271.7 million, ahead of is own forecast of $250 million to $260 million, as well as the average analyst expectation of $257 million. At this time last year, RFMD had sales of $255.8 million. RFMD said it experienced strong demand for the front-end cell phone components, as well as for its vestigial business selling transceiver chips for cell phones. RFMD announced in May that it would cease further development of transceiver chips -- a market in which it faced increasing competition from giants like Qualcomm ( QCOM) and ST Microelectronics ( STM) -- saving itself $75 million a year in operating expenses.