diff options
author | Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> | 2022-09-10 18:29:45 +0900 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2022-09-10 11:24:15 -0700 |
commit | 75e5cc9c3aba943819c284902b3792f7150749cf (patch) | |
tree | d9b766b3dea3a76a418ea7d76e26599444a54cd5 /gcc/ChangeLog | |
parent | 16d752a514033a9e37fed2a7f78024e222ca26b9 (diff) | |
download | gcc-75e5cc9c3aba943819c284902b3792f7150749cf.zip gcc-75e5cc9c3aba943819c284902b3792f7150749cf.tar.gz gcc-75e5cc9c3aba943819c284902b3792f7150749cf.tar.bz2 |
xtensa: constantsynth: Add new 3-insns synthesis pattern
This patch adds a new 3-instructions constant synthesis pattern:
- A value that can fit into a signed 12-bit after a number of either bitwise
left or right rotations:
=> "MOVI(.N) Ax, simm12" + "SSAI (1 ... 11) or (21 ... 31)"
+ "SRC Ax, Ax, Ax"
gcc/ChangeLog:
* config/xtensa/xtensa.cc (xtensa_constantsynth):
Add new pattern for the abovementioned case.
gcc/testsuite/ChangeLog:
* gcc.target/xtensa/constsynth_3insns.c (test_4):
Add new test function.
Diffstat (limited to 'gcc/ChangeLog')
0 files changed, 0 insertions, 0 deletions