Integrated electronic-photonic barrel shifter for high-performance optical computing