Page MenuHomePhabricator

[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 Wed, Nov 20, 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.Wed, Nov 20, 12:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptWed, Nov 20, 12:23 PM

FWIW, this looks good to me ...

pengfei added inline comments.Thu, Nov 21, 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.Mon, Nov 25, 5:31 PM

LGTM.

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