Add td definitions and asm/disasm tests for the quantum conversion
instructions in ISA 3.1 section 5.6.5
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Mostly looks good just a handful of comments.
| llvm/lib/Target/PowerPC/PPCInstrDFP.td | ||
|---|---|---|
| 32 | I feel like this should still be FRTB like the parent class. | |
| 130 | nit: | |
| 140 | I don't know if it's easier but you can do something like: let XX = 1 in {
def DCTFIXQQ: XForm_FRTB5<63, 994, (outs vrrc:$FRT), (ins fpairrc:$FRB),
"dctfixqq $FRT, $FRB", [], IIC_FPGeneral>;
} // XX = 1And then you don't need the extra class at all. I'm not sure if that's easier / clearer in this situation. | |
Just a comment regarding indentation but otherwise I think LGTM, too.
| llvm/lib/Target/PowerPC/PPCInstrDFP.td | ||
|---|---|---|
| 94 | Could we fix the indentation on the second lines of each instruction definition? | |
I feel like this should still be FRTB like the parent class.