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

Unified Diff: tests_lit/assembler/arm32/branch-simple.ll

Issue 1418313003: Handle branch relative to pc in ARM integrated 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
« no previous file with comments | « tests_lit/assembler/arm32/branch-mult-fwd.ll ('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-simple.ll
diff --git a/tests_lit/assembler/arm32/branch-simple.ll b/tests_lit/assembler/arm32/branch-simple.ll
index c782cc85e9ae668660073088c72b9847c89e28ab..fb4a645ae799d2118de2fbd48422713bbe26c0c2 100644
--- a/tests_lit/assembler/arm32/branch-simple.ll
+++ b/tests_lit/assembler/arm32/branch-simple.ll
@@ -1,6 +1,8 @@
; Test branching instructions.
; TODO(kschimpf): Get this working.
+; REQUIRES: allow_dump
+
; Compile using standalone assembler.
; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -Om1 \
; RUN: | FileCheck %s --check-prefix=ASM
@@ -17,8 +19,6 @@
; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \
; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS
-; REQUIRES: allow_dump
-
define internal void @simple_uncond_branch() {
; DIS-LABEL: 00000000 <simple_uncond_branch>:
; ASM-LABEL: simple_uncond_branch:
@@ -29,7 +29,10 @@ define internal void @simple_uncond_branch() {
br label %l2
; ASM-NEXT: b .Lsimple_uncond_branch$l2
-; IASM-NEXT: b .Lsimple_uncond_branch$l2
+; IASM-NEXT: .byte 0x0
+; IASM-NEXT: .byte 0x0
+; IASM-NEXT: .byte 0x0
+; IASM-NEXT: .byte 0xea
; DIS-NEXT: 0: ea000000
l1:
@@ -38,7 +41,10 @@ l1:
br label %l3
; ASM-NEXT: b .Lsimple_uncond_branch$l3
-; IASM-NEXT: b .Lsimple_uncond_branch$l3
+; IASM-NEXT: .byte 0x0
+; IASM-NEXT: .byte 0x0
+; IASM-NEXT: .byte 0x0
+; IASM-NEXT: .byte 0xea
; DIS-NEXT: 4: ea000000
l2:
@@ -47,7 +53,10 @@ l2:
br label %l1
; ASM-NEXT: b .Lsimple_uncond_branch$l1
-; IASM-NEXT: b .Lsimple_uncond_branch$l1
+; IASM-NEXT: .byte 0xfd
+; IASM-NEXT: .byte 0xff
+; IASM-NEXT: .byte 0xff
+; IASM-NEXT: .byte 0xea
; DIS-NEXT: 8: eafffffd
l3:
@@ -60,5 +69,6 @@ l3:
; IASM-NEXT: .byte 0xff
; IASM-NEXT: .byte 0x2f
; IASM-NEXT: .byte 0xe1
+; DIS-NEXT: c: e12fff1e
}
« no previous file with comments | « tests_lit/assembler/arm32/branch-mult-fwd.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698