On 6/11/24 10:26, Stefan Schulze Frielinghaus wrote:
This implements a V2SF -> V2DF extend.

gcc/ChangeLog:

        * config/s390/vector.md (*vmrhf<mode>): New.
        (extendv2sfv2df2): New.

gcc/testsuite/ChangeLog:

        * gcc.target/s390/vector/vec-extend-3.c: New test.

Since we already have a *vmrhf pattern, should we perhaps add something to the name to make it easier to distinguish in the rtl dumps? You have added the mode already, but perhaps something like *vmrhf_half<mode> or something like this?

Ok with or without that change. Thanks!


Andreas


Reply via email to