@@ -451,11 +451,10 @@ define dso_local bfloat @atomicrmw_fsub_bfloat_aligned_monotonic(ptr %ptr, bfloa
451451; -O0-LABEL: atomicrmw_fsub_bfloat_aligned_monotonic:
452452; -O0: add w8, w8, w9
453453; -O0: add w8, w8, w9
454- ; -O0: ldaxrh w9 , [x11]
455- ; -O0: cmp w9, w8 , uxth
454+ ; -O0: ldaxrh w8 , [x11]
455+ ; -O0: cmp w8, w9 , uxth
456456; -O0: stlxrh w10, w12, [x11]
457- ; -O0: subs w8, w9, w8, uxth
458- ; -O0: subs w8, w8, #1
457+ ; -O0: subs w9, w8, w9, uxth
459458;
460459; -O1-LABEL: atomicrmw_fsub_bfloat_aligned_monotonic:
461460; -O1: ldxrh w9, [x0]
@@ -470,11 +469,10 @@ define dso_local bfloat @atomicrmw_fsub_bfloat_aligned_acquire(ptr %ptr, bfloat
470469; -O0-LABEL: atomicrmw_fsub_bfloat_aligned_acquire:
471470; -O0: add w8, w8, w9
472471; -O0: add w8, w8, w9
473- ; -O0: ldaxrh w9 , [x11]
474- ; -O0: cmp w9, w8 , uxth
472+ ; -O0: ldaxrh w8 , [x11]
473+ ; -O0: cmp w8, w9 , uxth
475474; -O0: stlxrh w10, w12, [x11]
476- ; -O0: subs w8, w9, w8, uxth
477- ; -O0: subs w8, w8, #1
475+ ; -O0: subs w9, w8, w9, uxth
478476;
479477; -O1-LABEL: atomicrmw_fsub_bfloat_aligned_acquire:
480478; -O1: ldaxrh w9, [x0]
@@ -489,11 +487,10 @@ define dso_local bfloat @atomicrmw_fsub_bfloat_aligned_release(ptr %ptr, bfloat
489487; -O0-LABEL: atomicrmw_fsub_bfloat_aligned_release:
490488; -O0: add w8, w8, w9
491489; -O0: add w8, w8, w9
492- ; -O0: ldaxrh w9 , [x11]
493- ; -O0: cmp w9, w8 , uxth
490+ ; -O0: ldaxrh w8 , [x11]
491+ ; -O0: cmp w8, w9 , uxth
494492; -O0: stlxrh w10, w12, [x11]
495- ; -O0: subs w8, w9, w8, uxth
496- ; -O0: subs w8, w8, #1
493+ ; -O0: subs w9, w8, w9, uxth
497494;
498495; -O1-LABEL: atomicrmw_fsub_bfloat_aligned_release:
499496; -O1: ldxrh w9, [x0]
@@ -508,11 +505,10 @@ define dso_local bfloat @atomicrmw_fsub_bfloat_aligned_acq_rel(ptr %ptr, bfloat
508505; -O0-LABEL: atomicrmw_fsub_bfloat_aligned_acq_rel:
509506; -O0: add w8, w8, w9
510507; -O0: add w8, w8, w9
511- ; -O0: ldaxrh w9 , [x11]
512- ; -O0: cmp w9, w8 , uxth
508+ ; -O0: ldaxrh w8 , [x11]
509+ ; -O0: cmp w8, w9 , uxth
513510; -O0: stlxrh w10, w12, [x11]
514- ; -O0: subs w8, w9, w8, uxth
515- ; -O0: subs w8, w8, #1
511+ ; -O0: subs w9, w8, w9, uxth
516512;
517513; -O1-LABEL: atomicrmw_fsub_bfloat_aligned_acq_rel:
518514; -O1: ldaxrh w9, [x0]
@@ -527,11 +523,10 @@ define dso_local bfloat @atomicrmw_fsub_bfloat_aligned_seq_cst(ptr %ptr, bfloat
527523; -O0-LABEL: atomicrmw_fsub_bfloat_aligned_seq_cst:
528524; -O0: add w8, w8, w9
529525; -O0: add w8, w8, w9
530- ; -O0: ldaxrh w9 , [x11]
531- ; -O0: cmp w9, w8 , uxth
526+ ; -O0: ldaxrh w8 , [x11]
527+ ; -O0: cmp w8, w9 , uxth
532528; -O0: stlxrh w10, w12, [x11]
533- ; -O0: subs w8, w9, w8, uxth
534- ; -O0: subs w8, w8, #1
529+ ; -O0: subs w9, w8, w9, uxth
535530;
536531; -O1-LABEL: atomicrmw_fsub_bfloat_aligned_seq_cst:
537532; -O1: ldaxrh w9, [x0]
0 commit comments