Skip to content

Commit d4b58fe

Browse files
ngzhianCommit Bot
authored andcommitted
[wasm-simd][ia32] Fix all_true operand to be register
all_true uses pcmpeqd which takes a memory operand, but needs to be 128-bit aligned, which we don't support yet. Bug: v8:9198 Change-Id: Ia0caaaa76b1103ba538252181ef93e8557fb4739 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2218887 Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Commit-Queue: Zhi An Ng <zhin@chromium.org> Cr-Commit-Position: refs/heads/master@{#68027}
1 parent fbdefae commit d4b58fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/backend/ia32/instruction-selector-ia32.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2407,7 +2407,7 @@ SIMD_ANYTRUE_LIST(VISIT_SIMD_ANYTRUE)
24072407
IA32OperandGenerator g(this); \
24082408
InstructionOperand temps[] = {g.TempRegister(), g.TempSimd128Register()}; \
24092409
Emit(kIA32##Opcode, g.DefineAsRegister(node), \
2410-
g.UseUnique(node->InputAt(0)), arraysize(temps), temps); \
2410+
g.UseUniqueRegister(node->InputAt(0)), arraysize(temps), temps); \
24112411
}
24122412
SIMD_ALLTRUE_LIST(VISIT_SIMD_ALLTRUE)
24132413
#undef VISIT_SIMD_ALLTRUE

0 commit comments

Comments
 (0)