aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorTakayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>2023-06-18 16:09:10 +0900
committerMax Filippov <jcmvbkbc@gmail.com>2023-06-18 21:19:48 -0700
commit7360cba833cd921631818428a851e03ea88f1e8a (patch)
tree9f9feb29e834de09249049629a454a032ffc3c07 /gcc/tree-vectorizer.h
parent1ce54ad8cd694a1defb9374f18607194ef702ea7 (diff)
downloadgcc-7360cba833cd921631818428a851e03ea88f1e8a.zip
gcc-7360cba833cd921631818428a851e03ea88f1e8a.tar.gz
gcc-7360cba833cd921631818428a851e03ea88f1e8a.tar.bz2
xtensa: constantsynth: Add new 2-insns synthesis pattern
This patch adds a new 2-instructions constant synthesis pattern: - A non-negative square value that root can fit into a signed 12-bit: => "MOVI(.N) Ax, simm12" + "MULL Ax, Ax, Ax" Due to the execution cost of the integer multiply instruction (MULL), this synthesis works only when the 32-bit Integer Multiply Option is configured and optimize for size is specified. gcc/ChangeLog: * config/xtensa/xtensa.cc (xtensa_constantsynth_2insn): Add new pattern for the abovementioned case.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions