Skip to content

Fix avx512 compilation (follow up !2111)

Olli Lupton requested to merge olupton_prmuonpids_avx512 into master

!2111 (merged) broke compilation using avx512 thanks to some missing bitshift operator overloads.

This MR fixes it by changing the bitfield get/set operations to not use bitshifts. The first commit is necessary, the second and subsequent ones are optional (but makes the code more succinct).

cc: @sstahl @ahennequ

Edited by Rosen Matev

Merge request reports