Skip to content

Instantly share code, notes, and snippets.

Dougall Johnson dougallj

Block or report user

Report or block dougallj

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
@dougallj
dougallj / asm.s
Created Jan 3, 2018
x86-64 Speculative Execution Harness
View asm.s
global _time_load
global _cache_flush
global _run_attempt
extern _bools
extern _values
extern _pointers
section .text
@dougallj
dougallj / draw-patterns.c
Last active Sep 16, 2016
All distinct 4x4 patterns
View draw-patterns.c
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#define WIDTH_IN_BLOCKS 29
#define HEIGHT_IN_BLOCKS 28
#define PADDING 4
#define BLOCK_WIDTH (4 * 4)
#define BLOCK_HEIGHT (4 * 4)
You can’t perform that action at this time.