Design and evaluation of an adaptable vector coprocessor for multicores