This is an archive of the discontinued LLVM Phabricator instance.

[X86] Add support for STRICT_FP_ROUND/STRICT_FP_EXTEND from/to fp128 to/from f32/f64/f80 in 64-bit mode.
ClosedPublic

Authored by craig.topper on Nov 20 2019, 12:23 PM.

Details

Summary

These need to emit a libcall like we do for the non-strict version.

32-bit mode needs to SoftenFloat support to be implemented for strict FP nodes.

Diff Detail

Event Timeline

craig.topper created this revision.Nov 20 2019, 12:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 20 2019, 12:23 PM

FWIW, this looks good to me ...

pengfei added inline comments.Nov 21 2019, 9:28 PM
llvm/test/CodeGen/X86/fp128-cast-strict.ll
3

We can add option -disable-strictnode-mutation now.

Rebase after changing D70503

Add -disable-strictnode-mutation to the test run lines

pengfei accepted this revision.Nov 25 2019, 5:31 PM

LGTM.

This revision is now accepted and ready to land.Nov 25 2019, 5:31 PM
This revision was automatically updated to reflect the committed changes.