aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.h
diff options
context:
space:
mode:
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>2023-06-22 06:38:42 +0800
committerPan Li <pan2.li@intel.com>2023-06-24 22:42:43 +0800
commit95a2e5328e5aa15724ab8da4aa622a0bfc40c9e5 (patch)
tree36370b67a357a5f0565d461633ce00d570eafe25 /gcc/gcse.h
parent0a3b1a095d451427571299fc78f29dec94c6931c (diff)
downloadgcc-95a2e5328e5aa15724ab8da4aa622a0bfc40c9e5.zip
gcc-95a2e5328e5aa15724ab8da4aa622a0bfc40c9e5.tar.gz
gcc-95a2e5328e5aa15724ab8da4aa622a0bfc40c9e5.tar.bz2
RISC-V: Refactor the integer ternary autovec pattern
Long time ago, I encounter ICE when trying to set clobber register as Pmode and I forgot the reason. So, I clobber SI scratch and PUT_MODE to make it Pmode after reload which makes patterns look unreasonable. According to Jeff's comments, I tried it again, it works now when we try to set clobber register as Pmode and the patterns look more reasonable now. The tests are all passed, Ok for trunk. gcc/ChangeLog: * config/riscv/autovec.md (*fma<mode>): set clobber to Pmode in expand stage. (*fma<VI:mode><P:mode>): Ditto. (*fnma<mode>): Ditto. (*fnma<VI:mode><P:mode>): Ditto.
Diffstat (limited to 'gcc/gcse.h')
0 files changed, 0 insertions, 0 deletions