aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@nextmovesoftware.com>2021-10-19 11:00:10 +0100
committerRoger Sayle <roger@nextmovesoftware.com>2021-10-19 11:00:10 +0100
commitf98359ba9d3775319fb3181009be7d3dafe9ba15 (patch)
treed80fe0a6da83cd9815c1699c37c53dc6a75034a1 /gcc/tree-if-conv.c
parent0910c516a3d72af048af27308349167f25c406c2 (diff)
downloadgcc-f98359ba9d3775319fb3181009be7d3dafe9ba15.zip
gcc-f98359ba9d3775319fb3181009be7d3dafe9ba15.tar.gz
gcc-f98359ba9d3775319fb3181009be7d3dafe9ba15.tar.bz2
PR target/102785: Correct addsub/subadd patterns on bfin.
This patch resolves PR target/102785 where my recent patch to constant fold saturating addition/subtraction exposed a latent bug in the bfin backend. The patterns used for blackfin's V2HI ssaddsub and sssubadd instructions had the indices/operations swapped. This was harmless until we started evaluating these expressions at compile-time, when the mismatch was caught by the testsuite. 2021-10-19 Roger Sayle <roger@nextmovesoftware.com> gcc/ChangeLog PR target/102785 * config/bfin/bfin.md (addsubv2hi3, subaddv2hi3, ssaddsubv2hi3, sssubaddv2hi3): Swap the order of operators in vec_concat.
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions