Commit 5d8f3b46 authored by Ng Zhi An's avatar Ng Zhi An Committed by Commit Bot

[ia32] Replace c-style cast with brace initialization.

Bug: v8:10506
Change-Id: I896d0d614524bb9515593fb1fb2b1e3e9892a026
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2225938Reviewed-by: 's avatarDeepti Gandluri <gdeepti@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68122}
parent 1b62ffa8
...@@ -3687,7 +3687,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( ...@@ -3687,7 +3687,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
// Out-of-range indices should return 0, add 112 so that any value > 15 // Out-of-range indices should return 0, add 112 so that any value > 15
// saturates to 128 (top bit set), so pshufb will zero that lane. // saturates to 128 (top bit set), so pshufb will zero that lane.
__ Move(mask, (uint32_t)0x70707070); __ Move(mask, uint32_t{0x70707070});
__ Pshufd(mask, mask, 0x0); __ Pshufd(mask, mask, 0x0);
__ Paddusb(mask, i.InputSimd128Register(1)); __ Paddusb(mask, i.InputSimd128Register(1));
__ Pshufb(dst, mask); __ Pshufb(dst, mask);
......
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