2017-08-02 08:28:10 +08:00
|
|
|
; RUN: llc < %s -mtriple=i686-- | grep "mov.*56"
|
2009-01-31 23:50:11 +08:00
|
|
|
; PR3449
|
|
|
|
|
|
|
|
define void @test(<8 x double>* %P, i64* %Q) nounwind {
|
2015-02-28 05:17:42 +08:00
|
|
|
%A = load <8 x double>, <8 x double>* %P ; <<8 x double>> [#uses=1]
|
2009-01-31 23:50:11 +08:00
|
|
|
%B = bitcast <8 x double> %A to i512 ; <i512> [#uses=1]
|
|
|
|
%C = lshr i512 %B, 448 ; <i512> [#uses=1]
|
|
|
|
%D = trunc i512 %C to i64 ; <i64> [#uses=1]
|
2011-11-27 14:54:59 +08:00
|
|
|
store volatile i64 %D, i64* %Q
|
2009-01-31 23:50:11 +08:00
|
|
|
ret void
|
|
|
|
}
|