]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/MC/Mips/double-expand.s
Vendor import of llvm trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / MC / Mips / double-expand.s
1 # RUN: llvm-mc -triple=mipsel-unknown-linux < %s | FileCheck %s
2 # RUN: llvm-mc -triple=mipsel-unknown-linux < %s | \
3 # RUN:     llvm-mc -triple=mipsel-unknown-linux | FileCheck %s
4
5         .text
6 branch:
7         bnez $2, foo
8
9 # CHECK-LABEL: branch:
10 # CHECK:           bnez $2, foo
11 # CHECK:           nop
12 # CHECK-NOT:       nop
13
14 cprestore:
15         .option pic2
16         .cprestore 16
17         jal foo
18
19 # CHECK-LABEL: cprestore:
20 # CHECK:           .cprestore 16
21 # CHECK:           lw $25, %call16(foo)($gp)
22 # CHECK:           jalr $25
23 # CHECK:           nop
24 # CHECK:           lw $gp, 16($sp)
25 # CHECK-NOT:       nop
26 # CHECK-NOT:       lw