ldc-developers/ldc — pull request #321 by redstar (2013-03-31 03:17:48+00:00)
Title: Allow vector type in shift operation.

Shifting of vectors is a common operation. This extensions supports shifting a vector by an integral type or another vector. E.g.

uint4 v = ...;
...
v = v << 1;

or

uint4 v = ..., w = ...;
...
v = v << w;

(DMD supports this with the `core.simd` opcodes for PSLLD etc.)