Skip to content

Instantly share code, notes, and snippets.

Dean Bilotti DeanBilotti

  • Oxford
Block or report user

Report or block DeanBilotti

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ErikAugust
ErikAugust / spectre.c
Last active Sep 13, 2019
Spectre example code
View spectre.c
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#ifdef _MSC_VER
#include <intrin.h> /* for rdtscp and clflush */
#pragma optimize("gt",on)
#else
#include <x86intrin.h> /* for rdtscp and clflush */
#endif
You can’t perform that action at this time.