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

Side by Side Diff: tests_lit/assembler/mips32/encoding_trap.ll

Issue 2619943003: [SubZero] Fix code generation issues occurred in Cross-test and PNaCL smoke-tests (Closed)
Patch Set: Addressed review comments Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « tests_lit/assembler/mips32/encoding_test_fcmp.ll ('k') | tests_lit/llvm2ice_tests/alloc.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Test encoding of MIPS32 floating point arithmetic instructions 1 ; Test encoding of MIPS32 floating point arithmetic instructions
2 2
3 ; REQUIRES: allow_dump 3 ; REQUIRES: allow_dump
4 4
5 ; Compile using standalone assembler. 5 ; Compile using standalone assembler.
6 ; RUN: %p2i --filetype=asm -i %s --target=mips32 --args -O2 \ 6 ; RUN: %p2i --filetype=asm -i %s --target=mips32 --args -O2 \
7 ; RUN: --allow-externally-defined-symbols \ 7 ; RUN: --allow-externally-defined-symbols \
8 ; RUN: | FileCheck %s --check-prefix=ASM 8 ; RUN: | FileCheck %s --check-prefix=ASM
9 9
10 ; Show bytes in assembled standalone code. 10 ; Show bytes in assembled standalone code.
(...skipping 10 matching lines...) Expand all
21 ; RUN: %p2i --filetype=iasm -i %s --target=mips32 --assemble --disassemble \ 21 ; RUN: %p2i --filetype=iasm -i %s --target=mips32 --assemble --disassemble \
22 ; RUN: --args -O2 --allow-externally-defined-symbols \ 22 ; RUN: --args -O2 --allow-externally-defined-symbols \
23 ; RUN: | FileCheck %s --check-prefix=DIS 23 ; RUN: | FileCheck %s --check-prefix=DIS
24 24
25 define internal void @encTrap() { 25 define internal void @encTrap() {
26 unreachable 26 unreachable
27 } 27 }
28 28
29 ; ASM-LABEL: encTrap 29 ; ASM-LABEL: encTrap
30 ; ASM-NEXT: .LencTrap$__0: 30 ; ASM-NEXT: .LencTrap$__0:
31 ; ASM-NEXT: » teq» $zero, $zero, 0 31 ; ASM: »teq» $zero, $zero, 0
32 32
33 ; DIS-LABEL: 00000000 <encTrap>: 33 ; DIS-LABEL: 00000000 <encTrap>:
34 ; DIS-NEXT: 0: 00000034 teq zero,zero 34 ; DIS-NEXT: 0: 00000034 teq zero,zero
35 35
36 ; IASM-LABEL: encTrap: 36 ; IASM-LABEL: encTrap:
37 ; IASM-NEXT: .LencTrap$__0: 37 ; IASM-NEXT: .LencTrap$__0:
38 ; IASM-NEXT: .byte 0x34 38 ; IASM-NEXT: .byte 0x34
39 ; IASM-NEXT: .byte 0x0 39 ; IASM-NEXT: .byte 0x0
40 ; IASM-NEXT: .byte 0x0 40 ; IASM-NEXT: .byte 0x0
41 ; IASM-NEXT: .byte 0x0 41 ; IASM-NEXT: .byte 0x0
OLDNEW
« no previous file with comments | « tests_lit/assembler/mips32/encoding_test_fcmp.ll ('k') | tests_lit/llvm2ice_tests/alloc.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698