[AArch64] Fix memmodel index in aarch64_store_exclusive_pair
Found via an rtx checking failure. 2019-09-23 Richard Sandiford <richard.sandiford@arm.com> gcc/ * config/aarch64/atomics.md (aarch64_store_exclusive_pair): Fix memmodel index. From-SVN: r276052
This commit is contained in:
parent
158ab20432
commit
3a30d2558b
|
@ -1,3 +1,8 @@
|
|||
2019-09-23 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* config/aarch64/atomics.md (aarch64_store_exclusive_pair): Fix
|
||||
memmodel index.
|
||||
|
||||
2019-09-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
PR ipa/91835
|
||||
|
|
|
@ -752,7 +752,7 @@
|
|||
UNSPECV_SX))]
|
||||
""
|
||||
{
|
||||
enum memmodel model = memmodel_from_int (INTVAL (operands[3]));
|
||||
enum memmodel model = memmodel_from_int (INTVAL (operands[4]));
|
||||
if (is_mm_relaxed (model) || is_mm_consume (model) || is_mm_acquire (model))
|
||||
return "stxp\t%w0, %x2, %x3, %1";
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue