]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
VAX: Fix comment for `*bit<mode>' pattern's peephole
authorMaciej W. Rozycki <macro@orcam.me.uk>
Thu, 8 Apr 2021 15:55:49 +0000 (16:55 +0100)
committerMaciej W. Rozycki <macro@orcam.me.uk>
Thu, 8 Apr 2021 15:55:49 +0000 (16:55 +0100)
The comment for a peephole provided for the `*bit<mode>' pattern to be
produced in comparison elimination from a sequence involving a bitwise
complement operation of one input operand followed by a bitwise AND
operation between a bitwise complement of said intermediate result and
the other input operand (which corresponds to a sequence of MCOM and BIC
machine instructions) incorrectly refers to the first operation as MNEG
(which is the machine instruction for arithmetic negation) rather than
MCOM as it is supposed to.  Fix it.

gcc/
* config/vax/vax.md: Fix comment for `*bit<mode>' pattern's
peephole.

gcc/config/vax/vax.md

index 0a2c86cef9a843713e09b24087ab9e8d4e34355c..5b1b392b867103d0617f269573da0ee48a57f729 100644 (file)
 ;; the "*bit<mode>" pattern does for the purpose of the compare
 ;; elimination pass.  Try to get rid of the extra operation by hand
 ;; and where the sequence is used to set the condition codes only
-;; convert MNEG/BIC => BIT.
+;; convert MCOM/BIC => BIT.
 (define_peephole2
   [(parallel
      [(set (match_operand:VAXint 0 "register_operand")