The source array must be value-aligned with the destination array The shift-amount array should be value-aligned with the destination array, with replicated alignment over dimension dim (see section 4.5).