Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/X86/split-vector-rem.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 803732b1fca8 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
1 ; RUN: llc < %s -march=x86-64 | grep div | count 16 | |
2 ; RUN: llc < %s -march=x86-64 | grep fmodf | count 8 | |
3 | |
4 define <8 x i32> @foo(<8 x i32> %t, <8 x i32> %u) { | |
5 %m = srem <8 x i32> %t, %u | |
6 ret <8 x i32> %m | |
7 } | |
8 define <8 x i32> @bar(<8 x i32> %t, <8 x i32> %u) { | |
9 %m = urem <8 x i32> %t, %u | |
10 ret <8 x i32> %m | |
11 } | |
12 define <8 x float> @qux(<8 x float> %t, <8 x float> %u) { | |
13 %m = frem <8 x float> %t, %u | |
14 ret <8 x float> %m | |
15 } |