[committed] VAX: Fix comment for `*bit<mode>' pattern's peephole

Maciej W. Rozycki macro@orcam.me.uk
Thu Apr 8 15:57:11 GMT 2021

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.

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

 Committed as an obvious trivial inline documentation fix.

 gcc/config/vax/vax.md |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: gcc/gcc/config/vax/vax.md
--- gcc.orig/gcc/config/vax/vax.md
+++ gcc/gcc/config/vax/vax.md
@@ -1228,7 +1228,7 @@
 ;; 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.
      [(set (match_operand:VAXint 0 "register_operand")

More information about the Gcc-patches mailing list