• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=x86_64-linux   | FileCheck %s
2; RUN: llc < %s -mtriple=x86_64-win32   | FileCheck %s
3; RUN: llc < %s -march=x86 -mattr=-sse2 | FileCheck %s
4; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s
5
6; This test should use GPRs to copy the mmx value, not MMX regs.  Using mmx regs,
7; increases the places that need to use emms.
8; CHECK-NOT: %mm
9; CHECK-NOT: emms
10; rdar://5741668
11
12define void @foo(<1 x i64>* %x, <1 x i64>* %y) nounwind  {
13entry:
14	%tmp1 = load <1 x i64>, <1 x i64>* %y, align 8		; <<1 x i64>> [#uses=1]
15	store <1 x i64> %tmp1, <1 x i64>* %x, align 8
16	ret void
17}
18