@@ -49,57 +49,93 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
4949 "cxchg_seqcst_seqcst" =>
5050 this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: SeqCst , AtomicReadOrd :: SeqCst ) ?,
5151 #[ rustfmt:: skip]
52- "cxchg_acquire_acquire " =>
53- this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Acquire , AtomicReadOrd :: Acquire ) ?,
52+ "cxchg_seqcst_acquire " =>
53+ this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: SeqCst , AtomicReadOrd :: Acquire ) ?,
5454 #[ rustfmt:: skip]
55- "cxchg_release_relaxed" =>
56- this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Release , AtomicReadOrd :: Relaxed ) ?,
55+ "cxchg_seqcst_relaxed" =>
56+ this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: SeqCst , AtomicReadOrd :: Relaxed ) ?,
57+ #[ rustfmt:: skip]
58+ "cxchg_acqrel_seqcst" =>
59+ this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: AcqRel , AtomicReadOrd :: SeqCst ) ?,
5760 #[ rustfmt:: skip]
5861 "cxchg_acqrel_acquire" =>
5962 this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: AcqRel , AtomicReadOrd :: Acquire ) ?,
6063 #[ rustfmt:: skip]
61- "cxchg_relaxed_relaxed" =>
62- this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Relaxed , AtomicReadOrd :: Relaxed ) ?,
64+ "cxchg_acqrel_relaxed" =>
65+ this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: AcqRel , AtomicReadOrd :: Relaxed ) ?,
66+ #[ rustfmt:: skip]
67+ "cxchg_acquire_seqcst" =>
68+ this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Acquire , AtomicReadOrd :: SeqCst ) ?,
69+ #[ rustfmt:: skip]
70+ "cxchg_acquire_acquire" =>
71+ this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Acquire , AtomicReadOrd :: Acquire ) ?,
6372 #[ rustfmt:: skip]
6473 "cxchg_acquire_relaxed" =>
6574 this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Acquire , AtomicReadOrd :: Relaxed ) ?,
6675 #[ rustfmt:: skip]
67- "cxchg_acqrel_relaxed " =>
68- this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: AcqRel , AtomicReadOrd :: Relaxed ) ?,
76+ "cxchg_release_seqcst " =>
77+ this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Release , AtomicReadOrd :: SeqCst ) ?,
6978 #[ rustfmt:: skip]
70- "cxchg_seqcst_relaxed " =>
71- this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: SeqCst , AtomicReadOrd :: Relaxed ) ?,
79+ "cxchg_release_acquire " =>
80+ this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Release , AtomicReadOrd :: Acquire ) ?,
7281 #[ rustfmt:: skip]
73- "cxchg_seqcst_acquire" =>
74- this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: SeqCst , AtomicReadOrd :: Acquire ) ?,
82+ "cxchg_release_relaxed" =>
83+ this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Release , AtomicReadOrd :: Relaxed ) ?,
84+ #[ rustfmt:: skip]
85+ "cxchg_relaxed_seqcst" =>
86+ this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Relaxed , AtomicReadOrd :: SeqCst ) ?,
87+ #[ rustfmt:: skip]
88+ "cxchg_relaxed_acquire" =>
89+ this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Relaxed , AtomicReadOrd :: Acquire ) ?,
90+ #[ rustfmt:: skip]
91+ "cxchg_relaxed_relaxed" =>
92+ this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Relaxed , AtomicReadOrd :: Relaxed ) ?,
7593
7694 #[ rustfmt:: skip]
7795 "cxchgweak_seqcst_seqcst" =>
7896 this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: SeqCst , AtomicReadOrd :: SeqCst ) ?,
7997 #[ rustfmt:: skip]
80- "cxchgweak_acquire_acquire " =>
81- this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Acquire , AtomicReadOrd :: Acquire ) ?,
98+ "cxchgweak_seqcst_acquire " =>
99+ this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: SeqCst , AtomicReadOrd :: Acquire ) ?,
82100 #[ rustfmt:: skip]
83- "cxchgweak_release_relaxed" =>
84- this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Release , AtomicReadOrd :: Relaxed ) ?,
101+ "cxchgweak_seqcst_relaxed" =>
102+ this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: SeqCst , AtomicReadOrd :: Relaxed ) ?,
103+ #[ rustfmt:: skip]
104+ "cxchgweak_acqrel_seqcst" =>
105+ this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: AcqRel , AtomicReadOrd :: SeqCst ) ?,
85106 #[ rustfmt:: skip]
86107 "cxchgweak_acqrel_acquire" =>
87108 this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: AcqRel , AtomicReadOrd :: Acquire ) ?,
88109 #[ rustfmt:: skip]
89- "cxchgweak_relaxed_relaxed" =>
90- this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Relaxed , AtomicReadOrd :: Relaxed ) ?,
110+ "cxchgweak_acqrel_relaxed" =>
111+ this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: AcqRel , AtomicReadOrd :: Relaxed ) ?,
112+ #[ rustfmt:: skip]
113+ "cxchgweak_acquire_seqcst" =>
114+ this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Acquire , AtomicReadOrd :: SeqCst ) ?,
115+ #[ rustfmt:: skip]
116+ "cxchgweak_acquire_acquire" =>
117+ this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Acquire , AtomicReadOrd :: Acquire ) ?,
91118 #[ rustfmt:: skip]
92119 "cxchgweak_acquire_relaxed" =>
93120 this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Acquire , AtomicReadOrd :: Relaxed ) ?,
94121 #[ rustfmt:: skip]
95- "cxchgweak_acqrel_relaxed " =>
96- this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: AcqRel , AtomicReadOrd :: Relaxed ) ?,
122+ "cxchgweak_release_seqcst " =>
123+ this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Release , AtomicReadOrd :: SeqCst ) ?,
97124 #[ rustfmt:: skip]
98- "cxchgweak_seqcst_relaxed " =>
99- this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: SeqCst , AtomicReadOrd :: Relaxed ) ?,
125+ "cxchgweak_release_acquire " =>
126+ this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Release , AtomicReadOrd :: Acquire ) ?,
100127 #[ rustfmt:: skip]
101- "cxchgweak_seqcst_acquire" =>
102- this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: SeqCst , AtomicReadOrd :: Acquire ) ?,
128+ "cxchgweak_release_relaxed" =>
129+ this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Release , AtomicReadOrd :: Relaxed ) ?,
130+ #[ rustfmt:: skip]
131+ "cxchgweak_relaxed_seqcst" =>
132+ this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Relaxed , AtomicReadOrd :: SeqCst ) ?,
133+ #[ rustfmt:: skip]
134+ "cxchgweak_relaxed_acquire" =>
135+ this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Relaxed , AtomicReadOrd :: Acquire ) ?,
136+ #[ rustfmt:: skip]
137+ "cxchgweak_relaxed_relaxed" =>
138+ this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Relaxed , AtomicReadOrd :: Relaxed ) ?,
103139
104140 #[ rustfmt:: skip]
105141 "or_seqcst" =>
0 commit comments