Previously, CodeGen checked first src operand type to determine if omod is supported by instruction. This isn't correct for some instructions: e.g. V_CMP_EQ_F32 has floating-point src operands but doesn't support omod.
Changed .td files to check dst operand type instead of src operand.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 8185 Build 8185: arc lint + arc unit
Event Timeline
Comment Actions
There should be an assembler test for omod being rejected with these. Doesn't the same also apply for clamp?
Comment Actions
I added some assembler tests.
There are some differences with clamp: since GFX8 clamp is allowed in VOPC instructions and instructions with integer output.