From: Maciej W. Rozycki Date: Thu, 8 Apr 2021 15:55:49 +0000 (+0100) Subject: VAX: Fix comment for `*bit' pattern's peephole X-Git-Tag: basepoints/gcc-12~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94279aacd061623a160b8dc1b9ea267ee435b0f8;p=thirdparty%2Fgcc.git 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. --- 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")