Small rename of shuffle and swizzle #316
Description
I propose to rename v8x16.shuffle
and v8x16.swizzle
to i8x16.shuffle
and i8x16.swizzle
, this is a tiny change from v
prefix, to i
.
The purpose of the v
is to indicate that we are not concerned with the underlying type. The rename does not change this fact. The purpose of the rename is to make the spec slightly simpler, and have less special cases.
If #297 happens (likely, given lack of opposition), these 2 instructions will be the only special instructions that begin with v8x16
. If we can use i8x16.swizzle
and i8x16.shuffle
, it will simplify the specification slightly, since there is no need to talk about v8x16
as a syntax.
Additionally, the rename will be consistent with other instructions, like the horizontal reductions i32x4.all_true
, which applies the same if the instruction was f32x4.all_true
.