This is an archive of the discontinued LLVM Phabricator instance.

[Power9]Legalize and emit code for converting Unsigned HWord/Char to Quad-Precision
ClosedPublic

Authored by lei on Apr 10 2018, 9:46 AM.

Details

Summary

Legalize and emit code for converting unsigned HWord/Char to QP:

xscvsdqp
xscvudqp

Only covering patterns for unsigned forms cause we don't have part-word sign-extending integer loads into VSX registers.

Diff Detail

Event Timeline

lei created this revision.Apr 10 2018, 9:46 AM
lei updated this revision to Diff 142229.Apr 12 2018, 11:52 AM

Update test case checks.

lei updated this revision to Diff 142233.Apr 12 2018, 12:35 PM
nemanjai accepted this revision.Apr 17 2018, 7:11 PM

LGTM.

test/CodeGen/PowerPC/f128-conv.ll
2

-verify-machineinstrs

This revision is now accepted and ready to land.Apr 17 2018, 7:11 PM
This revision was automatically updated to reflect the committed changes.