Re: [PATCH 2/4] Mark IFN_COMPLEX_MUL as commutative

2021-11-11 Thread Richard Biener via Gcc-patches
On Wed, Nov 10, 2021 at 1:51 PM Richard Sandiford via Gcc-patches wrote: > > Mark IFN_COMPLEX_MUL as commutative. > > Tested on aarch64-linux-gnu and x86_64-linux-gnu. OK to install? OK > Richard > > > gcc/ > * internal-fn.c (commutative_binary_fn_p): Handle IFN_COMPLEX_MUL. > > gcc/tes

[PATCH 2/4] Mark IFN_COMPLEX_MUL as commutative

2021-11-10 Thread Richard Sandiford via Gcc-patches
Mark IFN_COMPLEX_MUL as commutative. Tested on aarch64-linux-gnu and x86_64-linux-gnu. OK to install? Richard gcc/ * internal-fn.c (commutative_binary_fn_p): Handle IFN_COMPLEX_MUL. gcc/testsuite/ * gcc.target/aarch64/sve/complex_mul_1.c: New test. --- gcc/internal-fn.c