• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
4
5define dso_local void @foo()  {
6; CHECK-LABEL: foo:
7; CHECK:       # %bb.0: # %entry
8; CHECK-NEXT:    #APP
9; CHECK-NEXT:    mfvsrd r0, vs33
10; CHECK-NEXT:    #NO_APP
11; CHECK-NEXT:    #APP
12; CHECK-NEXT:    mffprd r0, f3
13; CHECK-NEXT:    #NO_APP
14; CHECK-NEXT:    #APP
15; CHECK-NEXT:    mfvsrd r0, vs34
16; CHECK-NEXT:    #NO_APP
17; CHECK-NEXT:    #APP
18; CHECK-NEXT:    mfvsrwz r0, vs33
19; CHECK-NEXT:    #NO_APP
20; CHECK-NEXT:    #APP
21; CHECK-NEXT:    mffprwz r0, f3
22; CHECK-NEXT:    #NO_APP
23; CHECK-NEXT:    #APP
24; CHECK-NEXT:    mfvsrwz r0, vs34
25; CHECK-NEXT:    #NO_APP
26; CHECK-NEXT:    #APP
27; CHECK-NEXT:    mtvsrd vs33, r0
28; CHECK-NEXT:    #NO_APP
29; CHECK-NEXT:    #APP
30; CHECK-NEXT:    mtfprd f3, r0
31; CHECK-NEXT:    #NO_APP
32; CHECK-NEXT:    #APP
33; CHECK-NEXT:    mtvsrd vs34, r0
34; CHECK-NEXT:    #NO_APP
35; CHECK-NEXT:    #APP
36; CHECK-NEXT:    mtvsrwa vs33, r0
37; CHECK-NEXT:    #NO_APP
38; CHECK-NEXT:    #APP
39; CHECK-NEXT:    mtfprwa f3, r0
40; CHECK-NEXT:    #NO_APP
41; CHECK-NEXT:    #APP
42; CHECK-NEXT:    mtvsrwa vs34, r0
43; CHECK-NEXT:    #NO_APP
44; CHECK-NEXT:    #APP
45; CHECK-NEXT:    mtvsrwz vs33, r0
46; CHECK-NEXT:    #NO_APP
47; CHECK-NEXT:    #APP
48; CHECK-NEXT:    mtfprwz f3, r0
49; CHECK-NEXT:    #NO_APP
50; CHECK-NEXT:    #APP
51; CHECK-NEXT:    mtvsrwz vs34, r0
52; CHECK-NEXT:    #NO_APP
53; CHECK-NEXT:    blr
54entry:
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", ""()
70  ret void
71}
72
73