repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git]
/
test
/
MC
/
Mips
/
set-softfloat-hardfloat.s
blob
ffb10f3ec58049b0f9bbc3b0312096c56ca26d02
1
# RUN: llvm-mc %s -triple=mips-unknown-linux -mcpu=mips32r2 -mattr=+soft-float | \
2
# RUN: FileCheck %s
3
4
.set hardfloat
5
add.
s $
f2
,
$
f2
,
$
f2
6
sub.
s $
f2
,
$
f2
,
$
f2
7
.set softfloat
8
9
# CHECK: .set hardfloat
10
# CHECK: add.s $f2, $f2, $f2
11
# CHECK: sub.s $f2, $f2, $f2
12
# CHECK: .set softfloat