[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / Mips / directive-ent.s
blob4271c046c0eefe511ab04c339b2e4d70ddddc576
1 # The effects of .ent on the .pdr section are tested in mips-pdr*.s. Test
2 # everything else here.
4 # RUN: llvm-mc -mcpu=mips32 -triple mips-unknown-unknown %s | \
5 # RUN: FileCheck -check-prefix=ASM %s
6 # RUN: llvm-mc -filetype=obj -mcpu=mips32 -triple mips-unknown-unknown %s | \
7 # RUN: llvm-readobj --symbols | \
8 # RUN: FileCheck -check-prefixes=OBJ,OBJ-32 %s
10 # RUN: llvm-mc -mcpu=mips32 -mattr=micromips -triple mips-unknown-unknown %s | \
11 # RUN: FileCheck -check-prefix=ASM %s
12 # RUN: llvm-mc -filetype=obj -mcpu=mips32 -mattr=micromips \
13 # RUN: -triple mips-unknown-unknown %s | \
14 # RUN: llvm-readobj --symbols | \
15 # RUN: FileCheck -check-prefixes=OBJ,OBJ-MM %s
17 .ent a
20 # ASM: .ent a
21 # ASM: a:
23 # OBJ: Name: a
24 # OBJ: Value: 0x0
25 # OBJ: Size: 0
26 # OBJ: Binding: Local
27 # OBJ: Type: Function
28 # OBJ: Other: 0
29 # OBJ: Section: .text
30 # OBJ: }
32 .ent b
34 nop
35 nop
36 .end b
38 # ASM: .ent b
39 # ASM: b:
41 # OBJ: Name: b
42 # OBJ: Value: 0x0
43 # OBJ-32: Size: 8
44 # FIXME: microMIPS uses the 4-byte nop instead of the 2-byte nop.
45 # OBJ-MM: Size: 8
46 # OBJ: Binding: Local
47 # OBJ: Type: Function
48 # OBJ: Other: 0
49 # OBJ: Section: .text
50 # OBJ: }