Message ID | 20160714024410.GD1632@bubble.grove.modra.org |
---|---|
State | New |
Headers | show |
On Thu, Jul 14, 2016 at 12:14:10PM +0930, Alan Modra wrote: > (Which is a bug, since the advent of multi-char constraints, and > potentially affects us with our use of constraint strings like "?*wb".) On looking into this, I see it is just a documentation bug.
On Thu, Jul 14, 2016 at 12:14:10PM +0930, Alan Modra wrote: > The following has now been bootstrapped and regression tested on > powerpc64le-linux. OK for mainline? > > * gcc/config/rs6000/altivec.md (altivec_mov<mode>): Disparage > gpr alternatives. Correct '*' placement on Y,r alternative. > Add '*' on operand 1 of r,r alternative. Okay for mainline, thank you! Segher
diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md index aa01ac9..9193f07 100644 --- a/gcc/config/rs6000/altivec.md +++ b/gcc/config/rs6000/altivec.md @@ -222,8 +222,8 @@ ;; Vector move instructions. (define_insn "*altivec_mov<mode>" - [(set (match_operand:VM2 0 "nonimmediate_operand" "=Z,v,v,*Y,*r,*r,v,v,*r") - (match_operand:VM2 1 "input_operand" "v,Z,v,r,Y,r,j,W,W"))] + [(set (match_operand:VM2 0 "nonimmediate_operand" "=Z,v,v,?Y,?*r,?*r,v,v,?*r") + (match_operand:VM2 1 "input_operand" "v,Z,v,*r,Y,*r,j,W,W"))] "VECTOR_MEM_ALTIVEC_P (<MODE>mode) && (register_operand (operands[0], <MODE>mode) || register_operand (operands[1], <MODE>mode))"