Generate better code for x86 SIMD get[i] intrinsic
authorBruce Forstall <brucefo@microsoft.com>
Thu, 9 Feb 2017 00:54:31 +0000 (16:54 -0800)
committerBruce Forstall <brucefo@microsoft.com>
Thu, 9 Feb 2017 01:05:30 +0000 (17:05 -0800)
commitff2b9cc09d2f424dd612f1b47407475ce9e27a00
treed6f7146284007cc74c878a85e265a85df8c8cbc5
parent74410e45aebc486f89d98699cedc5cee67168565
Generate better code for x86 SIMD get[i] intrinsic

For get[i] intrinsic, with LONG base type and constant index, we can
compute the decomposed indices statically.

Fixes dotnet/coreclr#9374

Commit migrated from https://github.com/dotnet/coreclr/commit/0cc56a0fbc641c4aff9d98d293fa57ed33bb6487
src/coreclr/src/jit/decomposelongs.cpp