1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -verify-machineinstrs -ppc-asm-full-reg-names \
3 ; RUN: -mcpu=pwr9 -mtriple=powerpc64le-unknown-unknown < %s | FileCheck %s
5 define dso_local void @foo() {
7 ; CHECK: # %bb.0: # %entry
9 ; CHECK-NEXT: mfvsrd r0, vs33
12 ; CHECK-NEXT: mffprd r0, f3
15 ; CHECK-NEXT: mfvsrd r0, vs34
18 ; CHECK-NEXT: mfvsrwz r0, vs33
21 ; CHECK-NEXT: mffprwz r0, f3
24 ; CHECK-NEXT: mfvsrwz r0, vs34
27 ; CHECK-NEXT: mtvsrd vs33, r0
30 ; CHECK-NEXT: mtfprd f3, r0
33 ; CHECK-NEXT: mtvsrd vs34, r0
36 ; CHECK-NEXT: mtvsrwa vs33, r0
39 ; CHECK-NEXT: mtfprwa f3, r0
42 ; CHECK-NEXT: mtvsrwa vs34, r0
45 ; CHECK-NEXT: mtvsrwz vs33, r0
48 ; CHECK-NEXT: mtfprwz f3, r0
51 ; CHECK-NEXT: mtvsrwz vs34, r0
55 call void asm sideeffect "mfvsrd 0,33", ""()
56 call void asm sideeffect "mffprd 0,3", ""()
57 call void asm sideeffect "mfvrd 0,2", ""()
58 call void asm sideeffect "mfvsrwz 0,33", ""()
59 call void asm sideeffect "mffprwz 0,3", ""()
60 call void asm sideeffect "mfvrwz 0,2", ""()
61 call void asm sideeffect "mtvsrd 33,0", ""()
62 call void asm sideeffect "mtfprd 3,0", ""()
63 call void asm sideeffect "mtvrd 2,0", ""()
64 call void asm sideeffect "mtvsrwa 33,0", ""()
65 call void asm sideeffect "mtfprwa 3,0", ""()
66 call void asm sideeffect "mtvrwa 2,0", ""()
67 call void asm sideeffect "mtvsrwz 33,0", ""()
68 call void asm sideeffect "mtfprwz 3,0", ""()
69 call void asm sideeffect "mtvrwz 2,0", ""()