@@ -877,11 +877,14 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
877
877
"atomic_fence_acqrel" => this. atomic_fence ( args, AtomicFenceOp :: AcqRel ) ?,
878
878
"atomic_fence_seqcst" => this. atomic_fence ( args, AtomicFenceOp :: SeqCst ) ?,
879
879
880
- "atomic_singlethreadfence_acquire" => this. compiler_fence ( args, AtomicFenceOp :: Acquire ) ?,
881
- "atomic_singlethreadfence_release" => this. compiler_fence ( args, AtomicFenceOp :: Release ) ?,
880
+ "atomic_singlethreadfence_acquire" =>
881
+ this. compiler_fence ( args, AtomicFenceOp :: Acquire ) ?,
882
+ "atomic_singlethreadfence_release" =>
883
+ this. compiler_fence ( args, AtomicFenceOp :: Release ) ?,
882
884
"atomic_singlethreadfence_acqrel" =>
883
885
this. compiler_fence ( args, AtomicFenceOp :: AcqRel ) ?,
884
- "atomic_singlethreadfence_seqcst" => this. compiler_fence ( args, AtomicFenceOp :: SeqCst ) ?,
886
+ "atomic_singlethreadfence_seqcst" =>
887
+ this. compiler_fence ( args, AtomicFenceOp :: SeqCst ) ?,
885
888
886
889
"atomic_xchg_seqcst" => this. atomic_exchange ( args, dest, AtomicRwOp :: SeqCst ) ?,
887
890
"atomic_xchg_acquire" => this. atomic_exchange ( args, dest, AtomicRwOp :: Acquire ) ?,
@@ -1036,27 +1039,37 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
1036
1039
"atomic_xsub_relaxed" =>
1037
1040
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: Sub , false ) , AtomicRwOp :: Relaxed ) ?,
1038
1041
"atomic_min_seqcst" => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: SeqCst ) ?,
1039
- "atomic_min_acquire" => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Acquire ) ?,
1040
- "atomic_min_release" => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Release ) ?,
1042
+ "atomic_min_acquire" =>
1043
+ this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Acquire ) ?,
1044
+ "atomic_min_release" =>
1045
+ this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Release ) ?,
1041
1046
"atomic_min_acqrel" => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: AcqRel ) ?,
1042
1047
"atomic_min_relaxed" =>
1043
1048
this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Relaxed ) ?,
1044
1049
"atomic_max_seqcst" => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: SeqCst ) ?,
1045
- "atomic_max_acquire" => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Acquire ) ?,
1046
- "atomic_max_release" => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Release ) ?,
1050
+ "atomic_max_acquire" =>
1051
+ this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Acquire ) ?,
1052
+ "atomic_max_release" =>
1053
+ this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Release ) ?,
1047
1054
"atomic_max_acqrel" => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: AcqRel ) ?,
1048
1055
"atomic_max_relaxed" =>
1049
1056
this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Relaxed ) ?,
1050
- "atomic_umin_seqcst" => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: SeqCst ) ?,
1051
- "atomic_umin_acquire" => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Acquire ) ?,
1052
- "atomic_umin_release" => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Release ) ?,
1057
+ "atomic_umin_seqcst" =>
1058
+ this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: SeqCst ) ?,
1059
+ "atomic_umin_acquire" =>
1060
+ this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Acquire ) ?,
1061
+ "atomic_umin_release" =>
1062
+ this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Release ) ?,
1053
1063
"atomic_umin_acqrel" =>
1054
1064
this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: AcqRel ) ?,
1055
1065
"atomic_umin_relaxed" =>
1056
1066
this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Relaxed ) ?,
1057
- "atomic_umax_seqcst" => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: SeqCst ) ?,
1058
- "atomic_umax_acquire" => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Acquire ) ?,
1059
- "atomic_umax_release" => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Release ) ?,
1067
+ "atomic_umax_seqcst" =>
1068
+ this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: SeqCst ) ?,
1069
+ "atomic_umax_acquire" =>
1070
+ this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Acquire ) ?,
1071
+ "atomic_umax_release" =>
1072
+ this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Release ) ?,
1060
1073
"atomic_umax_acqrel" =>
1061
1074
this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: AcqRel ) ?,
1062
1075
"atomic_umax_relaxed" =>
0 commit comments