Intel to slash 12,000 jobs as it moves away from PCs