aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@orcam.me.uk>2021-04-08 16:55:49 +0100
committerMaciej W. Rozycki <macro@orcam.me.uk>2021-04-08 16:55:49 +0100
commit94279aacd061623a160b8dc1b9ea267ee435b0f8 (patch)
tree7818e16ea8a1e9cf4520afb3f514f3250f7089a9 /gcc
parent559d2f1e0eafd96c19dc5324db1a466286c0e7fc (diff)
downloadgcc-94279aacd061623a160b8dc1b9ea267ee435b0f8.zip
gcc-94279aacd061623a160b8dc1b9ea267ee435b0f8.tar.gz
gcc-94279aacd061623a160b8dc1b9ea267ee435b0f8.tar.bz2
VAX: Fix comment for `*bit<mode>' pattern's peephole
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/vax/vax.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/vax/vax.md b/gcc/config/vax/vax.md
index 0a2c86c..5b1b392 100644
--- a/gcc/config/vax/vax.md
+++ b/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")