Vector coprocessor sharing techniques for multicores: performance and energy gains