diff options
| author | Colin LeMahieu <colinl@codeaurora.org> | 2016-02-01 18:15:39 +0000 |
|---|---|---|
| committer | Colin LeMahieu <colinl@codeaurora.org> | 2016-02-01 18:15:39 +0000 |
| commit | 6fdfa3dc32cb883c268f75c789ae23e48a11bf64 (patch) | |
| tree | ef4abd2e77c8d3a0edb59a15f0778fe64f7253cb /llvm/lib/Target/Hexagon | |
| parent | e5a7990dbe8d5c45541a7d56b07d64d20b1fe002 (diff) | |
| download | bcm5719-llvm-6fdfa3dc32cb883c268f75c789ae23e48a11bf64.tar.gz bcm5719-llvm-6fdfa3dc32cb883c268f75c789ae23e48a11bf64.zip | |
[NFC] Referencing manual for reason why subregbit is checked
llvm-svn: 259380
Diffstat (limited to 'llvm/lib/Target/Hexagon')
| -rw-r--r-- | llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp b/llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp index fc39d096007..95352fca8e9 100644 --- a/llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp +++ b/llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp @@ -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); |

