HomePhabricator

[CostModel][X86] fptosi/fptoui to i8/i16 are truncated from fptosi to i32

Authored by RKSimon on Jul 6 2021, 9:27 AM.

Description

[CostModel][X86] fptosi/fptoui to i8/i16 are truncated from fptosi to i32

Provide a generic fallback that performs the fptosi to i32 types, then truncates to sub-i32 scalars.

These numbers can be tweaked for specific sse levels, but we should get the default handling in place first.

Details

Committed
RKSimonJul 6 2021, 9:28 AM
Parents
rGf1cbea3e5275: [RISCV] Remove Zvamo implication for v1.0-rc change
Branches
Unknown
Tags
Unknown