mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
7a6df5b9ac
Summary: These directives are used to set the current value of the SoftFloat feature. Reviewers: dsanders Reviewed By: dsanders Subscribers: llvm-commits, mpf Differential Revision: http://reviews.llvm.org/D9074 llvm-svn: 238813
13 lines
291 B
ArmAsm
13 lines
291 B
ArmAsm
# 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
|