This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Fix V_FMA_F16 selection on GFX9
ClosedPublic

Authored by kzhuravl on Nov 14 2018, 2:01 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

kzhuravl created this revision.Nov 14 2018, 2:01 PM
This revision is now accepted and ready to land.Nov 14 2018, 2:06 PM

Is this the one that zeros the high bits vs. leaves them intact?

This revision was automatically updated to reflect the committed changes.

Is this the one that zeros the high bits vs. leaves them intact?

Did you mean?

If op_sel[3] is 0 Result is written to 16 LSBs of destination VGPR and hi 16 bits are preserved.
If op_sel[3] is 1 Result is written to 16 MSBs of destination VGPR and lo 16 bits are preserved.