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

Unified Diff: tests_lit/assembler/arm32/branch-mult-fwd.ll

Issue 1414483008: Add CMP(register) and CMP(Immediate) to ARM integerated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 5 years, 2 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
« src/IceAssemblerARM32.cpp ('K') | « src/IceInstARM32.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/assembler/arm32/branch-mult-fwd.ll
diff --git a/tests_lit/assembler/arm32/branch-mult-fwd.ll b/tests_lit/assembler/arm32/branch-mult-fwd.ll
index 13a931556ec84269752b68075eff4a1460ab4668..ed1432ae2a152c93a9a35a1304952481919ce93b 100644
--- a/tests_lit/assembler/arm32/branch-mult-fwd.ll
+++ b/tests_lit/assembler/arm32/branch-mult-fwd.ll
@@ -78,7 +78,11 @@ define internal void @mult_fwd_branches(i32 %a, i32 %b) {
; IASM-NEXT: .byte 0x9d
; IASM-NEXT: .byte 0xe5
-; IASM-NEXT: cmp r0, r2
+; IASM-NEXT: .byte 0x2
Jim Stichnoth 2015/10/30 21:41:11 Probably better if you untabify this file.
Karl 2015/10/30 22:06:56 Done.
+; IASM-NEXT: .byte 0x0
+; IASM-NEXT: .byte 0x50
+; IASM-NEXT: .byte 0xe1
+
; IASM-NEXT: movlt r1, #1
; IASM-NEXT: .byte 0x0
@@ -102,7 +106,11 @@ define internal void @mult_fwd_branches(i32 %a, i32 %b) {
; IASM-NEXT: ldr r0, [sp]
; IASM-NEXT: uxtb r0, r0
-; IASM-NEXT: cmp r0, #0
+
+; IASM-NEXT: .byte 0x0
+; IASM-NEXT: .byte 0x0
+; IASM-NEXT: .byte 0x50
+; IASM-NEXT: .byte 0xe3
; IASM-NEXT: .byte 0x0
; IASM-NEXT: .byte 0x0
« src/IceAssemblerARM32.cpp ('K') | « src/IceInstARM32.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698