diff options
author | Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> | 2025-08-08 06:49:13 +0900 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2025-08-08 22:01:05 -0700 |
commit | ffc867844c989c16815580ce243296bfdcec8590 (patch) | |
tree | 950d822dd44b97cd1709f6163fca97c851a7591e /gcc | |
parent | b0940964f1b5969b783260317133636329234205 (diff) | |
download | gcc-ffc867844c989c16815580ce243296bfdcec8590.zip gcc-ffc867844c989c16815580ce243296bfdcec8590.tar.gz gcc-ffc867844c989c16815580ce243296bfdcec8590.tar.bz2 |
xtensa: Refine constraint "T" to define_special_memory_constraint
References to literal pool entries do not need to be reloaded or converted
to "(mem (reg X))" to load via base register.
gcc/ChangeLog:
* config/xtensa/constraints.md (T):
Change define_memory_constraint to define_special_memory_constraint.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/xtensa/constraints.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/xtensa/constraints.md b/gcc/config/xtensa/constraints.md index 77c9571..727ec1e 100644 --- a/gcc/config/xtensa/constraints.md +++ b/gcc/config/xtensa/constraints.md @@ -130,7 +130,7 @@ (and (match_code "mem") (match_test "smalloffset_mem_p (op)"))) -(define_memory_constraint "T" +(define_special_memory_constraint "T" "Memory in a literal pool (addressable with an L32R instruction)." (and (match_code "mem") (match_test "!TARGET_CONST16 && constantpool_mem_p (op)"))) |