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