Understanding Sources of Inefficiency in General-Purpose Chips.