Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86-64 | grep div | count 16
      2 ; RUN: llc < %s -march=x86-64 | grep fmodf | count 8
      3 
      4 define <8 x i32> @foo(<8 x i32> %t, <8 x i32> %u) {
      5 	%m = srem <8 x i32> %t, %u
      6 	ret <8 x i32> %m
      7 }
      8 define <8 x i32> @bar(<8 x i32> %t, <8 x i32> %u) {
      9 	%m = urem <8 x i32> %t, %u
     10 	ret <8 x i32> %m
     11 }
     12 define <8 x float> @qux(<8 x float> %t, <8 x float> %u) {
     13 	%m = frem <8 x float> %t, %u
     14 	ret <8 x float> %m
     15 }
     16