• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=i686-- | FileCheck %s
3; PR3449
4
5define void @test(<8 x double>* %P, i64* %Q) nounwind {
6; CHECK-LABEL: test:
7; CHECK:       # %bb.0:
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)
14; CHECK-NEXT:    retl
15	%A = load <8 x double>, <8 x double>* %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, i64* %Q
20	ret void
21}
22