view test/MC/Mips/elf_eflags_micromips2.s @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 1172e4bd9c6f
children
line wrap: on
line source

# 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