[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / Mips / module-hardfloat.s
blobf29fbc09353c22215dcd4e598cf4da3bde540864
1 # RUN: llvm-mc %s -triple mips-unknown-linux-gnu | \
2 # RUN: FileCheck %s -check-prefix=CHECK-ASM
4 # RUN: llvm-mc %s -triple mips-unknown-linux-gnu -filetype=obj -o - | \
5 # RUN: llvm-readobj --mips-abi-flags - | \
6 # RUN: FileCheck %s -check-prefix=CHECK-OBJ
8 # CHECK-ASM: .module hardfloat
10 # Check if the MIPS.abiflags section was correctly emitted:
11 # CHECK-OBJ: MIPS ABI Flags {
12 # CHECK-OBJ: FP ABI: Hard float (32-bit CPU, Any FPU) (0x5)
13 # CHECK-OBJ: CPR1 size: 32
14 # CHECK-OBJ: Flags 1 [ (0x1)
15 # CHECK-OBJ: ODDSPREG (0x1)
16 # CHECK-OBJ: ]
17 # CHECK-OBJ: }
19 .module fp=xx
20 .module oddspreg
21 .module softfloat
22 .module hardfloat
24 # FIXME: Test should include gnu_attributes directive when implemented.
25 # An explicit .gnu_attribute must be checked against the effective
26 # command line options and any inconsistencies reported via a warning.