brintos

brintos / llvm-project-archived public Read only

0
0
Text · 795 B · 8a87350 Raw
22 lines · plain
1; RUN: llc < %s -mtriple=i686-- -mattr=+mmx | FileCheck %s2; RUN: llc < %s -mtriple=i686-- -mattr=+mmx,-sse | FileCheck %s3 4; Test that turning off sse doesn't turn off mmx.5 6declare <1 x i64> @llvm.x86.mmx.pcmpgt.d(<1 x i64>, <1 x i64>) nounwind readnone7 8define i64 @test88(<1 x i64> %a, <1 x i64> %b) nounwind readnone {9; CHECK-LABEL: @test8810; CHECK: pcmpgtd11entry:12  %0 = bitcast <1 x i64> %b to <2 x i32>13  %1 = bitcast <1 x i64> %a to <2 x i32>14  %mmx_var.i = bitcast <2 x i32> %1 to <1 x i64>15  %mmx_var1.i = bitcast <2 x i32> %0 to <1 x i64>16  %2 = tail call <1 x i64> @llvm.x86.mmx.pcmpgt.d(<1 x i64> %mmx_var.i, <1 x i64> %mmx_var1.i) nounwind17  %3 = bitcast <1 x i64> %2 to <2 x i32>18  %4 = bitcast <2 x i32> %3 to <1 x i64>19  %5 = extractelement <1 x i64> %4, i32 020  ret i64 %521}22