Get the Whitepaper called Spectre Attacks: Exploiting Speculative Execution. It discusses how to trick error-free applications into giving up secret information.
You can download it from the following link: https://packetstormsecurity.com/files/download/145646/spectre-attacks-exploiting-sepculative-execution.pdf
Source: https://packetstormsecurity.com/files/145646/Spectre-Attacks-Exploiting-Speculative-Execution.html

