1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/MC/Mips/set-softfloat-hardfloat.s

13 lines
291 B
ArmAsm
Raw Normal View History

# RUN: llvm-mc %s -triple=mips-unknown-linux -mcpu=mips32r2 -mattr=+soft-float | \
# RUN: FileCheck %s
.set hardfloat
add.s $f2, $f2, $f2
sub.s $f2, $f2, $f2
.set softfloat
# CHECK: .set hardfloat
# CHECK: add.s $f2, $f2, $f2
# CHECK: sub.s $f2, $f2, $f2
# CHECK: .set softfloat