Skip to content

Commit 0c7d897

Browse files
committed
[RISCV] Rename DecoderNamespace for XCVsimd to be consistent with other XCV extensions. NFC
1 parent ad7f020 commit 0c7d897

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ DecodeStatus RISCVDisassembler::getInstruction(MCInst &MI, uint64_t &Size,
567567
"CORE-V MAC custom opcode table");
568568
TRY_TO_DECODE_FEATURE(RISCV::FeatureVendorXCValu, DecoderTableXCValu32,
569569
"CORE-V ALU custom opcode table");
570-
TRY_TO_DECODE_FEATURE(RISCV::FeatureVendorXCVsimd, DecoderTableCoreVSIMD32,
570+
TRY_TO_DECODE_FEATURE(RISCV::FeatureVendorXCVsimd, DecoderTableXCVsimd32,
571571
"CORE-V SIMD extensions custom opcode table");
572572
TRY_TO_DECODE_FEATURE(RISCV::FeatureVendorXCVbi, DecoderTableXCVbi32,
573573
"CORE-V Immediate Branching custom opcode table");

llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ class CVInstSIMDRR<bits<5> funct5, bit F, bit funct1, bits<3> funct3,
311311
let Inst{14-12} = funct3;
312312
let Inst{11-7} = rd;
313313
let Inst{6-0} = opcode.Value;
314-
let DecoderNamespace = "CoreVSIMD";
314+
let DecoderNamespace = "XCVsimd";
315315
}
316316

317317
class CVInstSIMDRI<bits<5> funct5, bit F, bits<3> funct3, RISCVOpcode opcode,
@@ -329,7 +329,7 @@ class CVInstSIMDRI<bits<5> funct5, bit F, bits<3> funct3, RISCVOpcode opcode,
329329
let Inst{14-12} = funct3;
330330
let Inst{11-7} = rd;
331331
let Inst{6-0} = opcode.Value;
332-
let DecoderNamespace = "CoreVSIMD";
332+
let DecoderNamespace = "XCVsimd";
333333
}
334334

335335
class CVSIMDRR<bits<5> funct5, bit F, bit funct1, bits<3> funct3,

0 commit comments

Comments
 (0)