Commit fb4f4a81 authored by Zhi An Ng's avatar Zhi An Ng Committed by Commit Bot

[wasm-simd] Better name for extract lane operators

The current name for the operator (for printing) is "Extract lane",
without an indication of the shape. Add the shape (I32x4) and sign (for
I8x16 and I16x8, s or u) to the name so that it is clearer what
operation it is.

Change-Id: I1ab30dee5ae820c378cdef8233de1c365dd126c5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2534630Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71217}
parent f8341956
......@@ -1676,8 +1676,8 @@ const Operator* MachineOperatorBuilder::Word64PoisonOnSpeculation() {
int32_t lane_index) { \
DCHECK(0 <= lane_index && lane_index < lane_count); \
return zone_->New<Operator1<int32_t>>( \
IrOpcode::k##Type##ExtractLane##Sign, Operator::kPure, "Extract lane", \
1, 0, 0, 1, 0, 0, lane_index); \
IrOpcode::k##Type##ExtractLane##Sign, Operator::kPure, \
"" #Type "ExtractLane" #Sign, 1, 0, 0, 1, 0, 0, lane_index); \
}
EXTRACT_LANE_OP(F64x2, , 2)
EXTRACT_LANE_OP(F32x4, , 4)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment