Message ID | mptsgons6tb.fsf@arm.com |
---|---|
State | New |
Headers | show |
Series | [committed,AArch64] Fix memmodel index in aarch64_store_exclusive_pair | expand |
Index: gcc/config/aarch64/atomics.md =================================================================== --- gcc/config/aarch64/atomics.md 2019-09-21 13:56:09.071933423 +0100 +++ gcc/config/aarch64/atomics.md 2019-09-23 10:22:47.361697048 +0100 @@ -752,7 +752,7 @@ (define_insn "aarch64_store_exclusive_pa 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