From 94279aacd061623a160b8dc1b9ea267ee435b0f8 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Thu, 8 Apr 2021 16:55:49 +0100 Subject: [PATCH] VAX: Fix comment for `*bit' pattern's peephole The comment for a peephole provided for the `*bit' 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' pattern's peephole. --- gcc/config/vax/vax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/vax/vax.md b/gcc/config/vax/vax.md index 0a2c86cef9a8..5b1b392b8671 100644 --- a/gcc/config/vax/vax.md +++ b/gcc/config/vax/vax.md @@ -1228,7 +1228,7 @@ ;; the "*bit" 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") -- 2.47.2