diff options
Diffstat (limited to 'gcc/doc/md.texi')
-rw-r--r-- | gcc/doc/md.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 4110542..2997c45 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -367,14 +367,14 @@ commutative arithmetic operators of RTL and whose mode is @var{mode}: @smallexample int -commutative_operator (x, mode) +commutative_integer_operator (x, mode) rtx x; enum machine_mode mode; @{ enum rtx_code code = GET_CODE (x); if (GET_MODE (x) != mode) return 0; - return (GET_RTX_CLASS (code) == 'c' + return (GET_RTX_CLASS (code) == RTX_COMM_ARITH || code == EQ || code == NE); @} @end smallexample |