@@ -225,6 +225,28 @@ check!(vreg_f32x4, f32x4, vreg, "vmr");
225
225
#[ cfg( vsx) ]
226
226
check ! ( vreg_f64x2, f64x2, vreg, "vmr" ) ;
227
227
228
+ // powerpc_vsx-LABEL: vreg_f32:
229
+ // powerpc_vsx: #APP
230
+ // powerpc_vsx: vmr {{[0-9]+}}, {{[0-9]+}}
231
+ // powerpc_vsx: #NO_APP
232
+ // powerpc64_vsx-LABEL: vreg_f32:
233
+ // powerpc64_vsx: #APP
234
+ // powerpc64_vsx: vmr {{[0-9]+}}, {{[0-9]+}}
235
+ // powerpc64_vsx: #NO_APP
236
+ #[ cfg( vsx) ]
237
+ check ! ( vreg_f32, f32 , vreg, "vmr" ) ;
238
+
239
+ // powerpc_vsx-LABEL: vreg_f64:
240
+ // powerpc_vsx: #APP
241
+ // powerpc_vsx: vmr {{[0-9]+}}, {{[0-9]+}}
242
+ // powerpc_vsx: #NO_APP
243
+ // powerpc64_vsx-LABEL: vreg_f64:
244
+ // powerpc64_vsx: #APP
245
+ // powerpc64_vsx: vmr {{[0-9]+}}, {{[0-9]+}}
246
+ // powerpc64_vsx: #NO_APP
247
+ #[ cfg( vsx) ]
248
+ check ! ( vreg_f64, f64 , vreg, "vmr" ) ;
249
+
228
250
// CHECK-LABEL: reg_i8_r0:
229
251
// CHECK: #APP
230
252
// CHECK: mr 0, 0
@@ -365,6 +387,28 @@ check_reg!(vreg_f32x4_v0, f32x4, "0", "v0", "vmr");
365
387
#[ cfg( vsx) ]
366
388
check_reg ! ( vreg_f64x2_v0, f64x2, "0" , "v0" , "vmr" ) ;
367
389
390
+ // powerpc_vsx-LABEL: vreg_f32_v0:
391
+ // powerpc_vsx: #APP
392
+ // powerpc_vsx: vmr 0, 0
393
+ // powerpc_vsx: #NO_APP
394
+ // powerpc64_vsx-LABEL: vreg_f32_v0:
395
+ // powerpc64_vsx: #APP
396
+ // powerpc64_vsx: vmr 0, 0
397
+ // powerpc64_vsx: #NO_APP
398
+ #[ cfg( vsx) ]
399
+ check_reg ! ( vreg_f32_v0, f32 , "0" , "v0" , "vmr" ) ;
400
+
401
+ // powerpc_vsx-LABEL: vreg_f64_v0:
402
+ // powerpc_vsx: #APP
403
+ // powerpc_vsx: vmr 0, 0
404
+ // powerpc_vsx: #NO_APP
405
+ // powerpc64_vsx-LABEL: vreg_f64_v0:
406
+ // powerpc64_vsx: #APP
407
+ // powerpc64_vsx: vmr 0, 0
408
+ // powerpc64_vsx: #NO_APP
409
+ #[ cfg( vsx) ]
410
+ check_reg ! ( vreg_f64_v0, f64 , "0" , "v0" , "vmr" ) ;
411
+
368
412
// powerpc_altivec-LABEL: vreg_i8x16_v18:
369
413
// powerpc_altivec: #APP
370
414
// powerpc_altivec: vmr 18, 18
@@ -430,3 +474,25 @@ check_reg!(vreg_f32x4_v18, f32x4, "18", "v18", "vmr");
430
474
// powerpc64_vsx: #NO_APP
431
475
#[ cfg( vsx) ]
432
476
check_reg ! ( vreg_f64x2_v18, f64x2, "18" , "v18" , "vmr" ) ;
477
+
478
+ // powerpc_vsx-LABEL: vreg_f32_v18:
479
+ // powerpc_vsx: #APP
480
+ // powerpc_vsx: vmr 18, 18
481
+ // powerpc_vsx: #NO_APP
482
+ // powerpc64_vsx-LABEL: vreg_f32_v18:
483
+ // powerpc64_vsx: #APP
484
+ // powerpc64_vsx: vmr 18, 18
485
+ // powerpc64_vsx: #NO_APP
486
+ #[ cfg( vsx) ]
487
+ check_reg ! ( vreg_f32_v18, f32 , "18" , "v18" , "vmr" ) ;
488
+
489
+ // powerpc_vsx-LABEL: vreg_f64_v18:
490
+ // powerpc_vsx: #APP
491
+ // powerpc_vsx: vmr 18, 18
492
+ // powerpc_vsx: #NO_APP
493
+ // powerpc64_vsx-LABEL: vreg_f64_v18:
494
+ // powerpc64_vsx: #APP
495
+ // powerpc64_vsx: vmr 18, 18
496
+ // powerpc64_vsx: #NO_APP
497
+ #[ cfg( vsx) ]
498
+ check_reg ! ( vreg_f64_v18, f64 , "18" , "v18" , "vmr" ) ;
0 commit comments