Commit 1d25122a authored by Lu Yahan's avatar Lu Yahan Committed by V8 LUCI CQ

[riscv64] Enable some optional machine opcodes


Change-Id: I824985690124c74c4287befb4e202100322758e7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3629740
Auto-Submit: Yahan Lu <yahan@iscas.ac.cn>
Commit-Queue: Yahan Lu <yahan@iscas.ac.cn>
Reviewed-by: 's avatarji qiu <qiuji@iscas.ac.cn>
Cr-Commit-Position: refs/heads/main@{#80411}
parent 483400e5
......@@ -3373,7 +3373,11 @@ void InstructionSelector::AddOutputToSelectContinuation(OperandGenerator* g,
MachineOperatorBuilder::Flags
InstructionSelector::SupportedMachineOperatorFlags() {
MachineOperatorBuilder::Flags flags = MachineOperatorBuilder::kNoFlags;
return flags | MachineOperatorBuilder::kWord32ShiftIsSafe |
return flags | MachineOperatorBuilder::kWord32Ctz |
MachineOperatorBuilder::kWord64Ctz |
MachineOperatorBuilder::kWord32Popcnt |
MachineOperatorBuilder::kWord64Popcnt |
MachineOperatorBuilder::kWord32ShiftIsSafe |
MachineOperatorBuilder::kInt32DivIsSafe |
MachineOperatorBuilder::kUint32DivIsSafe |
MachineOperatorBuilder::kFloat64RoundDown |
......
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