How do R&D investments impact semiconductor stock performance?

How does investment in research and development influence the market value of semiconductor stocks?,