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

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

Issue 1424923005: Add workaround to allow testing of ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 5 years, 1 month 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/sdiv.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/udiv.ll
diff --git a/tests_lit/assembler/arm32/udiv.ll b/tests_lit/assembler/arm32/udiv.ll
index 17dd6764f9630a7e70821e0ce31023e3e199f8e3..5f2828b7eb30803440a3013ba9c779dbd40a7170 100644
--- a/tests_lit/assembler/arm32/udiv.ll
+++ b/tests_lit/assembler/arm32/udiv.ll
@@ -14,11 +14,12 @@
; Compile using integrated assembler.
; RUN: %p2i --filetype=iasm -i %s --target=arm32 --args -O2 -mattr=hwdiv-arm \
-; RUN: | FileCheck %s --check-prefix=IASM
+; RUN: -unsafe-ias | FileCheck %s --check-prefix=IASM
; Show bytes in assembled integrated code.
; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \
-; RUN: --args -O2 -mattr=hwdiv-arm | FileCheck %s --check-prefix=DIS
+; RUN: --args -O2 -mattr=hwdiv-arm -unsafe-ias \
+; RUN: | FileCheck %s --check-prefix=DIS
define internal i32 @UdivTwoRegs(i32 %a, i32 %b) {
%v = udiv i32 %a, %b
@@ -49,6 +50,7 @@ define internal i32 @UdivTwoRegs(i32 %a, i32 %b) {
; IASM-NEXT: .byte 0x0
; IASM-NEXT: .byte 0x1a
; IASM-NEXT: .long 0xe7fedef0
+; IASM-NEXT:.LUdivTwoRegs$local$__0:
; IASM-NEXT: .byte 0x10
; IASM-NEXT: .byte 0xf1
; IASM-NEXT: .byte 0x30
« no previous file with comments | « tests_lit/assembler/arm32/sdiv.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698