File tree 1 file changed +11
-10
lines changed
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,17 @@ pub unsafe fn sym_static() {
96
96
asm ! ( "adr x0, {}" , sym extern_static) ;
97
97
}
98
98
99
+ // Regression test for #75761
100
+ // CHECK-LABEL: issue_75761:
101
+ // CHECK: str {{.*}}x30
102
+ // CHECK: //APP
103
+ // CHECK: //NO_APP
104
+ // CHECK: ldr {{.*}}x30
105
+ #[ no_mangle]
106
+ pub unsafe fn issue_75761 ( ) {
107
+ asm ! ( "" , out( "v0" ) _, out( "x30" ) _) ;
108
+ }
109
+
99
110
macro_rules! check {
100
111
( $func: ident $ty: ident $class: ident $mov: literal $modifier: literal) => {
101
112
#[ no_mangle]
@@ -553,13 +564,3 @@ check_reg!(v0_f32x4 f32x4 "s0" "fmov");
553
564
// CHECK: fmov s0, s0
554
565
// CHECK: //NO_APP
555
566
check_reg ! ( v0_f64x2 f64x2 "s0" "fmov" ) ;
556
-
557
- // Regression test for #75761
558
- // CHECK-LABEL: issue_75761:
559
- // CHECK: stp {{{.*}}}lr
560
- // CHECK: //APP
561
- // CHECK: //NO_APP
562
- // CHECK: ldp {{{.*}}}lr
563
- pub unsafe fn issue_75761 ( ) {
564
- asm ! ( "" , out( "v0" ) _, out( "x30" ) _) ;
565
- }
You can’t perform that action at this time.
0 commit comments