1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-- | FileCheck %s
5 define void @test(ptr %P, ptr %Q) nounwind {
8 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
9 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %ecx
10 ; CHECK-NEXT: movl 56(%ecx), %edx
11 ; CHECK-NEXT: movl 60(%ecx), %ecx
12 ; CHECK-NEXT: movl %ecx, 4(%eax)
13 ; CHECK-NEXT: movl %edx, (%eax)
15 %A = load <8 x double>, ptr %P ; <<8 x double>> [#uses=1]
16 %B = bitcast <8 x double> %A to i512 ; <i512> [#uses=1]
17 %C = lshr i512 %B, 448 ; <i512> [#uses=1]
18 %D = trunc i512 %C to i64 ; <i64> [#uses=1]
19 store volatile i64 %D, ptr %Q