This patch adds the DFP compare instructions:
dcmpu, dcmpuq, dcmpo, dcmpoq
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I think this patch looks OK to me, but I had one question regarding it.
llvm/lib/Target/PowerPC/PPCInstrDFP.td | ||
---|---|---|
40 | I noticed some other compare instructions set hasSideEffects to 0 accordingly, but I was wondering if we need to do that here? |
Comment Actions
Missed a few flags for the instructions. Added them now.
llvm/lib/Target/PowerPC/PPCInstrDFP.td | ||
---|---|---|
40 | Actually, I seem to have missed a few flags here and not just that one. I'll add the flags for this now. |
Comment Actions
Thanks for addressing my comment, Stefan.
I do not have any further comments/questions, so I'm going to approve this. LGTM.
I noticed some other compare instructions set hasSideEffects to 0 accordingly, but I was wondering if we need to do that here?