1; RUN: llc -march=hexagon < %s | FileCheck %s 2 3; CHECK-LABEL: df_min_olt: 4; CHECK: dfmin 5define double @df_min_olt(double %x, double %y) #0 { 6 %t = fcmp olt double %x, %y 7 %u = select i1 %t, double %x, double %y 8 ret double %u 9} 10 11; CHECK-LABEL: df_min_ole: 12; CHECK: dfmin 13define double @df_min_ole(double %x, double %y) #0 { 14 %t = fcmp ole double %x, %y 15 %u = select i1 %t, double %x, double %y 16 ret double %u 17} 18 19; CHECK-LABEL: df_max_ogt: 20; CHECK: dfmax 21define double @df_max_ogt(double %x, double %y) #0 { 22 %t = fcmp ogt double %x, %y 23 %u = select i1 %t, double %x, double %y 24 ret double %u 25} 26 27; CHECK-LABEL: df_max_oge: 28; CHECK: dfmax 29define double @df_max_oge(double %x, double %y) #0 { 30 %t = fcmp oge double %x, %y 31 %u = select i1 %t, double %x, double %y 32 ret double %u 33} 34 35; CHECK-LABEL: df_max_olt: 36; CHECK: dfmax 37define double @df_max_olt(double %x, double %y) #0 { 38 %t = fcmp olt double %x, %y 39 %u = select i1 %t, double %y, double %x 40 ret double %u 41} 42 43; CHECK-LABEL: df_max_ole: 44; CHECK: dfmax 45define double @df_max_ole(double %x, double %y) #0 { 46 %t = fcmp ole double %x, %y 47 %u = select i1 %t, double %y, double %x 48 ret double %u 49} 50 51; CHECK-LABEL: df_min_ogt: 52; CHECK: dfmin 53define double @df_min_ogt(double %x, double %y) #0 { 54 %t = fcmp ogt double %x, %y 55 %u = select i1 %t, double %y, double %x 56 ret double %u 57} 58 59; CHECK-LABEL: df_min_oge: 60; CHECK: dfmin 61define double @df_min_oge(double %x, double %y) #0 { 62 %t = fcmp oge double %x, %y 63 %u = select i1 %t, double %y, double %x 64 ret double %u 65} 66 67attributes #0 = { nounwind "target-cpu"="hexagonv67" } 68