repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PowerPC] Recommit r314244 with refactoring and off by default
[llvm-core.git]
/
test
/
CodeGen
/
X86
/
2012-01-18-vbitcast.ll
blob
647f15730c564a8a7b8bba02fdbb6fbb2ef14b67
1
; RUN: llc < %s -mcpu=corei7 -mtriple=x86_64-pc-win32 | FileCheck %s
2
3
;CHECK-LABEL: vcast:
4
define <2 x i32> @vcast(<2 x float> %a, <2 x float> %b) {
5
;CHECK: pmovzxdq
6
;CHECK: pmovzxdq
7
%af = bitcast <2 x float> %a to <2 x i32>
8
%bf = bitcast <2 x float> %b to <2 x i32>
9
%x = sub <2 x i32> %af, %bf
10
;CHECK: psubq
11
ret <2 x i32> %x
12
;CHECK: ret
13
}
14