]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[RISC-V][PR target/118241] Fix data prefetch predicate/constraint for RISC-V
authorJeff Law <jlaw@ventanamicro.com>
Tue, 24 Jun 2025 00:27:49 +0000 (18:27 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Mon, 14 Jul 2025 12:41:19 +0000 (06:41 -0600)
Fix typo in comment spotted by Peter B.

PR target/118241
gcc/
* config/riscv/predicates.md: Fix comment typo in recent change.

(cherry picked from commit bf7162b321128ba93521a824e5a7a00d1cc3d1f8)

gcc/config/riscv/predicates.md

index 3d08c9ba979ebd710c80b84033091ac188d7c0a8..c20d82c551631ed1be82669a6420856c1c771259 100644 (file)
@@ -27,7 +27,7 @@
   (ior (match_operand 0 "const_arith_operand")
        (match_operand 0 "register_operand")))
 
-;; REG or REG+D where D fits in a simm12 and has the low 4 bits
+;; REG or REG+D where D fits in a simm12 and has the low 5 bits
 ;; off.  The REG+D form can be reloaded into a temporary if needed
 ;; after FP elimination if that exposes an invalid offset.
 (define_predicate "prefetch_operand"