Home | History | Annotate | Download | only in X86
      1 ;RUN: llc < %s -march=x86 -mcpu=yonah -mattr=+sse2,-sse4.1 | FileCheck %s
      2 
      3 ;CHECK: @max
      4 ;CHECK: cmplepd
      5 ;CHECK: ret
      6 
      7 define <2 x double> @max(<2 x double> %x, <2 x double> %y) {
      8    %max_is_x = fcmp oge <2 x double> %x, %y
      9    %max = select <2 x i1> %max_is_x, <2 x double> %x, <2 x double> %y
     10    ret <2 x double> %max
     11 }
     12 
     13