ac: add v2i32 to the common code and use it