Cleanups; take advantage of gcc asm() features.