]> git.ipfire.org Git - thirdparty/gcc.git/commit
xtensa: Remove an unnecessary constraint modifier from movsf_internal insn pattern
authorTakayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
Tue, 27 May 2025 06:58:35 +0000 (15:58 +0900)
committerMax Filippov <jcmvbkbc@gmail.com>
Sun, 1 Jun 2025 00:32:04 +0000 (17:32 -0700)
commit2e5130f6870bdb016f58f42f2ff99a2226e93af6
tree6fbf4645295aca0fc432eb84e4a4ab85fe6748f5
parent9050005673b68f5267a4c8262363b547555337a0
xtensa: Remove an unnecessary constraint modifier from movsf_internal insn pattern

In this case, there is no need to consider reloading when memory is the
destination.  On the other hand, when memory is the source, reloading
read from constant pool becomes double indirection and should obviously
be avoided.

gcc/ChangeLog:

* config/xtensa/xtensa.md (movsf_internal):
Remove destination side constraint modifier '^' in the third
alternative.
gcc/config/xtensa/xtensa.md