diff options
author | Jeff Law <jlaw@ventanamicro.com> | 2024-01-09 10:17:54 -0700 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-01-09 10:17:54 -0700 |
commit | 0beb20c01cf7120c724f9882be41a77e970fe63d (patch) | |
tree | 3374a719786fae740d86252a6f903a09edaeb786 /include/gcc-c-interface.h | |
parent | 9aaed2c1d7e54cee6966c632ced80e643525fe89 (diff) | |
download | gcc-0beb20c01cf7120c724f9882be41a77e970fe63d.zip gcc-0beb20c01cf7120c724f9882be41a77e970fe63d.tar.gz gcc-0beb20c01cf7120c724f9882be41a77e970fe63d.tar.bz2 |
[committed] Fix minor bug in epiphany port
So I consider this port dead as it semi-randomly fails in reload due to
unrelated changes earlier in the gimple and RTL pipelines. Regardless Richard
S's late-combine work did show a very obvious error in the port that we should
go ahead and fix as long as the port is in-tree.
The epiphany add-with-immediate instruction allows an 11 bit signed immediate.
That gives the instruction an immediate range of -1024..1023.
The port actually allowed -8192..8191 due to the uber-weird constraint
definition. I've simplified the constraint to match the hardware documentation
I was able to find. That was enough to get the epiphany port to build
libgcc/newlib with Richard S's late-combine work.
The testsuite is so flakey on that port (due to the reload failures) that my
tester doesn't run it. So no comparisons are available.
gcc/
* config/epiphany/constraints.md (Car): Allow -1024..1023, no more,
no less.
Diffstat (limited to 'include/gcc-c-interface.h')
0 files changed, 0 insertions, 0 deletions