This page has the source code and makefile for a small x86_64 program to compute the Euclidean algorithm.

All in one tar file: gcd-x86.tar