@@ -49,57 +49,93 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
49
49
"cxchg_seqcst_seqcst" =>
50
50
this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: SeqCst , AtomicReadOrd :: SeqCst ) ?,
51
51
#[ 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 ) ?,
54
54
#[ 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 ) ?,
57
60
#[ rustfmt:: skip]
58
61
"cxchg_acqrel_acquire" =>
59
62
this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: AcqRel , AtomicReadOrd :: Acquire ) ?,
60
63
#[ 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 ) ?,
63
72
#[ rustfmt:: skip]
64
73
"cxchg_acquire_relaxed" =>
65
74
this. atomic_compare_exchange ( args, dest, AtomicRwOrd :: Acquire , AtomicReadOrd :: Relaxed ) ?,
66
75
#[ 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 ) ?,
69
78
#[ 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 ) ?,
72
81
#[ 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 ) ?,
75
93
76
94
#[ rustfmt:: skip]
77
95
"cxchgweak_seqcst_seqcst" =>
78
96
this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: SeqCst , AtomicReadOrd :: SeqCst ) ?,
79
97
#[ 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 ) ?,
82
100
#[ 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 ) ?,
85
106
#[ rustfmt:: skip]
86
107
"cxchgweak_acqrel_acquire" =>
87
108
this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: AcqRel , AtomicReadOrd :: Acquire ) ?,
88
109
#[ 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 ) ?,
91
118
#[ rustfmt:: skip]
92
119
"cxchgweak_acquire_relaxed" =>
93
120
this. atomic_compare_exchange_weak ( args, dest, AtomicRwOrd :: Acquire , AtomicReadOrd :: Relaxed ) ?,
94
121
#[ 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 ) ?,
97
124
#[ 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 ) ?,
100
127
#[ 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 ) ?,
103
139
104
140
#[ rustfmt:: skip]
105
141
"or_seqcst" =>
0 commit comments