Mercurial > hg > CbC > CbC_llvm
annotate test/MC/Mips/set-softfloat-hardfloat.s @ 95:afa8332a0e37 LLVM3.8
LLVM 3.8
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Oct 2015 17:48:58 +0900 |
parents | |
children |
rev | line source |
---|---|
95 | 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 |