]> git.ipfire.org Git - thirdparty/gcc.git/commit
xstormy16: Fix xs_hi_nonmemory_operand
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 21 Jun 2024 14:40:11 +0000 (15:40 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Fri, 21 Jun 2024 14:40:11 +0000 (15:40 +0100)
commit5320bcbd342a985a6e1db60bff2918f73dcad1a0
treeec6880832cc2dd393231f73a0a44cf98adbb7970
parent8f254cd4e40b692e5f01a3b40f2b5b60c8528a1e
xstormy16: Fix xs_hi_nonmemory_operand

All uses of xs_hi_nonmemory_operand allow constraint "i",
which means that they allow consts, symbol_refs and label_refs.
The definition of xs_hi_nonmemory_operand accounted for consts,
but not for symbol_refs and label_refs.

gcc/
* config/stormy16/predicates.md (xs_hi_nonmemory_operand): Handle
symbol_ref and label_ref.
gcc/config/stormy16/predicates.md