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

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

Issue 1413473005: Add TST(register, immediate) to ARM32 integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix conflict when merging into master. 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 unified diff | Download patch
« no previous file with comments | « tests_lit/assembler/arm32/sdiv.ll ('k') | no next file » | 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 we know how to translate udiv 1 ; Show that we know how to translate udiv
2 2
3 ; NOTE: We use -O2 to get rid of memory stores. 3 ; NOTE: We use -O2 to get rid of memory stores.
4 4
5 ; REQUIRES: allow_dump 5 ; REQUIRES: allow_dump
6 6
7 ; Compile using standalone assembler. 7 ; Compile using standalone assembler.
8 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -O2 -mattr=hwdiv-arm \ 8 ; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -O2 -mattr=hwdiv-arm \
9 ; RUN: | FileCheck %s --check-prefix=ASM 9 ; RUN: | FileCheck %s --check-prefix=ASM
10 10
(...skipping 26 matching lines...) Expand all
37 37
38 ; DIS-LABEL:00000000 <UdivTwoRegs>: 38 ; DIS-LABEL:00000000 <UdivTwoRegs>:
39 ; DIS-NEXT: 0: e1110001 39 ; DIS-NEXT: 0: e1110001
40 ; DIS-NEXT: 4: 1a000000 40 ; DIS-NEXT: 4: 1a000000
41 ; DIS-NEXT: 8: e7fedef0 41 ; DIS-NEXT: 8: e7fedef0
42 ; DIS-NEXT: c: e730f110 42 ; DIS-NEXT: c: e730f110
43 ; DIS-NEXT: 10: e12fff1e 43 ; DIS-NEXT: 10: e12fff1e
44 44
45 ; IASM-LABEL:UdivTwoRegs: 45 ; IASM-LABEL:UdivTwoRegs:
46 ; IASM-NEXT:.LUdivTwoRegs$__0: 46 ; IASM-NEXT:.LUdivTwoRegs$__0:
47 ; IASM-NEXT: tst r1, r1 47
48 ; IASM-NEXT: .byte 0x1
49 ; IASM-NEXT: .byte 0x0
50 ; IASM-NEXT: .byte 0x11
51 ; IASM-NEXT: .byte 0xe1
52
48 ; IASM-NEXT: .byte 0x0 53 ; IASM-NEXT: .byte 0x0
49 ; IASM-NEXT: .byte 0x0 54 ; IASM-NEXT: .byte 0x0
50 ; IASM-NEXT: .byte 0x0 55 ; IASM-NEXT: .byte 0x0
51 ; IASM-NEXT: .byte 0x1a 56 ; IASM-NEXT: .byte 0x1a
57
52 ; IASM-NEXT: .long 0xe7fedef0 58 ; IASM-NEXT: .long 0xe7fedef0
53 ; IASM-NEXT:.LUdivTwoRegs$local$__0: 59 ; IASM-NEXT:.LUdivTwoRegs$local$__0:
54 ; IASM-NEXT: .byte 0x10 60 ; IASM-NEXT: .byte 0x10
55 ; IASM-NEXT: .byte 0xf1 61 ; IASM-NEXT: .byte 0xf1
56 ; IASM-NEXT: .byte 0x30 62 ; IASM-NEXT: .byte 0x30
57 ; IASM-NEXT: .byte 0xe7 63 ; IASM-NEXT: .byte 0xe7
64
58 ; IASM-NEXT: .byte 0x1e 65 ; IASM-NEXT: .byte 0x1e
59 ; IASM-NEXT: .byte 0xff 66 ; IASM-NEXT: .byte 0xff
60 ; IASM-NEXT: .byte 0x2f 67 ; IASM-NEXT: .byte 0x2f
61 ; IASM-NEXT: .byte 0xe1 68 ; IASM-NEXT: .byte 0xe1
OLDNEW
« 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