Consolidated i386/x86_64 code