@@ -864,95 +864,95 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
864
864
}
865
865
866
866
// Atomic operations
867
- "atomic_load " => this. atomic_load ( args, dest, AtomicReadOp :: SeqCst ) ?,
867
+ "atomic_load_seqcst " => this. atomic_load ( args, dest, AtomicReadOp :: SeqCst ) ?,
868
868
"atomic_load_relaxed" => this. atomic_load ( args, dest, AtomicReadOp :: Relaxed ) ?,
869
- "atomic_load_acq " => this. atomic_load ( args, dest, AtomicReadOp :: Acquire ) ?,
869
+ "atomic_load_acquire " => this. atomic_load ( args, dest, AtomicReadOp :: Acquire ) ?,
870
870
871
- "atomic_store " => this. atomic_store ( args, AtomicWriteOp :: SeqCst ) ?,
871
+ "atomic_store_seqcst " => this. atomic_store ( args, AtomicWriteOp :: SeqCst ) ?,
872
872
"atomic_store_relaxed" => this. atomic_store ( args, AtomicWriteOp :: Relaxed ) ?,
873
- "atomic_store_rel " => this. atomic_store ( args, AtomicWriteOp :: Release ) ?,
873
+ "atomic_store_release " => this. atomic_store ( args, AtomicWriteOp :: Release ) ?,
874
874
875
- "atomic_fence_acq " => this. atomic_fence ( args, AtomicFenceOp :: Acquire ) ?,
876
- "atomic_fence_rel " => this. atomic_fence ( args, AtomicFenceOp :: Release ) ?,
875
+ "atomic_fence_acquire " => this. atomic_fence ( args, AtomicFenceOp :: Acquire ) ?,
876
+ "atomic_fence_release " => this. atomic_fence ( args, AtomicFenceOp :: Release ) ?,
877
877
"atomic_fence_acqrel" => this. atomic_fence ( args, AtomicFenceOp :: AcqRel ) ?,
878
- "atomic_fence " => this. atomic_fence ( args, AtomicFenceOp :: SeqCst ) ?,
878
+ "atomic_fence_seqcst " => this. atomic_fence ( args, AtomicFenceOp :: SeqCst ) ?,
879
879
880
- "atomic_singlethreadfence_acq " => this. compiler_fence ( args, AtomicFenceOp :: Acquire ) ?,
881
- "atomic_singlethreadfence_rel " => this. compiler_fence ( args, AtomicFenceOp :: Release ) ?,
880
+ "atomic_singlethreadfence_acquire " => this. compiler_fence ( args, AtomicFenceOp :: Acquire ) ?,
881
+ "atomic_singlethreadfence_release " => this. compiler_fence ( args, AtomicFenceOp :: Release ) ?,
882
882
"atomic_singlethreadfence_acqrel" =>
883
883
this. compiler_fence ( args, AtomicFenceOp :: AcqRel ) ?,
884
- "atomic_singlethreadfence " => this. compiler_fence ( args, AtomicFenceOp :: SeqCst ) ?,
884
+ "atomic_singlethreadfence_seqcst " => this. compiler_fence ( args, AtomicFenceOp :: SeqCst ) ?,
885
885
886
- "atomic_xchg " => this. atomic_exchange ( args, dest, AtomicRwOp :: SeqCst ) ?,
887
- "atomic_xchg_acq " => this. atomic_exchange ( args, dest, AtomicRwOp :: Acquire ) ?,
888
- "atomic_xchg_rel " => this. atomic_exchange ( args, dest, AtomicRwOp :: Release ) ?,
886
+ "atomic_xchg_seqcst " => this. atomic_exchange ( args, dest, AtomicRwOp :: SeqCst ) ?,
887
+ "atomic_xchg_acquire " => this. atomic_exchange ( args, dest, AtomicRwOp :: Acquire ) ?,
888
+ "atomic_xchg_release " => this. atomic_exchange ( args, dest, AtomicRwOp :: Release ) ?,
889
889
"atomic_xchg_acqrel" => this. atomic_exchange ( args, dest, AtomicRwOp :: AcqRel ) ?,
890
890
"atomic_xchg_relaxed" => this. atomic_exchange ( args, dest, AtomicRwOp :: Relaxed ) ?,
891
891
892
892
#[ rustfmt:: skip]
893
- "atomic_cxchg " =>
893
+ "atomic_cxchg_seqcst_seqcst " =>
894
894
this. atomic_compare_exchange ( args, dest, AtomicRwOp :: SeqCst , AtomicReadOp :: SeqCst ) ?,
895
895
#[ rustfmt:: skip]
896
- "atomic_cxchg_acq " =>
896
+ "atomic_cxchg_acquire_acquire " =>
897
897
this. atomic_compare_exchange ( args, dest, AtomicRwOp :: Acquire , AtomicReadOp :: Acquire ) ?,
898
898
#[ rustfmt:: skip]
899
- "atomic_cxchg_rel " =>
899
+ "atomic_cxchg_release_relaxed " =>
900
900
this. atomic_compare_exchange ( args, dest, AtomicRwOp :: Release , AtomicReadOp :: Relaxed ) ?,
901
901
#[ rustfmt:: skip]
902
- "atomic_cxchg_acqrel " =>
902
+ "atomic_cxchg_acqrel_acquire " =>
903
903
this. atomic_compare_exchange ( args, dest, AtomicRwOp :: AcqRel , AtomicReadOp :: Acquire ) ?,
904
904
#[ rustfmt:: skip]
905
- "atomic_cxchg_relaxed " =>
905
+ "atomic_cxchg_relaxed_relaxed " =>
906
906
this. atomic_compare_exchange ( args, dest, AtomicRwOp :: Relaxed , AtomicReadOp :: Relaxed ) ?,
907
907
#[ rustfmt:: skip]
908
- "atomic_cxchg_acq_failrelaxed " =>
908
+ "atomic_cxchg_acquire_relaxed " =>
909
909
this. atomic_compare_exchange ( args, dest, AtomicRwOp :: Acquire , AtomicReadOp :: Relaxed ) ?,
910
910
#[ rustfmt:: skip]
911
- "atomic_cxchg_acqrel_failrelaxed " =>
911
+ "atomic_cxchg_acqrel_relaxed " =>
912
912
this. atomic_compare_exchange ( args, dest, AtomicRwOp :: AcqRel , AtomicReadOp :: Relaxed ) ?,
913
913
#[ rustfmt:: skip]
914
- "atomic_cxchg_failrelaxed " =>
914
+ "atomic_cxchg_seqcst_relaxed " =>
915
915
this. atomic_compare_exchange ( args, dest, AtomicRwOp :: SeqCst , AtomicReadOp :: Relaxed ) ?,
916
916
#[ rustfmt:: skip]
917
- "atomic_cxchg_failacq " =>
917
+ "atomic_cxchg_seqcst_acquire " =>
918
918
this. atomic_compare_exchange ( args, dest, AtomicRwOp :: SeqCst , AtomicReadOp :: Acquire ) ?,
919
919
920
920
#[ rustfmt:: skip]
921
- "atomic_cxchgweak " =>
921
+ "atomic_cxchgweak_seqcst_seqcst " =>
922
922
this. atomic_compare_exchange_weak ( args, dest, AtomicRwOp :: SeqCst , AtomicReadOp :: SeqCst ) ?,
923
923
#[ rustfmt:: skip]
924
- "atomic_cxchgweak_acq " =>
924
+ "atomic_cxchgweak_acquire_acquire " =>
925
925
this. atomic_compare_exchange_weak ( args, dest, AtomicRwOp :: Acquire , AtomicReadOp :: Acquire ) ?,
926
926
#[ rustfmt:: skip]
927
- "atomic_cxchgweak_rel " =>
927
+ "atomic_cxchgweak_release_relaxed " =>
928
928
this. atomic_compare_exchange_weak ( args, dest, AtomicRwOp :: Release , AtomicReadOp :: Relaxed ) ?,
929
929
#[ rustfmt:: skip]
930
- "atomic_cxchgweak_acqrel " =>
930
+ "atomic_cxchgweak_acqrel_acquire " =>
931
931
this. atomic_compare_exchange_weak ( args, dest, AtomicRwOp :: AcqRel , AtomicReadOp :: Acquire ) ?,
932
932
#[ rustfmt:: skip]
933
- "atomic_cxchgweak_relaxed " =>
933
+ "atomic_cxchgweak_relaxed_relaxed " =>
934
934
this. atomic_compare_exchange_weak ( args, dest, AtomicRwOp :: Relaxed , AtomicReadOp :: Relaxed ) ?,
935
935
#[ rustfmt:: skip]
936
- "atomic_cxchgweak_acq_failrelaxed " =>
936
+ "atomic_cxchgweak_acquire_relaxed " =>
937
937
this. atomic_compare_exchange_weak ( args, dest, AtomicRwOp :: Acquire , AtomicReadOp :: Relaxed ) ?,
938
938
#[ rustfmt:: skip]
939
- "atomic_cxchgweak_acqrel_failrelaxed " =>
939
+ "atomic_cxchgweak_acqrel_relaxed " =>
940
940
this. atomic_compare_exchange_weak ( args, dest, AtomicRwOp :: AcqRel , AtomicReadOp :: Relaxed ) ?,
941
941
#[ rustfmt:: skip]
942
- "atomic_cxchgweak_failrelaxed " =>
942
+ "atomic_cxchgweak_seqcst_relaxed " =>
943
943
this. atomic_compare_exchange_weak ( args, dest, AtomicRwOp :: SeqCst , AtomicReadOp :: Relaxed ) ?,
944
944
#[ rustfmt:: skip]
945
- "atomic_cxchgweak_failacq " =>
945
+ "atomic_cxchgweak_seqcst_acquire " =>
946
946
this. atomic_compare_exchange_weak ( args, dest, AtomicRwOp :: SeqCst , AtomicReadOp :: Acquire ) ?,
947
947
948
948
#[ rustfmt:: skip]
949
- "atomic_or " =>
949
+ "atomic_or_seqcst " =>
950
950
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitOr , false ) , AtomicRwOp :: SeqCst ) ?,
951
951
#[ rustfmt:: skip]
952
- "atomic_or_acq " =>
952
+ "atomic_or_acquire " =>
953
953
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitOr , false ) , AtomicRwOp :: Acquire ) ?,
954
954
#[ rustfmt:: skip]
955
- "atomic_or_rel " =>
955
+ "atomic_or_release " =>
956
956
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitOr , false ) , AtomicRwOp :: Release ) ?,
957
957
#[ rustfmt:: skip]
958
958
"atomic_or_acqrel" =>
@@ -961,13 +961,13 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
961
961
"atomic_or_relaxed" =>
962
962
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitOr , false ) , AtomicRwOp :: Relaxed ) ?,
963
963
#[ rustfmt:: skip]
964
- "atomic_xor " =>
964
+ "atomic_xor_seqcst " =>
965
965
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitXor , false ) , AtomicRwOp :: SeqCst ) ?,
966
966
#[ rustfmt:: skip]
967
- "atomic_xor_acq " =>
967
+ "atomic_xor_acquire " =>
968
968
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitXor , false ) , AtomicRwOp :: Acquire ) ?,
969
969
#[ rustfmt:: skip]
970
- "atomic_xor_rel " =>
970
+ "atomic_xor_release " =>
971
971
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitXor , false ) , AtomicRwOp :: Release ) ?,
972
972
#[ rustfmt:: skip]
973
973
"atomic_xor_acqrel" =>
@@ -976,13 +976,13 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
976
976
"atomic_xor_relaxed" =>
977
977
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitXor , false ) , AtomicRwOp :: Relaxed ) ?,
978
978
#[ rustfmt:: skip]
979
- "atomic_and " =>
979
+ "atomic_and_seqcst " =>
980
980
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitAnd , false ) , AtomicRwOp :: SeqCst ) ?,
981
981
#[ rustfmt:: skip]
982
- "atomic_and_acq " =>
982
+ "atomic_and_acquire " =>
983
983
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitAnd , false ) , AtomicRwOp :: Acquire ) ?,
984
984
#[ rustfmt:: skip]
985
- "atomic_and_rel " =>
985
+ "atomic_and_release " =>
986
986
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitAnd , false ) , AtomicRwOp :: Release ) ?,
987
987
#[ rustfmt:: skip]
988
988
"atomic_and_acqrel" =>
@@ -991,13 +991,13 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
991
991
"atomic_and_relaxed" =>
992
992
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitAnd , false ) , AtomicRwOp :: Relaxed ) ?,
993
993
#[ rustfmt:: skip]
994
- "atomic_nand " =>
994
+ "atomic_nand_seqcst " =>
995
995
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitAnd , true ) , AtomicRwOp :: SeqCst ) ?,
996
996
#[ rustfmt:: skip]
997
- "atomic_nand_acq " =>
997
+ "atomic_nand_acquire " =>
998
998
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitAnd , true ) , AtomicRwOp :: Acquire ) ?,
999
999
#[ rustfmt:: skip]
1000
- "atomic_nand_rel " =>
1000
+ "atomic_nand_release " =>
1001
1001
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitAnd , true ) , AtomicRwOp :: Release ) ?,
1002
1002
#[ rustfmt:: skip]
1003
1003
"atomic_nand_acqrel" =>
@@ -1006,13 +1006,13 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
1006
1006
"atomic_nand_relaxed" =>
1007
1007
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: BitAnd , true ) , AtomicRwOp :: Relaxed ) ?,
1008
1008
#[ rustfmt:: skip]
1009
- "atomic_xadd " =>
1009
+ "atomic_xadd_seqcst " =>
1010
1010
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: Add , false ) , AtomicRwOp :: SeqCst ) ?,
1011
1011
#[ rustfmt:: skip]
1012
- "atomic_xadd_acq " =>
1012
+ "atomic_xadd_acquire " =>
1013
1013
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: Add , false ) , AtomicRwOp :: Acquire ) ?,
1014
1014
#[ rustfmt:: skip]
1015
- "atomic_xadd_rel " =>
1015
+ "atomic_xadd_release " =>
1016
1016
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: Add , false ) , AtomicRwOp :: Release ) ?,
1017
1017
#[ rustfmt:: skip]
1018
1018
"atomic_xadd_acqrel" =>
@@ -1021,42 +1021,42 @@ pub trait EvalContextExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx
1021
1021
"atomic_xadd_relaxed" =>
1022
1022
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: Add , false ) , AtomicRwOp :: Relaxed ) ?,
1023
1023
#[ rustfmt:: skip]
1024
- "atomic_xsub " =>
1024
+ "atomic_xsub_seqcst " =>
1025
1025
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: Sub , false ) , AtomicRwOp :: SeqCst ) ?,
1026
1026
#[ rustfmt:: skip]
1027
- "atomic_xsub_acq " =>
1027
+ "atomic_xsub_acquire " =>
1028
1028
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: Sub , false ) , AtomicRwOp :: Acquire ) ?,
1029
1029
#[ rustfmt:: skip]
1030
- "atomic_xsub_rel " =>
1030
+ "atomic_xsub_release " =>
1031
1031
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: Sub , false ) , AtomicRwOp :: Release ) ?,
1032
1032
#[ rustfmt:: skip]
1033
1033
"atomic_xsub_acqrel" =>
1034
1034
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: Sub , false ) , AtomicRwOp :: AcqRel ) ?,
1035
1035
#[ rustfmt:: skip]
1036
1036
"atomic_xsub_relaxed" =>
1037
1037
this. atomic_op ( args, dest, AtomicOp :: MirOp ( BinOp :: Sub , false ) , AtomicRwOp :: Relaxed ) ?,
1038
- "atomic_min " => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: SeqCst ) ?,
1039
- "atomic_min_acq " => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Acquire ) ?,
1040
- "atomic_min_rel " => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Release ) ?,
1038
+ "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 ) ?,
1041
1041
"atomic_min_acqrel" => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: AcqRel ) ?,
1042
1042
"atomic_min_relaxed" =>
1043
1043
this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Relaxed ) ?,
1044
- "atomic_max " => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: SeqCst ) ?,
1045
- "atomic_max_acq " => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Acquire ) ?,
1046
- "atomic_max_rel " => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Release ) ?,
1044
+ "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 ) ?,
1047
1047
"atomic_max_acqrel" => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: AcqRel ) ?,
1048
1048
"atomic_max_relaxed" =>
1049
1049
this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Relaxed ) ?,
1050
- "atomic_umin " => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: SeqCst ) ?,
1051
- "atomic_umin_acq " => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Acquire ) ?,
1052
- "atomic_umin_rel " => this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Release ) ?,
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 ) ?,
1053
1053
"atomic_umin_acqrel" =>
1054
1054
this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: AcqRel ) ?,
1055
1055
"atomic_umin_relaxed" =>
1056
1056
this. atomic_op ( args, dest, AtomicOp :: Min , AtomicRwOp :: Relaxed ) ?,
1057
- "atomic_umax " => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: SeqCst ) ?,
1058
- "atomic_umax_acq " => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Acquire ) ?,
1059
- "atomic_umax_rel " => this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: Release ) ?,
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 ) ?,
1060
1060
"atomic_umax_acqrel" =>
1061
1061
this. atomic_op ( args, dest, AtomicOp :: Max , AtomicRwOp :: AcqRel ) ?,
1062
1062
"atomic_umax_relaxed" =>
0 commit comments