Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / Mips / mips1 / sd.s
blobdf737bceeb7cc878dcd6514e10ad975b2c7d4034
1 # RUN: llvm-mc -filetype=obj -triple mips -mcpu=mips1 %s -o - \
2 # RUN: | llvm-objdump --no-print-imm-hex -d - | FileCheck %s --check-prefix=MIPS1-EB
3 # RUN: llvm-mc -filetype=obj -triple mipsel -mcpu=mips1 %s -o - \
4 # RUN: | llvm-objdump --no-print-imm-hex -d - | FileCheck %s --check-prefix=MIPS1-EL
6 # Check if s.d instruction alias is suported on Mips1.
8 # MIPS1-EB: 0: e4 c1 00 00 swc1 $f1, 0($6)
9 # MIPS1-EB: 4: e4 c0 00 04 swc1 $f0, 4($6)
11 # MIPS1-EL: 0: 00 00 c0 e4 swc1 $f0, 0($6)
12 # MIPS1-EL: 4: 04 00 c1 e4 swc1 $f1, 4($6)
13 s.d $f0, 0($6)