xref: /aosp_15_r20/external/llvm/test/MC/Mips/elf_eflags_micromips2.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - \
2# RUN:     | llvm-readobj -h | FileCheck %s
3
4# This *MUST* match the output of 'gcc -c' compiled with the same triple.
5# The microMIPS flag is not set if no microMIPS code was emitted.
6# CHECK: Flags [ (0x50001004)
7
8        nop
9        .set micromips
10        .set nomicromips
11        nop
12