HomePhabricator

[X86][AVX] isHorizontalBinOp - relax no-lane-crossing limit for AVX1-only…

Authored by RKSimon on Wed, Jul 29, 11:52 AM.

Description

[X86][AVX] isHorizontalBinOp - relax no-lane-crossing limit for AVX1-only targets.

Instead of never accepting v8f32/v4f64 FHADD/FHSUB if the input shuffle masks cross lanes, perform the matching and determine if the post shuffle mask simplifies to a 'whole lane shuffle' mask - in which case we are guaranteed to cheaply perform this as a VPERM2F128 shuffle.

Details

Committed
RKSimonWed, Jul 29, 12:49 PM
Parents
rGe980913831c1: [Tests] Split a file for ease of update
Branches
Unknown
Tags
Unknown