Reducing Vulnerability to Speculative Attacks