Skip to content

Commit

Permalink
xtensa: fix PR target/82181
Browse files Browse the repository at this point in the history
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.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-6-branch@251989 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
jcmvbkbc committed Sep 11, 2017
1 parent e86dfd1 commit dbbb835
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -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-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>

Backport from mainline:
Expand Down
1 change: 1 addition & 0 deletions gcc/config/xtensa/xtensa.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,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));

Expand Down

0 comments on commit dbbb835

Please sign in to comment.