x86: split off integer helpers