OLD | NEW |
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 ; IASM-NEXT: .byte 0x1 | 48 ; IASM-NEXT: .byte 0x1 |
49 ; IASM-NEXT: .byte 0x0 | 49 ; IASM-NEXT: .byte 0x0 |
50 ; IASM-NEXT: .byte 0x11 | 50 ; IASM-NEXT: .byte 0x11 |
51 ; IASM-NEXT: .byte 0xe1 | 51 ; IASM-NEXT: .byte 0xe1 |
52 | 52 |
53 ; IASM-NEXT: .byte 0x0 | 53 ; IASM-NEXT: .byte 0x0 |
54 ; IASM-NEXT: .byte 0x0 | 54 ; IASM-NEXT: .byte 0x0 |
55 ; IASM-NEXT: .byte 0x0 | 55 ; IASM-NEXT: .byte 0x0 |
56 ; IASM-NEXT: .byte 0x1a | 56 ; IASM-NEXT: .byte 0x1a |
57 | 57 |
58 ; IASM-NEXT: .long 0xe7fedef0 | 58 ; IASM-NEXT: .byte 0xf0 |
| 59 ; IASM-NEXT: .byte 0xde |
| 60 ; IASM-NEXT: .byte 0xfe |
| 61 ; IASM-NEXT: .byte 0xe7 |
| 62 |
59 ; IASM-NEXT:.LUdivTwoRegs$local$__0: | 63 ; IASM-NEXT:.LUdivTwoRegs$local$__0: |
60 ; IASM-NEXT: .byte 0x10 | 64 ; IASM-NEXT: .byte 0x10 |
61 ; IASM-NEXT: .byte 0xf1 | 65 ; IASM-NEXT: .byte 0xf1 |
62 ; IASM-NEXT: .byte 0x30 | 66 ; IASM-NEXT: .byte 0x30 |
63 ; IASM-NEXT: .byte 0xe7 | 67 ; IASM-NEXT: .byte 0xe7 |
64 | 68 |
65 ; IASM-NEXT: .byte 0x1e | 69 ; IASM-NEXT: .byte 0x1e |
66 ; IASM-NEXT: .byte 0xff | 70 ; IASM-NEXT: .byte 0xff |
67 ; IASM-NEXT: .byte 0x2f | 71 ; IASM-NEXT: .byte 0x2f |
68 ; IASM-NEXT: .byte 0xe1 | 72 ; IASM-NEXT: .byte 0xe1 |
OLD | NEW |