https://gcc.gnu.org/g:8c01976b8e34eaa2483ab37d1bd18ebc5c8ada95

commit r15-3604-g8c01976b8e34eaa2483ab37d1bd18ebc5c8ada95
Author: Uros Bizjak <ubiz...@gmail.com>
Date:   Thu Sep 12 16:28:10 2024 +0200

    i386: Use offsetable address constraint for double-word memory operands, 
part 2
    
    Double-word memory operands are accessed as their high and low part, so the
    memory location has to be offsettable.  Use "o" constraint instead of "m"
    for double-word memory operands.
    
    gcc/ChangeLog:
    
            * config/i386/i386.md (*insvti_lowpart_1): Use "o" constraint
            instead of "m" for double-word mode memory operands.

Diff:
---
 gcc/config/i386/i386.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index 8d269feee837..c04415149490 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -3685,7 +3685,7 @@
   [(set (match_operand:TI 0 "nonimmediate_operand" "=ro,r,r,&r")
        (any_or_plus:TI
          (and:TI
-           (match_operand:TI 1 "nonimmediate_operand" "r,m,r,m")
+           (match_operand:TI 1 "nonimmediate_operand" "r,o,r,o")
            (match_operand:TI 3 "const_scalar_int_operand" "n,n,n,n"))
          (zero_extend:TI
            (match_operand:DI 2 "nonimmediate_operand" "r,r,m,m"))))]

Reply via email to