Follow up of commit r172472.
Refactor the big if/else sequence into one string switch for ARM subtype selection.