This is an archive of the discontinued LLVM Phabricator instance.

[Power9] [LLVM] Add __float128 support for trunc to double round to odd
ClosedPublic

Authored by stefanp on Jun 22 2018, 6:49 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

stefanp created this revision.Jun 22 2018, 6:49 AM
lei accepted this revision.Jun 26 2018, 11:33 AM

LGTM. Please feel free to fix the nit comments before committing.

lib/Target/PowerPC/PPCInstrVSX.td
2570 ↗(On Diff #152468)

nit: indent

[(set f64:$vT,
      (int_ppc_truncf128_round_to_odd
        f128:$vB))]>;
test/CodeGen/PowerPC/builtins-ppc-p9-f128.ll
146 ↗(On Diff #152468)

register?

This revision is now accepted and ready to land.Jun 26 2018, 11:33 AM
This revision was automatically updated to reflect the committed changes.