xtensa: fix PR target/82181
2017-09-11 Max Filippov <jcmvbkbc@gmail.com> gcc/ Backport from mainline * config/xtensa/xtensa.c (xtensa_mem_offset): Check that both words of DImode object are reachable by xtensa_uimm8x4 access. From-SVN: r251987
This commit is contained in:
parent
1d56f1768e
commit
7cd44d39d3
|
@ -1,3 +1,10 @@
|
|||
2017-09-11 Max Filippov <jcmvbkbc@gmail.com>
|
||||
|
||||
Backport from mainline
|
||||
PR target/82181
|
||||
* config/xtensa/xtensa.c (xtensa_mem_offset): Check that both
|
||||
words of DImode object are reachable by xtensa_uimm8x4 access.
|
||||
|
||||
2017-09-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
||||
|
||||
Backport from mainline
|
||||
|
|
|
@ -605,6 +605,7 @@ xtensa_mem_offset (unsigned v, machine_mode mode)
|
|||
case HImode:
|
||||
return xtensa_uimm8x2 (v);
|
||||
|
||||
case DImode:
|
||||
case DFmode:
|
||||
return (xtensa_uimm8x4 (v) && xtensa_uimm8x4 (v + 4));
|
||||
|
||||
|
|
Loading…
Reference in New Issue