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

Unified Diff: tests_lit/assembler/arm32/mul.ll

Issue 1747243003: Subzero. ARM32. Fixes bugs uncovered by the gcc torture tests. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceTargetLoweringARM32.cpp ('k') | tests_lit/llvm2ice_tests/nop-insertion.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/assembler/arm32/mul.ll
diff --git a/tests_lit/assembler/arm32/mul.ll b/tests_lit/assembler/arm32/mul.ll
index 0923376a7883e445be787c5b9cd90f3793c488dc..69e022b4434f52088e212fa0daf110d0c655c859 100644
--- a/tests_lit/assembler/arm32/mul.ll
+++ b/tests_lit/assembler/arm32/mul.ll
@@ -26,18 +26,12 @@ define internal i32 @MulTwoRegs(i32 %a, i32 %b) {
}
; ASM-LABEL:MulTwoRegs:
-; ASM-NEXT:.LMulTwoRegs$__0:
-; ASM-NEXT: mul r0, r0, r1
-
-; DIS-LABEL:00000000 <MulTwoRegs>:
-; DIS-NEXT: 0: e0000190
-
+; DIS-LABEL:<MulTwoRegs>:
; IASM-LABEL:MulTwoRegs:
-; IASM-NEXT:.LMulTwoRegs$__0:
-; IASM-NEXT: .byte 0x90
-; IASM-NEXT: .byte 0x1
-; IASM-NEXT: .byte 0x0
-; IASM-NEXT: .byte 0xe0
+
+; ASM: mul r0, r0, r1
+; DIS: e0000190
+; IASM-NOT: mul
define internal i64 @MulTwoI64Regs(i64 %a, i64 %b) {
%v = mul i64 %a, %b
@@ -45,52 +39,22 @@ define internal i64 @MulTwoI64Regs(i64 %a, i64 %b) {
}
; ASM-LABEL:MulTwoI64Regs:
-; ASM-NEXT:.LMulTwoI64Regs$__0:
-; ASM-NEXT: mul r3, r0, r3
+; DIS-LABEL:<MulTwoI64Regs>:
+; IASM-LABEL:MulTwoI64Regs:
+
+; ASM: mul r3, r0, r3
; ASM-NEXT: mla r1, r2, r1, r3
; ASM-NEXT: umull r0, r2, r0, r2
; ASM-NEXT: # r2 = def.pseudo r0
+; ASM-NEXT: # r0 = def.pseudo r2
; ASM-NEXT: add r2, r2, r1
-; ASM-NEXT: mov r1, r2
-; ASM-NEXT: bx lr
-
-
-; DIS-LABEL:00000010 <MulTwoI64Regs>:
-; DIS-NEXT: 10: e0030390
-; DIS-NEXT: 14: e0213192
-; DIS-NEXT: 18: e0820290
-; DIS-NEXT: 1c: e0822001
-; DIS-NEXT: 20: e1a01002
-; DIS-NEXT: 24: e12fff1e
-
-; IASM-LABEL:MulTwoI64Regs:
-; IASM-NEXT:.LMulTwoI64Regs$__0:
-; IASM-NEXT: .byte 0x90
-; IASM-NEXT: .byte 0x3
-; IASM-NEXT: .byte 0x3
-; IASM-NEXT: .byte 0xe0
-
-; IASM-NEXT: .byte 0x92
-; IASM-NEXT: .byte 0x31
-; IASM-NEXT: .byte 0x21
-; IASM-NEXT: .byte 0xe0
-
-; IASM-NEXT: .byte 0x90
-; IASM-NEXT: .byte 0x2
-; IASM-NEXT: .byte 0x82
-; IASM-NEXT: .byte 0xe0
-
-; IASM-NEXT: .byte 0x1
-; IASM-NEXT: .byte 0x20
-; IASM-NEXT: .byte 0x82
-; IASM-NEXT: .byte 0xe0
-; IASM-NEXT: .byte 0x2
-; IASM-NEXT: .byte 0x10
-; IASM-NEXT: .byte 0xa0
-; IASM-NEXT: .byte 0xe1
+; DIS: e0030390
+; DIS-NEXT: e0213192
+; DIS-NEXT: e0820290
+; DIS-NEXT: e0822001
-; IASM-NEXT: .byte 0x1e
-; IASM-NEXT: .byte 0xff
-; IASM-NEXT: .byte 0x2f
-; IASM-NEXT: .byte 0xe1
+; IASM-NOT: mul
+; IASM-NOT: mla
+; IASM-NOT: umull
+; IASM-NOT: add
« no previous file with comments | « src/IceTargetLoweringARM32.cpp ('k') | tests_lit/llvm2ice_tests/nop-insertion.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698