Re: [PATCH] Allow direct 0 and -1 moves to mask registers (PR target/88465)

2018-12-13 Thread Uros Bizjak
On Wed, Dec 12, 2018 at 11:38 PM Jakub Jelinek wrote: > > Hi! > > As mentioned in the PR, we can use kxor? %kN, %kN, %kN or > kxnor? %kN, %kN, %kN to set %kN to 0 or -1, instead of > setting a GPR to that and moving to the mask register. > > Bootstrapped/regtested on x86_64-linux and i686-linux, o

[PATCH] Allow direct 0 and -1 moves to mask registers (PR target/88465)

2018-12-12 Thread Jakub Jelinek
Hi! As mentioned in the PR, we can use kxor? %kN, %kN, %kN or kxnor? %kN, %kN, %kN to set %kN to 0 or -1, instead of setting a GPR to that and moving to the mask register. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2018-12-12 Jakub Jelinek PR target/88465