summaryrefslogtreecommitdiffstats
path: root/test/MC/Mips/elf_eflags_micromips2.s
blob: d44cf7f37a721b5467de8c8ef5a3b28142ed726d (plain)
1
2
3
4
5
6
7
8
9
10
11
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - \
# RUN:     | llvm-readobj -h | FileCheck %s

# This *MUST* match the output of 'gcc -c' compiled with the same triple.
# The microMIPS flag is not set if no microMIPS code was emitted.
# CHECK: Flags [ (0x50001004)

        nop
        .set micromips
        .set nomicromips
        nop