There's no neg.f16 instruction, so negation has to be done via subtraction from zero.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 3045 Build 3045: arc lint + arc unit
Paths
| Differential D28876
[NVPTX] Fix lowering of fp16 ISD::FNEG. ClosedPublic Authored by tra on Jan 18 2017, 3:44 PM.
Details Summary There's no neg.f16 instruction, so negation has to be done via subtraction from zero.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 18 2017, 4:10 PM Closed by commit rL292452: [NVPTX] Fix lowering of fp16 ISD::FNEG. (authored by tra). · Explain WhyJan 18 2017, 4:25 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 84898 lib/Target/NVPTX/NVPTXISelLowering.cpp
test/CodeGen/NVPTX/f16-instructions.ll
|