aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2023-04-26 15:23:48 +0100
committerAndrew Stubbs <ams@codesourcery.com>2023-04-27 17:32:43 +0100
commitb17c57b06d90f2ca12ea0395046c4ea7d439065f (patch)
tree9c2ce17ff329a9c51911add89b19e54454bc6dcc /gcc/value-range.h
parent14e881eb0305090e5b184806b917d492373d32ea (diff)
downloadgcc-b17c57b06d90f2ca12ea0395046c4ea7d439065f.zip
gcc-b17c57b06d90f2ca12ea0395046c4ea7d439065f.tar.gz
gcc-b17c57b06d90f2ca12ea0395046c4ea7d439065f.tar.bz2
amdgcn: Fix addsub bug
The vec_fmsubadd instuction actually had add twice, by mistake. Also improve code-gen for all the complex patterns by using properly undefined values. Mostly this just prevents the compiler reserving space in the stack frame. gcc/ChangeLog: * config/gcn/gcn-valu.md (cmul<conj_op><mode>3): Use gcn_gen_undef. (cml<addsub_as><mode>4): Likewise. (vec_addsub<mode>3): Likewise. (cadd<rot><mode>3): Likewise. (vec_fmaddsub<mode>4): Likewise. (vec_fmsubadd<mode>4): Likewise, and use sub for the odd lanes.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions