Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: tests_lit/assembler/arm32/popmult.ll

Issue 1745393002: Subzero. ARM32. Reverts cl 1687553002. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests_lit/assembler/arm32/call.ll ('k') | tests_lit/assembler/arm32/push-pop.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Show that pops are generated in reverse order of pushes. 1 ; Show that pops are generated in reverse order of pushes.
2 2
3 ; NOTE: Restricts to nonconsecutive S registers to force the generation of 3 ; NOTE: Restricts to nonconsecutive S registers to force the generation of
4 ; multiple vpush/vpop instructions. Also tests that we generate them in the 4 ; multiple vpush/vpop instructions. Also tests that we generate them in the
5 ; right order (the reverse of the corresponding push). Uses -O2 to keep all 5 ; right order (the reverse of the corresponding push). Uses -O2 to keep all
6 ; results in S registers. 6 ; results in S registers.
7 7
8 ; REQUIRES: allow_dump 8 ; REQUIRES: allow_dump
9 9
10 ; Compile using standalone assembler. 10 ; Compile using standalone assembler.
(...skipping 22 matching lines...) Expand all
33 33
34 define internal float @test2SPops(float %p1, float %p2) { 34 define internal float @test2SPops(float %p1, float %p2) {
35 ; ASM-LABEL: test2SPops: 35 ; ASM-LABEL: test2SPops:
36 ; DIS-LABEL: 00000000 <test2SPops>: 36 ; DIS-LABEL: 00000000 <test2SPops>:
37 ; IASM-LABEL: test2SPops: 37 ; IASM-LABEL: test2SPops:
38 38
39 ; ASM: vpush {s20} 39 ; ASM: vpush {s20}
40 ; ASM-NEXT: vpush {s22, s23} 40 ; ASM-NEXT: vpush {s22, s23}
41 ; ASM-NEXT: push {lr} 41 ; ASM-NEXT: push {lr}
42 42
43 ; DIS: {{.+}}: ed2daa01 43 ; DIS: 0: ed2daa01
44 ; DIS-NEXT: {{.+}}: ed2dba02 44 ; DIS-NEXT: 4: ed2dba02
45 ; DIS-NEXT: {{.+}}: e52de004 45 ; DIS-NEXT: 8: e52de004
46 46
47 ; IASM-NOT: vpush 47 ; IASM-NOT: vpush
48 ; IASM-NOT: push 48 ; IASM-NOT: push
49 49
50 %v1 = fadd float %p1, %p2 50 %v1 = fadd float %p1, %p2
51 %v2 = fsub float %p1, %p2 51 %v2 = fsub float %p1, %p2
52 %v3 = fsub float %p2, %p1 52 %v3 = fsub float %p2, %p1
53 call void @f() 53 call void @f()
54 %v4 = fadd float %v1, %v2 54 %v4 = fadd float %v1, %v2
55 %res = fadd float %v3, %v4 55 %res = fadd float %v3, %v4
56 56
57 ; ASM: pop {lr} 57 ; ASM: pop {lr}
58 ; ASM-NEXT: # lr = def.pseudo 58 ; ASM-NEXT: # lr = def.pseudo
59 ; ASM-NEXT: vpop {s22, s23} 59 ; ASM-NEXT: vpop {s22, s23}
60 ; ASM-NEXT: vpop {s20} 60 ; ASM-NEXT: vpop {s20}
61 61
62 ; DIS: {{.+}}: e49de004 62 ; DIS: 40: e49de004
63 ; DIS-NEXT: {{.+}}: ecbdba02 63 ; DIS-NEXT: 44: ecbdba02
64 ; DIS-NEXT: {{.+}}: ecbdaa01 64 ; DIS-NEXT: 48: ecbdaa01
65 65
66 ; IASM-NOT: pop 66 ; IASM-NOT: pop
67 ; IASM-NOT: vpop 67 ; IASM-NOT: vpop
68 68
69 ret float %res 69 ret float %res
70 } 70 }
OLDNEW
« no previous file with comments | « tests_lit/assembler/arm32/call.ll ('k') | tests_lit/assembler/arm32/push-pop.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698