diff mbox series

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

Message ID alpine.DEB.2.21.2104081729510.65251@angie.orcam.me.uk
State Accepted
Headers show
Series [committed] VAX: Fix comment for `*bit<mode>' pattern's peephole | expand

Commit Message

Maciej W. Rozycki April 8, 2021, 3:57 p.m. UTC
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.
---
Hi,

 Committed as an obvious trivial inline documentation fix.

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

gcc-vax-mcom-bic-bit.diff
diff mbox series

Patch

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.
 (define_peephole2
   [(parallel
      [(set (match_operand:VAXint 0 "register_operand")