From: Jozef Lawrynowicz Date: Wed, 30 May 2018 23:26:03 +0000 (+0000) Subject: msp430.md: Remove erroneous subreg expression from zero_extendqisi2 insn pattern. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=525213a53dd2857c8b27aee31566e1827b27b1c9;p=gcc.git msp430.md: Remove erroneous subreg expression from zero_extendqisi2 insn pattern. * gcc/config/msp430/msp430.md: Remove erroneous subreg expression from zero_extendqisi2 insn pattern. Remove msp430x ISA restriction on zero_extend{q,h}isi2. From-SVN: r260981 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fe9c1d8adf1..137c4fbaf11 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-05-30 Jozef Lawrynowicz + + * gcc/config/msp430/msp430.md: Remove erroneous subreg expression from + zero_extendqisi2 insn pattern. Remove msp430x ISA restriction on + zero_extend{q,h}isi2. + 2018-05-30 Borislav Petkov * doc/extend.texi: Document some architecture specific diff --git a/gcc/config/msp430/msp430.md b/gcc/config/msp430/msp430.md index 869b9ee6985..614d375f315 100644 --- a/gcc/config/msp430/msp430.md +++ b/gcc/config/msp430/msp430.md @@ -619,15 +619,15 @@ (define_insn "zero_extendqisi2" [(set (match_operand:SI 0 "nonimmediate_operand" "=r") - (zero_extend:SI (subreg:HI (match_operand:QI 1 "nonimmediate_operand" "rm") 0)))] - "msp430x" + (zero_extend:SI (match_operand:QI 1 "nonimmediate_operand" "rm")))] + "" "MOV.B\t%1,%L0 { CLR\t%H0" ) (define_insn "zero_extendhisi2" [(set (match_operand:SI 0 "nonimmediate_operand" "=rm,r") (zero_extend:SI (match_operand:HI 1 "nonimmediate_operand" "0,r")))] - "msp430x" + "" "@ MOV.W\t#0,%H0 MOV.W\t%1,%L0 { MOV.W\t#0,%H0"