mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-30 00:32:53 +00:00
[NFC] Referencing manual for reason why subregbit is checked
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
16d21f4524
commit
83948c56bd
@ -382,7 +382,8 @@ DecodeStatus HexagonDisassembler::getSingleInstruction(
|
||||
if (Producer >= Hexagon::W0 && Producer <= Hexagon::W15)
|
||||
Producer = ((Producer - Hexagon::W0) << 1) + SubregBit + Hexagon::V0;
|
||||
else if (SubregBit)
|
||||
// Subreg bit should not be set for non-doublevector newvalue producers
|
||||
// Hexagon PRM 10.11 New-value operands
|
||||
// Nt[0] is reserved and should always be encoded as zero.
|
||||
return MCDisassembler::Fail;
|
||||
assert(Producer != Hexagon::NoRegister);
|
||||
MCO.setReg(Producer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user