projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eef9a6
)
Checked in non-final version of patch in commit 9433c844c8bcf0166567943b45576ceeeee0b131
author
Aaron Sawdey
<acsawdey@linux.ibm.com>
Tue, 9 Mar 2021 04:18:03 +0000
(22:18 -0600)
committer
Aaron Sawdey
<acsawdey@linux.ibm.com>
Tue, 9 Mar 2021 04:18:03 +0000
(22:18 -0600)
Not sure what I did but this corrects it to the version that I tested
and that Segher approved.
gcc/ChangeLog
* config/rs6000/predicates.md (ds_form_mem_operand): Check
in correct code.
gcc/config/rs6000/predicates.md
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/predicates.md
b/gcc/config/rs6000/predicates.md
index
1556514
..
69f3c70
100644
(file)
--- a/
gcc/config/rs6000/predicates.md
+++ b/
gcc/config/rs6000/predicates.md
@@
-998,16
+998,10
@@
(define_predicate "ds_form_mem_operand"
(match_code "subreg,mem")
{
- rtx inner, addr, offset;
-
- inner = op;
- if (reload_completed && SUBREG_P (inner))
- inner = SUBREG_REG (inner);
-
- if (!any_memory_operand (inner, mode))
+ if (!any_memory_operand (op, mode))
return false;
-
addr = XEXP (inner
, 0);
+
rtx addr = XEXP (op
, 0);
return address_to_insn_form (addr, mode, NON_PREFIXED_DS) == INSN_FORM_DS;
})