riscv-v-spec-0.10 page 59
The fourth case of instruction description is added
Differential D100115
[RISCV] Add missing part of instruction vmsge {u}. VX joker881 on Apr 8 2021, 8:28 AM. Authored by
Details
riscv-v-spec-0.10 page 59 The fourth case of instruction description is added
Diff Detail Event TimelineComment Actions Upload patches with full context using git diff -U99999 as documented here https://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface
Comment Actions Do we need this case? Case 4 is any vd. It means (vd == v0) || (vd != v0), right? These two cases are already covered by case 2 and case 3. Comment Actions I think this is the case that a temp register is provided and the destination isn't v0. The user probably should use case 2 by not providing the temp register. But if they give the temp register should we accept it and match the spec or error for the destination not being v0(what we currently do)? Comment Actions If the destination is not v0, case 2 is better than case 4. There should be no need to provide the temp register. I think the case 4 is useful when we could not determine vd is v0 or not, but it should not be the case in AsmParser. The registers in MCInst should be physical registers. Comment Actions What does the GNU assembler do? Can someone write inline assembly that requires this? If they let the compiler allocate the registers for the inline assembly we would need to support any register. Comment Actions Got it. Maybe we need this pattern for inline asm. I have no strong opinion to oppose this patch. Just curious when we need it. Comment Actions Your commit description was not formatted correctly. You can read other commits for references. Differential Revision: was not on a new line so the differential was not automatically closed when you pushed the commit. |
clang-format: please reformat the code