diff options
author | YunQiang Su <syq@gcc.gnu.org> | 2024-05-28 23:44:49 +0800 |
---|---|---|
committer | YunQiang Su <syq@debian.org> | 2024-05-30 01:06:03 +0800 |
commit | 9a92e5e56a7f2b19928b8cb7634f59d9c7b2b582 (patch) | |
tree | dbfaf32e31b998861d3ae859c9d1c23e3bdd7f2a /libcpp | |
parent | d1a1f7e9f0bedea55c558ab95127679bc3e9ff72 (diff) | |
download | gcc-9a92e5e56a7f2b19928b8cb7634f59d9c7b2b582.zip gcc-9a92e5e56a7f2b19928b8cb7634f59d9c7b2b582.tar.gz gcc-9a92e5e56a7f2b19928b8cb7634f59d9c7b2b582.tar.bz2 |
MIPS/testsuite: Fix bseli.b fail in msa-builtins.c
commit 05daf617ea22e1d818295ed2d037456937e23530
Author: Jeff Law <jlaw@ventanamicro.com>
Date: Sat May 25 12:39:05 2024 -0600
[committed] [v2] More logical op simplifications in simplify-rtx.cc
does some simplifications, and then `bseli.b $w1,$w0,255` is found that
it is same with `or.v $w1,$w0,$w1`. So there will be no bseli.b instruction
generated.
Let's use 254 instead of 255 to test the generation of `bseli.b`.
gcc/testsuite
* gcc.target/mips/msa-builtins.c: Use 254 instead of 255 for
bseli.b, as `bseli.b $w0,$w1,255` is same as `or.v $w0,$w0,$w1`.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions