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

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

Issue 2350903002: Subzero, MIPS32: lowerUnreachable (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 3 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
OLDNEW
(Empty)
1 ; Test encoding of MIPS32 floating point arithmetic instructions
2
3 ; REQUIRES: allow_dump
4
5 ; Compile using standalone assembler.
6 ; RUN: %p2i --filetype=asm -i %s --target=mips32 --args -O2 \
7 ; RUN: --allow-externally-defined-symbols --skip-unimplemented \
8 ; RUN: | FileCheck %s --check-prefix=ASM
9
10 ; Show bytes in assembled standalone code.
11 ; RUN: %p2i --filetype=asm -i %s --target=mips32 --assemble --disassemble \
12 ; RUN: --args -O2 --allow-externally-defined-symbols --skip-unimplemented \
13 ; RUN: | FileCheck %s --check-prefix=DIS
14
15 ; Compile using integrated assembler.
16 ; RUN: %p2i --filetype=iasm -i %s --target=mips32 --args -O2 \
17 ; RUN: --allow-externally-defined-symbols --skip-unimplemented \
18 ; RUN: | FileCheck %s --check-prefix=IASM
19
20 ; Show bytes in assembled integrated code.
21 ; RUN: %p2i --filetype=iasm -i %s --target=mips32 --assemble --disassemble \
22 ; RUN: --args -O2 --allow-externally-defined-symbols --skip-unimplemented \
23 ; RUN: | FileCheck %s --check-prefix=DIS
24
25 define internal void @encTrap() {
26 unreachable
27 }
28
29 ; ASM-LABEL: encTrap
30 ; ASM-NEXT: .LencTrap$__0:
31 ; ASM-NEXT: teq $zero, $zero, 0
32
33 ; DIS-LABEL: 00000000 <encTrap>:
34 ; DIS-NEXT: 0: 00000034 teq zero,zero
35
36 ; IASM-LABEL: encTrap:
37 ; IASM-NEXT: .LencTrap$__0:
38 ; IASM-NEXT: .byte 0x34
39 ; IASM-NEXT: .byte 0x0
40 ; IASM-NEXT: .byte 0x0
41 ; IASM-NEXT: .byte 0x0
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698