The commutative attribute was once used by the SVE conditional binary
expanders, but it's now dead code.

Tested on aarch64-linux-gnu (with and without SVE) and aarch64_be-elf.
Applied as r274182.

Richard


2019-08-07  Richard Sandiford  <richard.sandif...@arm.com>

gcc/
        * config/aarch64/iterators.md (commutative): Remove.

Index: gcc/config/aarch64/iterators.md
===================================================================
--- gcc/config/aarch64/iterators.md     2019-08-07 19:27:50.000000000 +0100
+++ gcc/config/aarch64/iterators.md     2019-08-07 19:27:55.414720593 +0100
@@ -1925,10 +1925,3 @@ (define_int_attr sve_fmad_op [(UNSPEC_CO
                              (UNSPEC_COND_FMLS "fmsb")
                              (UNSPEC_COND_FNMLA "fnmad")
                              (UNSPEC_COND_FNMLS "fnmsb")])
-
-(define_int_attr commutative [(UNSPEC_COND_ADD "true")
-                             (UNSPEC_COND_SUB "false")
-                             (UNSPEC_COND_MUL "true")
-                             (UNSPEC_COND_DIV "false")
-                             (UNSPEC_COND_MIN "true")
-                             (UNSPEC_COND_MAX "true")])

Reply via email to