improve support for realvec arithmetic